complete event-driven-simulation