Real–time Simulation of a COGAG Naval Ship propulsion System