Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [: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.001694/0.001694, allocations: 190.6 kB / 8.137 MB, free: 2.215 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.401/1.401, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001728/0.001728, allocations: 118.4 kB / 247.7 MB, free: 6.422 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1979/0.1979, allocations: 37.9 MB / 330.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.583e-06, allocations: 0 / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.08983, allocations: 53.23 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3714, allocations: 94.28 MB / 0.5247 GB, free: 9.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.3717, allocations: 85.8 kB / 0.5248 GB, free: 9.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04574/0.4174, allocations: 16.48 MB / 0.5409 GB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.217e-05/0.4175, allocations: 12 kB / 0.5409 GB, free: 14.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002414/0.4199, allocations: 1.002 MB / 0.5419 GB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.42, allocations: 12.03 kB / 0.5419 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.4204, allocations: 94.88 kB / 0.542 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/0.4256, allocations: 1.696 MB / 0.5436 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.4256, allocations: 20 kB / 0.5437 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4258, allocations: 47.98 kB / 0.5437 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001111/0.4269, allocations: 0.5788 MB / 0.5443 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.4281, allocations: 0.715 MB / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.4281, allocations: 4 kB / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.4282, allocations: 0 / 0.545 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.4282, allocations: 37.2 kB / 0.545 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.4322, allocations: 2.556 MB / 0.5475 GB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/0.4331, allocations: 0.5414 MB / 0.548 GB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.4338, allocations: 366.8 kB / 0.5484 GB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.4338, allocations: 4.438 kB / 0.5484 GB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/0.4343, allocations: 443.5 kB / 0.5488 GB, free: 8.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.264e-06/0.4343, allocations: 0 / 0.5488 GB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.002303/0.4366, allocations: 1.388 MB / 0.5502 GB, free: 6.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.4368, allocations: 253.8 kB / 0.5504 GB, free: 6.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.4374, allocations: 455.5 kB / 0.5508 GB, free: 6.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.4374, allocations: 29.14 kB / 0.5509 GB, free: 6.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.4377, allocations: 320.4 kB / 0.5512 GB, free: 5.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.4379, allocations: 200.5 kB / 0.5514 GB, free: 5.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.4379, allocations: 0 / 0.5514 GB, free: 5.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4381, allocations: 387 kB / 0.5517 GB, free: 5.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.4384, allocations: 201.5 kB / 0.5519 GB, free: 5.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.4389, allocations: 436 kB / 0.5523 GB, free: 4.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.4393, allocations: 257.8 kB / 0.5526 GB, free: 4.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4393, allocations: 4 kB / 0.5526 GB, free: 4.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001409/0.4408, allocations: 0.7744 MB / 0.5533 GB, free: 3.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4408, allocations: 7.906 kB / 0.5534 GB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4408, allocations: 11.98 kB / 0.5534 GB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.4412, allocations: 105.3 kB / 0.5535 GB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.4418, allocations: 147.5 kB / 0.5536 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.4447, allocations: 3.061 MB / 0.5566 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.4452, allocations: 28.05 kB / 0.5566 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4454, allocations: 50.72 kB / 0.5567 GB, free: 0.5703 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.4456, allocations: 203.9 kB / 0.5569 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4457, allocations: 79.05 kB / 0.5569 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/0.4467, allocations: 0.5925 MB / 0.5575 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4467, allocations: 8 kB / 0.5575 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4468, allocations: 0 / 0.5575 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4468, allocations: 7.969 kB / 0.5575 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.4489, allocations: 1.309 MB / 0.5588 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4489, allocations: 0 / 0.5588 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.4495, allocations: 111.2 kB / 0.5589 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.4495, allocations: 4 kB / 0.5589 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.4495, allocations: 18.89 kB / 0.5589 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4496, allocations: 192 / 0.5589 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4496, allocations: 12.03 kB / 0.559 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001273/0.4509, allocations: 1.056 MB / 0.56 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.4512, allocations: 191.5 kB / 0.5602 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4513, allocations: 8 kB / 0.5602 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.4517, allocations: 19.98 kB / 0.5602 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4518, allocations: 39.2 kB / 0.5602 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-05/0.4519, allocations: 66.73 kB / 0.5603 GB, free: 13.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003796/0.4523, allocations: 336.3 kB / 0.5606 GB, free: 13.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00081/0.4531, allocations: 163.4 kB / 0.5608 GB, free: 13.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.000276/0.4534, allocations: 165.1 kB / 0.5609 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.4547, allocations: 0.854 MB / 0.5618 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4547, allocations: 0 / 0.5618 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.4553, allocations: 445.8 kB / 0.5622 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.456, allocations: 125.1 kB / 0.5623 GB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4584, allocations: 1.179 MB / 0.5635 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008825/0.4593, allocations: 1.088 MB / 0.5645 GB, free: 9.594 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4593, allocations: 0 / 0.5645 GB, free: 9.594 MB / 378.7 MB Notification: Performance of Templates: time 0.01603/0.4753, allocations: 7.506 MB / 0.5719 GB, free: 2.168 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)