// Model execution commands resetmodel(); runspeed(10); stoptime(3000); fastforward(); go(); step(); skip(); // in case of debuging an error that takes place at a specific time: stoptime(300); // change 300 to the exception time runfunction(1); // will execute the model untill reacing first stoptime defined. for(int i = 1; i <= 5; i++) { msg("for loop","Hi there " + i + " !", 1); }