Calculation of power losses in induction motor cooperating with voltage inverter