Hybrid and parallel-computing methods for optimization of power systems with electromagnetic transient simulators