run-ideal-sim.sh