Describe the process of optimizing mechanical system performance through a combination of simulation, testing, and real-time data analysis.