int totalTime = 0; // sum of all the totalTimes.
for (int seed = 0; seed < experiments; seed++) {
int testSeqTime = 0;
int lastTime = 0; // the time after the last transition
metric.clear();
tester.reset();
tester.setRandom(new Random(seed));
int count = 0;
while (metric.getPercentage() < 100.0) {
tester.generate(1);
if (model.getTime() > lastTime) {