From GridLAB-D Wiki
The compile command line option instructs GridLAB-D to only load and compile the specified GLM file, but not run them.
Command line
host% gridlabd --compile file
The compile command line option instructs GridLAB-D to only load and compile the specified GLM file, but not run them.
host% gridlabd --compile file