Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002739/0.002739, allocations: 192.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00194/0.001939, allocations: 99.39 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2644/0.2644, allocations: 37.98 MB / 347.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.748e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 56.33 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4529, allocations: 94.89 MB / 0.5474 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/0.4534, allocations: 81.05 kB / 0.5475 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2471/0.7005, allocations: 56.85 MB / 0.603 GB, free: 6.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.472e-05/0.7006, allocations: 16 kB / 0.603 GB, free: 6.324 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003017/0.7036, allocations: 1.003 MB / 0.604 GB, free: 5.273 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7037, allocations: 8.031 kB / 0.604 GB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006233/0.7099, allocations: 422.3 kB / 0.6044 GB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.7116, allocations: 0.4884 MB / 0.6049 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.7117, allocations: 28 kB / 0.6049 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.712, allocations: 44 kB / 0.605 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003071/0.715, allocations: 0.9916 MB / 0.6059 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/0.7191, allocations: 1.106 MB / 0.607 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.7192, allocations: 7.938 kB / 0.607 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.7194, allocations: 4 kB / 0.607 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006783/0.7201, allocations: 105.9 kB / 0.6071 GB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.7347, allocations: 3.622 MB / 0.6106 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.7389, allocations: 0.9962 MB / 0.6116 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.741, allocations: 0.6175 MB / 0.6122 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.7412, allocations: 16.77 kB / 0.6122 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.7413, allocations: 43.33 kB / 0.6123 GB, free: 12.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 5.29e-06/0.7413, allocations: 0 / 0.6123 GB, free: 12.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.008786/0.7501, allocations: 1.948 MB / 0.6142 GB, free: 10.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.7502, allocations: 89.89 kB / 0.6143 GB, free: 10.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.751, allocations: 305.9 kB / 0.6146 GB, free: 10.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.7512, allocations: 25.7 kB / 0.6146 GB, free: 10.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.7515, allocations: 334.6 kB / 0.6149 GB, free: 9.852 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005772/0.7521, allocations: 303.4 kB / 0.6152 GB, free: 9.551 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.7522, allocations: 0 / 0.6152 GB, free: 9.551 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.7525, allocations: 346.8 kB / 0.6155 GB, free: 9.203 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.7541, allocations: 433.8 kB / 0.6159 GB, free: 8.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.7561, allocations: 0.5412 MB / 0.6165 GB, free: 8.203 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.7581, allocations: 0.5065 MB / 0.617 GB, free: 7.699 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.7582, allocations: 4 kB / 0.617 GB, free: 7.695 MB / 458.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006098/0.7643, allocations: 1.359 MB / 0.6183 GB, free: 6.324 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.7644, allocations: 4 kB / 0.6183 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.7644, allocations: 7.938 kB / 0.6183 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.7666, allocations: 320.6 kB / 0.6186 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.7688, allocations: 171.8 kB / 0.6188 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.7802, allocations: 3.44 MB / 0.6221 GB, free: 2.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.7816, allocations: 35.86 kB / 0.6222 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.7818, allocations: 27.98 kB / 0.6222 GB, free: 2.211 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.7821, allocations: 53.53 kB / 0.6222 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.7825, allocations: 55.34 kB / 0.6223 GB, free: 2.098 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/0.7892, allocations: 1.475 MB / 0.6237 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.7893, allocations: 8 kB / 0.6237 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/0.7894, allocations: 8 kB / 0.6238 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/0.7894, allocations: 3.984 kB / 0.6238 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.8015, allocations: 2.853 MB / 0.6265 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.8016, allocations: 4 kB / 0.6265 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.8031, allocations: 163.7 kB / 0.6267 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.8047, allocations: 277.1 kB / 0.627 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/0.8049, allocations: 15.98 kB / 0.627 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007995/0.8129, allocations: 3.262 MB / 0.6302 GB, free: 9.789 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-05/0.813, allocations: 4 kB / 0.6302 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004527/0.8175, allocations: 1.668 MB / 0.6318 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.8179, allocations: 144.3 kB / 0.6319 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.8181, allocations: 4 kB / 0.6319 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.8191, allocations: 31.97 kB / 0.632 GB, free: 7.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.8193, allocations: 60.59 kB / 0.632 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.8194, allocations: 31.98 kB / 0.6321 GB, free: 7.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004261/0.8198, allocations: 236.6 kB / 0.6323 GB, free: 7.445 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001486/0.8214, allocations: 268.2 kB / 0.6325 GB, free: 7.184 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002817/0.8217, allocations: 120.1 kB / 0.6327 GB, free: 7.059 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003699/0.8254, allocations: 1.258 MB / 0.6339 GB, free: 5.789 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.8254, allocations: 0 / 0.6339 GB, free: 5.789 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.8278, allocations: 0.7465 MB / 0.6346 GB, free: 5.031 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.8287, allocations: 69.95 kB / 0.6347 GB, free: 4.965 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.8339, allocations: 1.595 MB / 0.6362 GB, free: 3.289 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.8355, allocations: 1.163 MB / 0.6374 GB, free: 2.094 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8355, allocations: 0 / 0.6374 GB, free: 2.094 MB / 474.7 MB Notification: Performance of Templates: time 0.2358/1.071, allocations: 12.66 MB / 0.6497 GB, free: 104.8 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)