Optimization of complex systems for simulation modeling