powertac/powertac-server — Issue #494: Simulation does not appear to end when it should
Author: jecollins
Created: 2012-02-21 22:49:17+00:00
State: open
Labels: Bug, Competition Control

I ran a sim today and let it finish. It finished with an array-index exception in household-customer, but it seemed to be beyond what should have been the end.

At the beginning, we see in the trace:

```
32930 INFO server.CompetitionControlService: game-length 1404(k=4.553677706201126, roll=0.10635100099010775)
33014 INFO server.CompetitionControlService: Wait for tick 0
```

and then much later timeslot 1404 comes along

```
7434424 INFO server.CompetitionControlService: Elapsed time: 3106
7434424 INFO server.CompetitionControlService: Wait for tick 1404
```

and 1405 and 1406 etc. The last tick is 1417, at which point the exception occurred.