Index analysis of differential-alebraic circuit models