Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [: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.001205/0.001205, allocations: 192.1 kB / 8.139 MB, free: 2.18 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.497/1.497, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001814/0.001814, allocations: 124.5 kB / 247.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1815/0.1815, allocations: 37.91 MB / 330.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.282e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 53.23 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.3988, allocations: 88.91 MB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3991, allocations: 81.55 kB / 0.5195 GB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03332/0.4324, allocations: 13.8 MB / 0.533 GB, free: 5.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.4325, allocations: 3.562 kB / 0.533 GB, free: 5.109 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.0006557/0.4332, allocations: 493.7 kB / 0.5335 GB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4332, allocations: 13.06 kB / 0.5335 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.4343, allocations: 98.34 kB / 0.5336 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.4347, allocations: 256.8 kB / 0.5338 GB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4347, allocations: 13.56 kB / 0.5339 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.4348, allocations: 13.16 kB / 0.5339 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000342/0.4351, allocations: 203.3 kB / 0.5341 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.4355, allocations: 291.6 kB / 0.5343 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4355, allocations: 5.375 kB / 0.5343 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.4356, allocations: 0 / 0.5343 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-05/0.4357, allocations: 25.28 kB / 0.5344 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.4372, allocations: 1.301 MB / 0.5356 GB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.4375, allocations: 216.9 kB / 0.5359 GB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4377, allocations: 96.91 kB / 0.5359 GB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4377, allocations: 4 kB / 0.5359 GB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.4377, allocations: 30.56 kB / 0.536 GB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.4377, allocations: 0 / 0.536 GB, free: 3.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006044/0.4383, allocations: 354.2 kB / 0.5363 GB, free: 2.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.4384, allocations: 87.45 kB / 0.5364 GB, free: 2.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4385, allocations: 172.7 kB / 0.5366 GB, free: 2.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4385, allocations: 25.7 kB / 0.5366 GB, free: 2.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.4386, allocations: 150 kB / 0.5367 GB, free: 2.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.4386, allocations: 54.08 kB / 0.5368 GB, free: 2.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.4386, allocations: 0 / 0.5368 GB, free: 2.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.4387, allocations: 329.2 kB / 0.5371 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4388, allocations: 82.06 kB / 0.5372 GB, free: 1.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4389, allocations: 147.3 kB / 0.5373 GB, free: 1.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.439, allocations: 113.3 kB / 0.5374 GB, free: 1.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4391, allocations: 0 / 0.5374 GB, free: 1.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003244/0.4394, allocations: 267.4 kB / 0.5377 GB, free: 1.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4394, allocations: 7.125 kB / 0.5377 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4394, allocations: 4.281 kB / 0.5377 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4394, allocations: 8 kB / 0.5377 GB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.4397, allocations: 51.91 kB / 0.5377 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4397, allocations: 4 kB / 0.5377 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.4399, allocations: 7.984 kB / 0.5378 GB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.4399, allocations: 11.56 kB / 0.5378 GB, free: 1.406 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.063e-05/0.4399, allocations: 112.9 kB / 0.5379 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.44, allocations: 19.72 kB / 0.5379 GB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4403, allocations: 221 kB / 0.5381 GB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4403, allocations: 7.906 kB / 0.5381 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4403, allocations: 0 / 0.5381 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4403, allocations: 0 / 0.5381 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4414, allocations: 1.079 MB / 0.5392 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.4414, allocations: 11.94 kB / 0.5392 GB, free: 32 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.4416, allocations: 40.34 kB / 0.5392 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.4416, allocations: 7.984 kB / 0.5392 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4417, allocations: 8 kB / 0.5392 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.4417, allocations: 7.938 kB / 0.5392 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4417, allocations: 4 kB / 0.5392 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000522/0.4422, allocations: 0.6096 MB / 0.5398 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4423, allocations: 100.3 kB / 0.5399 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.4424, allocations: 15.92 kB / 0.5399 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.4426, allocations: 4 kB / 0.54 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.4426, allocations: 23.52 kB / 0.54 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.4426, allocations: 8 kB / 0.54 GB, free: 15.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001072/0.4427, allocations: 134.4 kB / 0.5401 GB, free: 14.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.4431, allocations: 56 kB / 0.5402 GB, free: 14.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 17 * 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.0001636/0.4433, allocations: 111.8 kB / 0.5403 GB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.4436, allocations: 204.5 kB / 0.5405 GB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4436, allocations: 0 / 0.5405 GB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.4438, allocations: 92.59 kB / 0.5406 GB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.4441, allocations: 32.59 kB / 0.5406 GB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008472/0.445, allocations: 442.2 kB / 0.541 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.4455, allocations: 0.7894 MB / 0.5418 GB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4455, allocations: 0 / 0.5418 GB, free: 13.3 MB / 362.7 MB Notification: Performance of Templates: time 0.004595/0.4501, allocations: 1.929 MB / 0.5437 GB, free: 11.41 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)