Challenges in integrating commercial off-the-shelf (COTS) software into a real-time simulation environment