Controlling a Black-Box Simulation of a Spacecraft