Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.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.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001673, allocations: 195.2 kB / 7.809 MB, free: 2.484 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.867/1.867, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001256/0.001256, allocations: 83.36 kB / 261.4 MB, free: 13.62 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.2832/0.2832, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.637e-06/8.816e-06, allocations: 4 kB / 409.3 MB, free: 47.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 56.32 MB / 465.6 MB, free: 6.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4635, allocations: 94.58 MB / 0.5471 GB, free: 272 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.4639, allocations: 83.95 kB / 0.5472 GB, free: 188 kB / 378.7 MB Notification: Performance of FrontEnd: time 0.05688/0.5208, allocations: 14.17 MB / 0.561 GB, free: 1.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.5208, allocations: 7.938 kB / 0.561 GB, free: 1.848 MB / 394.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.0008599/0.5217, allocations: 494.4 kB / 0.5615 GB, free: 1.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5218, allocations: 8.031 kB / 0.5615 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.5234, allocations: 115.6 kB / 0.5616 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.524, allocations: 265.6 kB / 0.5619 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.524, allocations: 12 kB / 0.5619 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.5241, allocations: 8 kB / 0.5619 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006196/0.5247, allocations: 212.3 kB / 0.5621 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.5254, allocations: 290.3 kB / 0.5624 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5254, allocations: 0 / 0.5624 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.5255, allocations: 0 / 0.5624 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.5255, allocations: 23.98 kB / 0.5624 GB, free: 344 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.5284, allocations: 1.295 MB / 0.5636 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.5288, allocations: 133.2 kB / 0.5638 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.529, allocations: 45.77 kB / 0.5638 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.529, allocations: 3.938 kB / 0.5638 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5291, allocations: 38.56 kB / 0.5639 GB, free: 14.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.384e-06/0.5291, allocations: 0 / 0.5639 GB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004197/0.5295, allocations: 121.6 kB / 0.564 GB, free: 14.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.5296, allocations: 77.11 kB / 0.564 GB, free: 14.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.5298, allocations: 163.2 kB / 0.5642 GB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5299, allocations: 29.64 kB / 0.5642 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.53, allocations: 226 kB / 0.5644 GB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.5301, allocations: 35.45 kB / 0.5645 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.5301, allocations: 0 / 0.5645 GB, free: 14.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5302, allocations: 322.8 kB / 0.5648 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.5304, allocations: 39.98 kB / 0.5648 GB, free: 13.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.5306, allocations: 124.9 kB / 0.5649 GB, free: 13.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.5308, allocations: 67.89 kB / 0.565 GB, free: 13.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5308, allocations: 4 kB / 0.565 GB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000481/0.5313, allocations: 185.2 kB / 0.5652 GB, free: 13.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5313, allocations: 7.984 kB / 0.5652 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5313, allocations: 4 kB / 0.5652 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5314, allocations: 4 kB / 0.5652 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.5318, allocations: 51.92 kB / 0.5652 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.5318, allocations: 11.84 kB / 0.5653 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.532, allocations: 12.28 kB / 0.5653 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.532, allocations: 15.98 kB / 0.5653 GB, free: 13.13 MB / 410.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 8.445e-05/0.5321, allocations: 37.59 kB / 0.5653 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/0.5322, allocations: 15.81 kB / 0.5653 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.5326, allocations: 135 kB / 0.5655 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5326, allocations: 0 / 0.5655 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5327, allocations: 0 / 0.5655 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5327, allocations: 0 / 0.5655 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.5341, allocations: 0.7482 MB / 0.5662 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5341, allocations: 0 / 0.5662 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.5344, allocations: 27.92 kB / 0.5662 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.5344, allocations: 4 kB / 0.5662 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5344, allocations: 4 kB / 0.5662 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.5344, allocations: 4 kB / 0.5662 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.5344, allocations: 4 kB / 0.5662 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005351/0.535, allocations: 438.2 kB / 0.5667 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5351, allocations: 104.8 kB / 0.5668 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.5352, allocations: 7.906 kB / 0.5668 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5354, allocations: 4 kB / 0.5668 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.5355, allocations: 19.92 kB / 0.5668 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.5355, allocations: 8 kB / 0.5668 GB, free: 11.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001704/0.5357, allocations: 131.1 kB / 0.5669 GB, free: 11.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006798/0.5364, allocations: 59.84 kB / 0.567 GB, free: 11.12 MB / 410.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.0001845/0.5366, allocations: 107.2 kB / 0.5671 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.537, allocations: 123 kB / 0.5672 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.537, allocations: 4.062 kB / 0.5672 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.5371, allocations: 47.86 kB / 0.5672 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.5376, allocations: 35.73 kB / 0.5673 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.5386, allocations: 379.5 kB / 0.5676 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.5392, allocations: 0.7823 MB / 0.5684 GB, free: 9.562 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5392, allocations: 0 / 0.5684 GB, free: 9.562 MB / 410.7 MB Notification: Performance of Templates: time 0.006018/0.5452, allocations: 2.163 MB / 0.5705 GB, free: 7.395 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)