Created simulator to generate traces taking failures into consideration.