Exit codes

Exit codes - GridLAB-D exit codes

The GridLAB-D core solver and most GridLAB-D modules use the following exit code:


 * -1 exec failed
 * 0 success
 * 1 bad command line
 * 2 environment startup failed
 * 3 test failed
 * 4 user rejected terms of use
 * 5 simulation did not complete as desired
 * 6 initialization failed
 * 7 process control error
 * 8 server killed
 * 9 I/O error
 * 127 shell failure
 * 128-254 signal received (low order bits are signal number)
 * 255 exception caught

Caveat
Some libraries used by GridLAB-D module do not following the GridLAB-D exit code standard.

Some systems cannot distinguish between -1 and 255.