Harmonic effects on induction and line start permanent magnet machines