Parallel-in-time optimization of induction motors