Cosimulation environment