Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") [: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.00167/0.00167, allocations: 188.2 kB / 7.804 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.646/1.646, 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.001629/0.001629, allocations: 104.1 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.2599/0.2599, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.444e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 56.32 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4703, allocations: 93.22 MB / 0.5458 GB, free: 1.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.4707, allocations: 79.95 kB / 0.5458 GB, free: 1.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.05233/0.523, allocations: 12.76 MB / 0.5583 GB, free: 4.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.5231, allocations: 4 kB / 0.5583 GB, free: 4.648 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.0009541/0.5241, allocations: 486.5 kB / 0.5588 GB, free: 4.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5241, allocations: 8.031 kB / 0.5588 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.5268, allocations: 91.61 kB / 0.5589 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.5278, allocations: 273.5 kB / 0.5591 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.5279, allocations: 8 kB / 0.5591 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.5279, allocations: 12 kB / 0.5591 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006309/0.5286, allocations: 204.2 kB / 0.5593 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.5293, allocations: 282.4 kB / 0.5596 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.5294, allocations: 3.984 kB / 0.5596 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.5294, allocations: 0 / 0.5596 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.5296, allocations: 23.98 kB / 0.5596 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.5323, allocations: 1.248 MB / 0.5608 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.5328, allocations: 141.1 kB / 0.561 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.533, allocations: 45.77 kB / 0.561 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.5331, allocations: 4 kB / 0.561 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.5331, allocations: 38.5 kB / 0.5611 GB, free: 1.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.557e-06/0.5331, allocations: 4 kB / 0.5611 GB, free: 1.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008636/0.534, allocations: 236.5 kB / 0.5613 GB, free: 1.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.5341, allocations: 85.05 kB / 0.5614 GB, free: 1.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.5343, allocations: 151.6 kB / 0.5615 GB, free: 1.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.5344, allocations: 25.7 kB / 0.5615 GB, free: 1.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5345, allocations: 222.2 kB / 0.5618 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.5346, allocations: 43.3 kB / 0.5618 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.5346, allocations: 0 / 0.5618 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5348, allocations: 326.9 kB / 0.5621 GB, free: 468 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.5349, allocations: 39.98 kB / 0.5622 GB, free: 428 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.5351, allocations: 132.9 kB / 0.5623 GB, free: 248 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.5354, allocations: 80.17 kB / 0.5624 GB, free: 168 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5354, allocations: 0 / 0.5624 GB, free: 168 kB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005563/0.5359, allocations: 185.3 kB / 0.5625 GB, free: 15.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.536, allocations: 6.812 kB / 0.5625 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.536, allocations: 16.28 kB / 0.5626 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.536, allocations: 11.94 kB / 0.5626 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.5364, allocations: 47.86 kB / 0.5626 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5364, allocations: 4 kB / 0.5626 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.5366, allocations: 4 kB / 0.5626 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.5366, allocations: 12 kB / 0.5626 GB, free: 15.88 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 (25): * Single equations (assignments): 25 * 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.389e-05/0.5367, allocations: 41.53 kB / 0.5627 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.5368, allocations: 15.81 kB / 0.5627 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.5373, allocations: 145.3 kB / 0.5628 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5373, allocations: 0 / 0.5628 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5373, allocations: 3.906 kB / 0.5628 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5373, allocations: 0 / 0.5628 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.5388, allocations: 0.7577 MB / 0.5636 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.5388, allocations: 4 kB / 0.5636 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.539, allocations: 27.92 kB / 0.5636 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.5391, allocations: 4.438 kB / 0.5636 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.5391, allocations: 11.91 kB / 0.5636 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.5391, allocations: 8 kB / 0.5636 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.5391, allocations: 7.938 kB / 0.5636 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006503/0.5398, allocations: 476.6 kB / 0.5641 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.5399, allocations: 96.92 kB / 0.5642 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.54, allocations: 4 kB / 0.5642 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.5402, allocations: 11.89 kB / 0.5642 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.5403, allocations: 16 kB / 0.5642 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.5403, allocations: 8 kB / 0.5642 GB, free: 13.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001714/0.5405, allocations: 128.3 kB / 0.5643 GB, free: 13.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005351/0.5411, allocations: 44 kB / 0.5644 GB, free: 13.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0002268/0.5413, allocations: 111.1 kB / 0.5645 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.5417, allocations: 124.6 kB / 0.5646 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5417, allocations: 0 / 0.5646 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5419, allocations: 55.86 kB / 0.5647 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.5424, allocations: 36.06 kB / 0.5647 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.5435, allocations: 388.7 kB / 0.5651 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.5442, allocations: 0.7821 MB / 0.5658 GB, free: 12.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5442, allocations: 4 kB / 0.5658 GB, free: 12.2 MB / 410.7 MB Notification: Performance of Templates: time 0.00602/0.5503, allocations: 2.209 MB / 0.568 GB, free: 9.984 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)