Simulator has `trange` method.