Hi,
I’m trying to save the state of a simulation and then load and continue.
The saving part seems to be working, but when I try to load the .sbx file and continue simulating I get this:
Error: Attribute 'impatience' in definition of vType 'veh101' is empty.
Error: Process Error
Quitting (on error).
The syntax I use for saving a state:
C:\temp\bin\sumo.exe --time-to-teleport 80 --step-length 0.1 sumo
--save-state.times 3000 -b 0 -e 3001 -n C:\temp\xx.net.xml –r C:\temp\optim_saveState_129_99/AdditionalsRouteFiles/RouteFile_share00ACC3_1speed70.rou.xml -a C:\temp\ optim_saveState_129_99/AdditionalsRouteFiles/additionals_00ADM.xml –start --quit-on-end
>NUL 2>NUL &
The saving part above seems to be working and I get an .sbx file.
And syntax for loading and running simulations:
C:\temp\bin\sumo.exe --time-to-teleport 80 --step-length 0.1
--load-state C:\temp\optim\state_3000.00.sbx -b 3000 -e 3601 -n C:\temp\xx.net.xml –r C:\temp\optim_saveState_129_99/AdditionalsRouteFiles/RouteFile_share00ACC3_1speed70.rou.xml -a C:\temp\ optim_saveState_129_99/AdditionalsRouteFiles/additionals_00ADM.xml
–start --quit-on-end >NUL 2>NUL &
Net, route file etc are, as you can see, identical.
What am I doing wrong?
Rgds /Daniel