Use "simulation" global in macros.