Analysis and development of detailed inverter-fed induction machine equivalent circuits from standstill frequency response and on-line harmonic impedance measurements