A High-Fidelity Real-Time Simulation Code of Gas Turbine Dynamics for Control Applications