Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001277/0.001277, allocations: 188.8 kB / 8.132 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.35/1.35, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002005/0.002005, allocations: 119.1 kB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1701/0.1701, allocations: 37.92 MB / 330.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.542e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 53.22 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3082/0.4102, allocations: 89.59 MB / 0.5201 GB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.4104, allocations: 86.22 kB / 0.5202 GB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03202/0.4424, allocations: 14.15 MB / 0.534 GB, free: 4.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.4425, allocations: 3.688 kB / 0.534 GB, free: 4.879 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008255/0.4433, allocations: 490.4 kB / 0.5345 GB, free: 4.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4434, allocations: 9.188 kB / 0.5345 GB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.4446, allocations: 118.8 kB / 0.5346 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.445, allocations: 267.8 kB / 0.5349 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.445, allocations: 5.875 kB / 0.5349 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.4451, allocations: 10.16 kB / 0.5349 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003632/0.4454, allocations: 208.4 kB / 0.5351 GB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.4458, allocations: 297.9 kB / 0.5354 GB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4458, allocations: 3.906 kB / 0.5354 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.4459, allocations: 0 / 0.5354 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.4459, allocations: 15.62 kB / 0.5354 GB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.4474, allocations: 1.299 MB / 0.5367 GB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.4476, allocations: 127.8 kB / 0.5368 GB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/0.4477, allocations: 44.08 kB / 0.5368 GB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4477, allocations: 2.688 kB / 0.5368 GB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4477, allocations: 42.5 kB / 0.5369 GB, free: 2.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.674e-06/0.4478, allocations: 0 / 0.5369 GB, free: 2.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002545/0.448, allocations: 117.7 kB / 0.537 GB, free: 2.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.4481, allocations: 77.33 kB / 0.537 GB, free: 2.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4482, allocations: 164 kB / 0.5372 GB, free: 2.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.4482, allocations: 29.64 kB / 0.5372 GB, free: 2.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.4483, allocations: 158.4 kB / 0.5374 GB, free: 1.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4483, allocations: 39.02 kB / 0.5374 GB, free: 1.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.4483, allocations: 3.938 kB / 0.5374 GB, free: 1.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.4484, allocations: 333.8 kB / 0.5377 GB, free: 1.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.4484, allocations: 37.86 kB / 0.5378 GB, free: 1.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.051e-05/0.4485, allocations: 136.5 kB / 0.5379 GB, free: 1.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.604e-05/0.4486, allocations: 64.28 kB / 0.538 GB, free: 1.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4486, allocations: 0 / 0.538 GB, free: 1.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002433/0.4489, allocations: 193.7 kB / 0.5382 GB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4489, allocations: 4.438 kB / 0.5382 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4489, allocations: 8 kB / 0.5382 GB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4489, allocations: 8 kB / 0.5382 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.4491, allocations: 47.91 kB / 0.5382 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4491, allocations: 7.938 kB / 0.5382 GB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.4493, allocations: 19.75 kB / 0.5382 GB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4493, allocations: 8 kB / 0.5383 GB, free: 1.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.4494, allocations: 116.2 kB / 0.5384 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.4494, allocations: 15.81 kB / 0.5384 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.4496, allocations: 129.9 kB / 0.5385 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4497, allocations: 11.84 kB / 0.5385 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4497, allocations: 0 / 0.5385 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4497, allocations: 0 / 0.5385 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.4504, allocations: 0.7321 MB / 0.5392 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4504, allocations: 4 kB / 0.5392 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.4505, allocations: 16 kB / 0.5392 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4505, allocations: 8.312 kB / 0.5393 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4505, allocations: 8 kB / 0.5393 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.4506, allocations: 7.984 kB / 0.5393 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4506, allocations: 4 kB / 0.5393 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003897/0.451, allocations: 436.6 kB / 0.5397 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.4511, allocations: 108.8 kB / 0.5398 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.4511, allocations: 4 kB / 0.5398 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4512, allocations: 96 / 0.5398 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.4513, allocations: 27.14 kB / 0.5398 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4513, allocations: 8 kB / 0.5398 GB, free: 15.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001058/0.4514, allocations: 123.4 kB / 0.54 GB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000409/0.4518, allocations: 63.83 kB / 0.54 GB, free: 15.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (13): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.452, allocations: 99.19 kB / 0.5401 GB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4522, allocations: 118.2 kB / 0.5402 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4522, allocations: 0 / 0.5402 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.4523, allocations: 51.59 kB / 0.5403 GB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.4527, allocations: 31.39 kB / 0.5403 GB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.4534, allocations: 333.1 kB / 0.5406 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.4538, allocations: 0.7829 MB / 0.5414 GB, free: 13.68 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4538, allocations: 0 / 0.5414 GB, free: 13.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003993/0.4578, allocations: 1.31 MB / 0.5427 GB, free: 12.4 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)