Train 16 was added to the track given photocells: 15 and 7 and turnouts: 2 Train Id: 16 allocated photocell 2 in the yellow list. Train id: 16 BlockedStatus: Active Name: Train16 PChas: 15 Blocking PC: -1 TrackDir: CC PCnext: 7 Blocking TO: -1 TrainDir: Forward OldPChas: -1 Blocking Instr: 1 Headlight: Off LastPC covered: -1 CurSpeed: 6 TailLight: Off TOhas: 2 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 0 DepartedPC: 15 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 16 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=7 Next Instruction - Train Id: 16 Pc: 2 Turnout: -1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=15 Train 16 deallocating resources Train 16 deallocated photocell: 15 and turnout: 2 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 15 Blocking PC: -1 TrackDir: CC PCnext: 7 Blocking TO: -1 TrainDir: Forward OldPChas: -1 Blocking Instr: 0 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: 2 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 15 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=15 Train Id: 16 deallocated photocell 2 in the yellow list. Train Id: 16 allocated photocell 0 in the yellow list. Train Id: 16 allocated photocell 1 in the yellow list. Train 16 was allocated photocells: 7 and 2 and turnouts: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 7 Blocking PC: -1 TrackDir: CC PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 15 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 16 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 16 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Train 32 was added to the track given photocells: 13 and 8 and turnouts: 4 Train Id: 32 allocated photocell 0 in the yellow list. Train id: 32 BlockedStatus: Active Name: Train32 PChas: 13 Blocking PC: -1 TrackDir: CW PCnext: 8 Blocking TO: -1 TrainDir: Forward OldPChas: -1 Blocking Instr: 1 Headlight: Off LastPC covered: -1 CurSpeed: 6 TailLight: Off TOhas: 4 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 0 DepartedPC: 13 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 16 0 0 0 0 16 32 0 0 0 0 32 0 0 TurnoutMgr : 0 0 0 0 32 0 0 Photocell Number of Train Id(s) Trains 0 2 16 32 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=2 Next Instruction - Train Id: 16 Pc: 1 Turnout: 1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=7 Train 16 deallocating resources Train 16 deallocated photocell: 7 and turnout: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 7 Blocking PC: -1 TrackDir: CC PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 16 0 0 0 0 0 32 0 0 0 0 32 0 0 TurnoutMgr : 0 0 0 0 32 0 0 Photocell Number of Train Id(s) Trains 0 2 16 32 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=7 Train Id: 16 deallocated photocell 0 in the yellow list. Train Id: 16 releasing blocked trains at photocell 0. Train Id: 16 deallocated photocell 1 in the yellow list. Train Id: 16 allocated photocell 3 in the yellow list. Train 16 was allocated photocells: 2 and 1 and turnouts: 1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 2 Blocking PC: -1 TrackDir: CC PCnext: 1 Blocking TO: -1 TrainDir: Forward OldPChas: 7 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 16 16 0 0 0 0 0 32 0 0 0 0 32 0 0 TurnoutMgr : 0 16 0 0 32 0 0 Photocell Number of Train Id(s) Trains 0 1 32 1 0 2 0 3 1 16 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=8 Next Instruction - Train Id: 32 Pc: 0 Turnout: -1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=13 Train 32 deallocating resources Train 32 deallocated photocell: 13 and turnout: 4 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 13 Blocking PC: -1 TrackDir: CW PCnext: 8 Blocking TO: -1 TrainDir: Forward OldPChas: -1 Blocking Instr: 0 Headlight: Off LastPC covered: 8 CurSpeed: 4 TailLight: Off TOhas: 4 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 13 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 16 16 0 0 0 0 0 32 0 0 0 0 0 0 0 TurnoutMgr : 0 16 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 32 1 0 2 0 3 1 16 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=13 Train Id: 32 deallocated photocell 0 in the yellow list. Train Id: 32 allocated photocell 2 in the yellow list. Train 32 was allocated photocells: 8 and 0 and turnouts: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 8 Blocking PC: -1 TrackDir: CW PCnext: 0 Blocking TO: -1 TrainDir: Forward OldPChas: 13 Blocking Instr: 1 Headlight: Off LastPC covered: 8 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 4 Last speed: 4 DepartedPC: 13 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 16 0 0 0 0 0 32 0 0 0 0 0 0 0 TurnoutMgr : 0 16 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 32 3 1 16 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=1 Next Instruction - Train Id: 16 Pc: 3 Turnout: 0 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=2 Train 16 deallocating resources Train 16 deallocated photocell: 2 and turnout: 1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 2 Blocking PC: -1 TrackDir: CC PCnext: 1 Blocking TO: -1 TrainDir: Forward OldPChas: 7 Blocking Instr: 0 Headlight: Off LastPC covered: 1 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 0 0 0 0 0 0 32 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 32 3 1 16 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=2 Train Id: 16 deallocated photocell 3 in the yellow list. Train Id: 16 allocated photocell 9 in the yellow list. Train 16 was allocated photocells: 1 and 3 and turnouts: 0 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 1 Blocking PC: -1 TrackDir: CC PCnext: 3 Blocking TO: -1 TrainDir: Forward OldPChas: 2 Blocking Instr: 1 Headlight: Off LastPC covered: 1 CurSpeed: 4 TailLight: Off TOhas: 0 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 0 16 0 0 0 0 32 0 0 0 0 0 0 0 TurnoutMgr : 16 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 32 3 0 4 0 5 0 6 0 7 0 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=0 Next Instruction - Train Id: 32 Pc: 2 Turnout: 1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=8 Train 32 deallocating resources Train 32 deallocated photocell: 8 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 8 Blocking PC: -1 TrackDir: CW PCnext: 0 Blocking TO: -1 TrainDir: Forward OldPChas: 13 Blocking Instr: 0 Headlight: Off LastPC covered: 0 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 4 Last speed: 4 DepartedPC: 8 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 0 16 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 16 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 32 3 0 4 0 5 0 6 0 7 0 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=8 Train Id: 32 deallocated photocell 2 in the yellow list. Train Id: 32 allocated photocell 7 in the yellow list. Train 32 was allocated photocells: 0 and 2 and turnouts: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: -1 TrackDir: CW PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 8 Blocking Instr: 1 Headlight: Off LastPC covered: 0 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 8 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 32 16 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 16 32 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 32 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=2 Next Instruction - Train Id: 32 Pc: 7 Turnout: -1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=0 Train 32 deallocating resources Train 32 deallocated photocell: 0 and turnout: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: -1 TrackDir: CW PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 8 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 0 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 16 32 16 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 16 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 32 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=0 Train Id: 32 deallocated photocell 7 in the yellow list. Train Id: 32 allocated photocell 15 in the yellow list. Train 32 was allocated photocells: 2 and 7 and turnouts: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: -1 TrackDir: CW PCnext: 7 Blocking TO: -1 TrainDir: Forward OldPChas: 0 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 0 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 16 32 16 0 0 0 32 0 0 0 0 0 0 0 0 TurnoutMgr : 16 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 1 32 HandleArrival: PC=3 Next Instruction - Train Id: 16 Pc: 9 Turnout: -1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=1 Train 16 deallocating resources Train 16 deallocated photocell: 1 and turnout: 0 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 1 Blocking PC: -1 TrackDir: CC PCnext: 3 Blocking TO: -1 TrainDir: Forward OldPChas: 2 Blocking Instr: 0 Headlight: Off LastPC covered: 3 CurSpeed: 4 TailLight: Off TOhas: 0 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 1 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 16 0 0 0 32 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 1 32 Completed HandleDeparture: PC=1 Train Id: 16 deallocated photocell 9 in the yellow list. Train Id: 16 allocated photocell 13 in the yellow list. Train 16 was allocated photocells: 3 and 9 and turnouts: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 3 Blocking PC: -1 TrackDir: CC PCnext: 9 Blocking TO: -1 TrainDir: Forward OldPChas: 1 Blocking Instr: 1 Headlight: Off LastPC covered: 3 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 0 Last speed: 4 DepartedPC: 1 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 16 0 0 0 32 0 16 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 1 16 14 0 15 1 32 HandleArrival: PC=9 Next Instruction - Train Id: 16 Pc: 13 Turnout: 4 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=3 Train 16 deallocating resources Train 16 deallocated photocell: 3 and turnout: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 3 Blocking PC: -1 TrackDir: CC PCnext: 9 Blocking TO: -1 TrainDir: Forward OldPChas: 1 Blocking Instr: 0 Headlight: Off LastPC covered: 9 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 0 Last speed: 4 DepartedPC: 3 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 32 0 16 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 1 16 14 0 15 1 32 Completed HandleDeparture: PC=3 Train Id: 16 deallocated photocell 13 in the yellow list. Train Id: 16 allocated photocell 15 in the yellow list. Train 16 was allocated photocells: 9 and 13 and turnouts: 4 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 9 Blocking PC: -1 TrackDir: CC PCnext: 13 Blocking TO: -1 TrainDir: Forward OldPChas: 3 Blocking Instr: 1 Headlight: Off LastPC covered: 9 CurSpeed: 4 TailLight: Off TOhas: 4 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 3 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 32 0 16 0 0 0 16 0 0 TurnoutMgr : 0 0 0 0 16 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 2 32 16 HandleArrival: PC=7 Next Instruction - Train Id: 32 Pc: 15 Turnout: 2 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=2 Train 32 deallocating resources Train 32 deallocated photocell: 2 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: -1 TrackDir: CW PCnext: 7 Blocking TO: -1 TrainDir: Forward OldPChas: 0 Blocking Instr: 0 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 16 0 0 0 16 0 0 TurnoutMgr : 0 0 0 0 16 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 2 32 16 Completed HandleDeparture: PC=2Train 32 reached an UNSAFE state on the track. Photocell 15 and Turnout 2 were NOT allocated. Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 15 TrackDir: CW PCnext: 7 Blocking TO: 2 TrainDir: Forward OldPChas: 0 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 0 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Train 32 was added to the blocked list Train Id: 32 deallocated photocell 15 in the yellow list. CHECKING FOR DEADLOCK... Array of Blocked trains - Photocell Train Id Blocking Has Photocell 0 -1 -1 1 -1 -1 2 -1 -1 3 -1 -1 4 -1 -1 5 -1 -1 6 -1 -1 7 32 15 8 -1 -1 9 -1 -1 10 -1 -1 11 -1 -1 12 -1 -1 13 -1 -1 14 -1 -1 15 -1 -1 DEADLOCK was NOT detected! Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 1 16 HandleArrival: PC=13 Next Instruction - Train Id: 16 Pc: 15 Turnout: 3 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=9 Train 16 deallocating resources Train 16 deallocated photocell: 9 and turnout: 4 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 9 Blocking PC: -1 TrackDir: CC PCnext: 13 Blocking TO: -1 TrainDir: Forward OldPChas: 3 Blocking Instr: 0 Headlight: Off LastPC covered: 13 CurSpeed: 4 TailLight: Off TOhas: 4 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 9 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 0 0 0 0 16 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 1 16 Completed HandleDeparture: PC=9 Train Id: 16 deallocated photocell 15 in the yellow list. Train Id: 16 allocated photocell 7 in the yellow list. Train Id: 16 allocated photocell 12 in the yellow list. Train 16 was allocated photocells: 13 and 15 and turnouts: 3 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 13 Blocking PC: -1 TrackDir: CC PCnext: 15 Blocking TO: -1 TrainDir: Forward OldPChas: 9 Blocking Instr: 1 Headlight: Off LastPC covered: 13 CurSpeed: 4 TailLight: Off TOhas: 3 MaxSpeed: 16 Mode: Batch OldTOhas: 4 Last speed: 4 DepartedPC: 9 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 0 0 0 0 16 0 16 TurnoutMgr : 0 0 0 16 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 16 8 0 9 0 10 0 11 0 12 1 16 13 0 14 0 15 0 HandleArrival: PC=15 Next Instruction - Train Id: 16 Pc: 7 Turnout: 2 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=13 Train 16 deallocating resources Train 16 deallocated photocell: 13 and turnout: 3 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 13 Blocking PC: -1 TrackDir: CC PCnext: 15 Blocking TO: -1 TrainDir: Forward OldPChas: 9 Blocking Instr: 0 Headlight: Off LastPC covered: 15 CurSpeed: 4 TailLight: Off TOhas: 3 MaxSpeed: 16 Mode: Batch OldTOhas: 4 Last speed: 4 DepartedPC: 13 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 16 8 0 9 0 10 0 11 0 12 1 16 13 0 14 0 15 0 Completed HandleDeparture: PC=13Train 16 couldn't be allocated photocell:7 and turnout 2 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 13 Blocking PC: 7 TrackDir: CC PCnext: 15 Blocking TO: 2 TrainDir: Forward OldPChas: 9 Blocking Instr: 1 Headlight: Off LastPC covered: 15 CurSpeed: 0 TailLight: Off TOhas: 3 MaxSpeed: 16 Mode: Batch OldTOhas: 4 Last speed: 4 DepartedPC: 13 Train 16 was added to the blocked list Train Id: 16 deallocated photocell 7 in the yellow list. Train Id: 16 deallocated photocell 12 in the yellow list. CHECKING FOR DEADLOCK... Array of Blocked trains - Photocell Train Id Blocking Has Photocell 0 -1 -1 1 -1 -1 2 -1 -1 3 -1 -1 4 -1 -1 5 -1 -1 6 -1 -1 7 32 15 8 -1 -1 9 -1 -1 10 -1 -1 11 -1 -1 12 -1 -1 13 -1 -1 14 -1 -1 15 16 7 DEADLOCK was detected! Attempting to recover from deadlock... Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 15 TrackDir: CW PCnext: 7 Blocking TO: 2 TrainDir: Forward OldPChas: 0 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 0 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Train 32 is covering pc 7 Next Instruction - Train Id: 32 Pc: 2 Turnout: -1 Instr: Speed 4 Train 32 was moved to active train list HandleDeparture: PC=2 Train 32 deallocating resources Train 32 deallocated photocell: 2 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 15 TrackDir: CW PCnext: 7 Blocking TO: 2 TrainDir: Forward OldPChas: 0 Blocking Instr: 0 Headlight: Off LastPC covered: 7 CurSpeed: 0 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=2 Train 32 has changed directions. Train Id: 32 allocated photocell 0 in the yellow list. Train Id: 32 allocated photocell 1 in the yellow list. Train 32 speed changed--all propertys follow Train 32 was allocated photocells: 7 and 2 and turnouts: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 7 Blocking PC: 15 TrackDir: CC PCnext: 2 Blocking TO: 2 TrainDir: Reverse OldPChas: 15 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 32 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 32 1 1 32 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 ...End Deadlock Recovery Photocell Number of Train Id(s) Trains 0 1 32 1 1 32 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=2 Next Instruction - Train Id: 32 Pc: 7 Turnout: 1 Instr: Speed 4 Train 32 speed changed--all propertys follow Train Id: 32 deallocated photocell 0 in the yellow list. Train Id: 32 has released blocked trains at pc 0 Train Id: 32 deallocated photocell 1 in the yellow list. Train Id: 32 has released blocked trains at pc 1 HandleDeparture: PC=7 Train 32 deallocating resources Train 16 was moved to active train list HandleArrival: PC=15 Next Instruction - Train Id: 16 Pc: 7 Turnout: 2 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=13 Train 16 deallocating resources Train 16 deallocated photocell: 13 and turnout: 3 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 13 Blocking PC: 7 TrackDir: CC PCnext: 15 Blocking TO: 2 TrainDir: Forward OldPChas: 9 Blocking Instr: 0 Headlight: Off LastPC covered: 15 CurSpeed: 4 TailLight: Off TOhas: 3 MaxSpeed: 16 Mode: Batch OldTOhas: 4 Last speed: 4 DepartedPC: 13 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 PCManager : 0 0 32 0 0 0 0 0 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=13 Train Id: 16 allocated photocell 2 in the yellow list. Train 16 was allocated photocells: 15 and 7 and turnouts: 2 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 15 Blocking PC: 7 TrackDir: CC PCnext: 7 Blocking TO: 2 TrainDir: Forward OldPChas: 13 Blocking Instr: 1 Headlight: Off LastPC covered: 15 CurSpeed: 4 TailLight: Off TOhas: 2 MaxSpeed: 16 Mode: Batch OldTOhas: 3 Last speed: 4 DepartedPC: 13 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 PCManager : 0 0 32 0 0 0 0 16 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 16 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Train 32 deallocated photocell: 7 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 7 Blocking PC: 15 TrackDir: CC PCnext: 2 Blocking TO: 2 TrainDir: Reverse OldPChas: 15 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 PCManager : 0 0 32 0 0 0 0 16 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 16 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=7 HandleArrival: PC=2 Next Instruction - Train Id: 32 Pc: 7 Turnout: -1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=0 Train 32 deallocating resources Train 32 deallocated photocell: 0 and turnout: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: 15 TrackDir: CW PCnext: 2 Blocking TO: 2 TrainDir: Forward OldPChas: 15 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 PCManager : 0 0 32 0 0 0 0 16 0 0 0 0 0 0 0 16 TurnoutMgr : 0 0 16 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=0Train 32 couldn't be allocated photocell:7 and turnout -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: 7 TrackDir: CW PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 0 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Train 32 was added to the blocked list CHECKING FOR DEADLOCK... Array of Blocked trains - Photocell Train Id Blocking Has Photocell 0 -1 -1 1 -1 -1 2 32 7 3 -1 -1 4 -1 -1 5 -1 -1 6 -1 -1 7 -1 -1 8 -1 -1 9 -1 -1 10 -1 -1 11 -1 -1 12 -1 -1 13 -1 -1 14 -1 -1 15 -1 -1 DEADLOCK was NOT detected! Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=7 Next Instruction - Train Id: 16 Pc: 2 Turnout: -1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=15 Train 16 deallocating resources Train 16 deallocated photocell: 15 and turnout: 2 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 15 Blocking PC: 7 TrackDir: CC PCnext: 7 Blocking TO: 2 TrainDir: Forward OldPChas: 13 Blocking Instr: 0 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: 2 MaxSpeed: 16 Mode: Batch OldTOhas: 3 Last speed: 4 DepartedPC: 15 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 1 16 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=15Train 16 couldn't be allocated photocell:2 and turnout -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 15 Blocking PC: 2 TrackDir: CC PCnext: 7 Blocking TO: -1 TrainDir: Forward OldPChas: 13 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 0 TailLight: Off TOhas: 2 MaxSpeed: 16 Mode: Batch OldTOhas: 3 Last speed: 4 DepartedPC: 15 Train 16 was added to the blocked list Train Id: 16 deallocated photocell 2 in the yellow list. CHECKING FOR DEADLOCK... Array of Blocked trains - Photocell Train Id Blocking Has Photocell 0 -1 -1 1 -1 -1 2 32 7 3 -1 -1 4 -1 -1 5 -1 -1 6 -1 -1 7 16 2 8 -1 -1 9 -1 -1 10 -1 -1 11 -1 -1 12 -1 -1 13 -1 -1 14 -1 -1 15 -1 -1 DEADLOCK was detected! Attempting to recover from deadlock... Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: 7 TrackDir: CW PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 0 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Train 32 is covering pc 2 Next Instruction - Train Id: 32 Pc: 0 Turnout: 1 Instr: Speed 4 Train 32 was moved to active train list HandleDeparture: PC=0 Train 32 deallocating resources Train 32 deallocated photocell: 0 and turnout: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: 7 TrackDir: CW PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 0 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=0 Train 32 has changed directions. Train Id: 32 allocated photocell 8 in the yellow list. Train 32 speed changed--all propertys follow Train 32 was allocated photocells: 2 and 0 and turnouts: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 7 TrackDir: CC PCnext: 0 Blocking TO: -1 TrainDir: Reverse OldPChas: 7 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 0 32 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 32 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 1 32 9 0 10 0 11 0 12 0 13 0 14 0 15 0 ...End Deadlock Recovery Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 1 32 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=0 Next Instruction - Train Id: 32 Pc: 2 Turnout: -1 Instr: Speed 4 Train 32 speed changed--all propertys follow Train Id: 32 deallocated photocell 8 in the yellow list. Train Id: 32 has released blocked trains at pc 8 HandleDeparture: PC=2 Train 32 deallocating resources Train 16 was moved to active train list HandleArrival: PC=7 Next Instruction - Train Id: 16 Pc: 2 Turnout: -1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=15 Train 16 deallocating resources Train 16 deallocated photocell: 15 and turnout: 2 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 15 Blocking PC: 2 TrackDir: CC PCnext: 7 Blocking TO: -1 TrainDir: Forward OldPChas: 13 Blocking Instr: 0 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: 2 MaxSpeed: 16 Mode: Batch OldTOhas: 3 Last speed: 4 DepartedPC: 15 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 32 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=15 Train Id: 16 allocated photocell 0 in the yellow list. Train Id: 16 allocated photocell 1 in the yellow list. Train 16 was allocated photocells: 7 and 2 and turnouts: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 7 Blocking PC: 2 TrackDir: CC PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 15 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 32 0 16 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 16 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Train 32 deallocated photocell: 2 and turnout: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 7 TrackDir: CC PCnext: 0 Blocking TO: -1 TrainDir: Reverse OldPChas: 7 Blocking Instr: 0 Headlight: Off LastPC covered: 0 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 32 0 16 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 16 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=2 HandleArrival: PC=0 Next Instruction - Train Id: 32 Pc: 2 Turnout: 1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=8 Train 32 deallocating resources Train 32 deallocated photocell: 8 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 8 Blocking PC: 7 TrackDir: CW PCnext: 0 Blocking TO: -1 TrainDir: Forward OldPChas: 7 Blocking Instr: 0 Headlight: Off LastPC covered: 0 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 PCManager : 32 0 16 0 0 0 0 16 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 16 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=8Train 32 couldn't be allocated photocell:2 and turnout 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 8 Blocking PC: 2 TrackDir: CW PCnext: 0 Blocking TO: 1 TrainDir: Forward OldPChas: 7 Blocking Instr: 1 Headlight: Off LastPC covered: 0 CurSpeed: 0 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Train 32 was added to the blocked list CHECKING FOR DEADLOCK... Array of Blocked trains - Photocell Train Id Blocking Has Photocell 0 32 2 1 -1 -1 2 -1 -1 3 -1 -1 4 -1 -1 5 -1 -1 6 -1 -1 7 -1 -1 8 -1 -1 9 -1 -1 10 -1 -1 11 -1 -1 12 -1 -1 13 -1 -1 14 -1 -1 15 -1 -1 DEADLOCK was NOT detected! Photocell Number of Train Id(s) Trains 0 1 16 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=2 Next Instruction - Train Id: 16 Pc: 1 Turnout: 1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=7 Train 16 deallocating resources Train 16 deallocated photocell: 7 and turnout: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 7 Blocking PC: 2 TrackDir: CC PCnext: 2 Blocking TO: -1 TrainDir: Forward OldPChas: 15 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 2 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 1 16 1 1 16 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=7 Train Id: 16 deallocated photocell 0 in the yellow list. Train Id: 16 releasing blocked trains at photocell 0. Train Id: 16 deallocated photocell 1 in the yellow list. Train Id: 16 allocated photocell 3 in the yellow list. Train 16 was allocated photocells: 2 and 1 and turnouts: 1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 2 Blocking PC: 2 TrackDir: CC PCnext: 1 Blocking TO: -1 TrainDir: Forward OldPChas: 7 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 7 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 16 0 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 0 16 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 1 16 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=1 Next Instruction - Train Id: 16 Pc: 3 Turnout: 0 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=2 Train 16 deallocating resources Train 32 was moved to active train list HandleArrival: PC=0 Next Instruction - Train Id: 32 Pc: 2 Turnout: 1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=8 Train 32 deallocating resources Train 32 deallocated photocell: 8 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 8 Blocking PC: 2 TrackDir: CW PCnext: 0 Blocking TO: 1 TrainDir: Forward OldPChas: 7 Blocking Instr: 0 Headlight: Off LastPC covered: 0 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 1 16 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=8 Train Id: 32 allocated photocell 7 in the yellow list. Train 32 was allocated photocells: 0 and 2 and turnouts: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: 2 TrackDir: CW PCnext: 2 Blocking TO: 1 TrainDir: Forward OldPChas: 8 Blocking Instr: 1 Headlight: Off LastPC covered: 0 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 32 0 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 0 32 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 1 16 4 0 5 0 6 0 7 1 32 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Train 16 deallocated photocell: 2 and turnout: 1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 2 Blocking PC: 2 TrackDir: CC PCnext: 1 Blocking TO: -1 TrainDir: Forward OldPChas: 7 Blocking Instr: 0 Headlight: Off LastPC covered: 1 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 32 0 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 0 32 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 1 16 4 0 5 0 6 0 7 1 32 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=2 Train Id: 16 deallocated photocell 3 in the yellow list. Train Id: 16 allocated photocell 9 in the yellow list. Train 16 was allocated photocells: 1 and 3 and turnouts: 0 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 1 Blocking PC: 2 TrackDir: CC PCnext: 3 Blocking TO: -1 TrainDir: Forward OldPChas: 2 Blocking Instr: 1 Headlight: Off LastPC covered: 1 CurSpeed: 4 TailLight: Off TOhas: 0 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 32 16 32 16 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 16 32 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 32 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 0 HandleArrival: PC=2 Next Instruction - Train Id: 32 Pc: 7 Turnout: -1 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=0 Train 32 deallocating resources Train 32 deallocated photocell: 0 and turnout: 1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 0 Blocking PC: 2 TrackDir: CW PCnext: 2 Blocking TO: 1 TrainDir: Forward OldPChas: 8 Blocking Instr: 0 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: 1 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 0 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 16 32 16 0 0 0 0 0 0 0 0 0 0 0 0 TurnoutMgr : 16 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 32 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 0 Completed HandleDeparture: PC=0 Train Id: 32 deallocated photocell 7 in the yellow list. Train Id: 32 allocated photocell 15 in the yellow list. Train 32 was allocated photocells: 2 and 7 and turnouts: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 2 TrackDir: CW PCnext: 7 Blocking TO: 1 TrainDir: Forward OldPChas: 0 Blocking Instr: 1 Headlight: Off LastPC covered: 2 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 0 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 16 32 16 0 0 0 32 0 0 0 0 0 0 0 0 TurnoutMgr : 16 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 1 32 HandleArrival: PC=3 Next Instruction - Train Id: 16 Pc: 9 Turnout: -1 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=1 Train 16 deallocating resources Train 16 deallocated photocell: 1 and turnout: 0 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 1 Blocking PC: 2 TrackDir: CC PCnext: 3 Blocking TO: -1 TrainDir: Forward OldPChas: 2 Blocking Instr: 0 Headlight: Off LastPC covered: 3 CurSpeed: 4 TailLight: Off TOhas: 0 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 1 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 16 0 0 0 32 0 0 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 16 10 0 11 0 12 0 13 0 14 0 15 1 32 Completed HandleDeparture: PC=1 Train Id: 16 deallocated photocell 9 in the yellow list. Train Id: 16 allocated photocell 13 in the yellow list. Train 16 was allocated photocells: 3 and 9 and turnouts: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 3 Blocking PC: 2 TrackDir: CC PCnext: 9 Blocking TO: -1 TrainDir: Forward OldPChas: 1 Blocking Instr: 1 Headlight: Off LastPC covered: 3 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 0 Last speed: 4 DepartedPC: 1 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 16 0 0 0 32 0 16 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 1 16 14 0 15 1 32 HandleArrival: PC=9 Next Instruction - Train Id: 16 Pc: 13 Turnout: 4 Instr: Speed 4 Train 16 speed changed--all propertys follow HandleDeparture: PC=3 Train 16 deallocating resources Train 16 deallocated photocell: 3 and turnout: -1 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 3 Blocking PC: 2 TrackDir: CC PCnext: 9 Blocking TO: -1 TrainDir: Forward OldPChas: 1 Blocking Instr: 0 Headlight: Off LastPC covered: 9 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 0 Last speed: 4 DepartedPC: 3 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 32 0 16 0 0 0 0 0 0 TurnoutMgr : 0 0 0 0 0 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 1 16 14 0 15 1 32 Completed HandleDeparture: PC=3 Train Id: 16 deallocated photocell 13 in the yellow list. Train Id: 16 allocated photocell 15 in the yellow list. Train 16 was allocated photocells: 9 and 13 and turnouts: 4 Train id: 16 BlockedStatus: Active Name: Train16 PChas: 9 Blocking PC: 2 TrackDir: CC PCnext: 13 Blocking TO: -1 TrainDir: Forward OldPChas: 3 Blocking Instr: 1 Headlight: Off LastPC covered: 9 CurSpeed: 4 TailLight: Off TOhas: 4 MaxSpeed: 16 Mode: Batch OldTOhas: -1 Last speed: 4 DepartedPC: 3 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PCManager : 0 0 32 0 0 0 0 32 0 16 0 0 0 16 0 0 TurnoutMgr : 0 0 0 0 16 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 2 32 16 HandleArrival: PC=7 Next Instruction - Train Id: 32 Pc: 15 Turnout: 2 Instr: Speed 4 Train 32 speed changed--all propertys follow HandleDeparture: PC=2 Train 32 deallocating resources Train 32 deallocated photocell: 2 and turnout: -1 Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 2 TrackDir: CW PCnext: 7 Blocking TO: 1 TrainDir: Forward OldPChas: 0 Blocking Instr: 0 Headlight: Off LastPC covered: 7 CurSpeed: 4 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Photocells : 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CurrentPCState : 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 PreviousPCState : 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 PCManager : 0 0 0 0 0 0 0 32 0 16 0 0 0 16 0 0 TurnoutMgr : 0 0 0 0 16 0 0 Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 2 32 16 Completed HandleDeparture: PC=2Train 32 reached an UNSAFE state on the track. Photocell 15 and Turnout 2 were NOT allocated. Train id: 32 BlockedStatus: Active Name: Train32 PChas: 2 Blocking PC: 15 TrackDir: CW PCnext: 7 Blocking TO: 2 TrainDir: Forward OldPChas: 0 Blocking Instr: 1 Headlight: Off LastPC covered: 7 CurSpeed: 0 TailLight: Off TOhas: -1 MaxSpeed: 16 Mode: Batch OldTOhas: 1 Last speed: 4 DepartedPC: 2 Train 32 was added to the blocked list Train Id: 32 deallocated photocell 15 in the yellow list. CHECKING FOR DEADLOCK... Array of Blocked trains - Photocell Train Id Blocking Has Photocell 0 -1 -1 1 -1 -1 2 -1 -1 3 -1 -1 4 -1 -1 5 -1 -1 6 -1 -1 7 32 15 8 -1 -1 9 -1 -1 10 -1 -1 11 -1 -1 12 -1 -1 13 -1 -1 14 -1 -1 15 -1 -1 DEADLOCK was NOT detected! Photocell Number of Train Id(s) Trains 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 1 16 Track Disabled by User