Co-Simulation of Real-time and Offline Power System Simulators