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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001082/0.001082, allocations: 178 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.406/1.406, allocations: 194.5 MB / 212.6 MB, free: 2.938 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.001563/0.001563, allocations: 122.2 kB / 257.9 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1771/0.1771, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004076, allocations: 12 kB / 405 MB, free: 68.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.0995, allocations: 53.23 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4662, allocations: 95.1 MB / 0.5404 GB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4665, allocations: 96.17 kB / 0.5405 GB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04682/0.5133, allocations: 16.85 MB / 0.5569 GB, free: 1.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5134, allocations: 0 / 0.5569 GB, free: 1.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.216e-05/0.5135, allocations: 23.98 kB / 0.5569 GB, free: 1.203 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.002403/0.5159, allocations: 1.111 MB / 0.558 GB, free: 92 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5159, allocations: 8.031 kB / 0.558 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.5163, allocations: 91.86 kB / 0.5581 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.519, allocations: 1.219 MB / 0.5593 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.5191, allocations: 42.5 kB / 0.5594 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.5193, allocations: 65.06 kB / 0.5594 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.5207, allocations: 0.8075 MB / 0.5602 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.5208, allocations: 7.875 kB / 0.5602 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.5208, allocations: 30.05 kB / 0.5602 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.5209, allocations: 34.67 kB / 0.5603 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.522, allocations: 0.6124 MB / 0.5609 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.5261, allocations: 2.638 MB / 0.5635 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/0.5271, allocations: 0.5971 MB / 0.564 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.5277, allocations: 387.1 kB / 0.5644 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.5278, allocations: 4.438 kB / 0.5644 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/0.5284, allocations: 490 kB / 0.5649 GB, free: 10.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.336e-06/0.5284, allocations: 0 / 0.5649 GB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003316/0.5317, allocations: 1.968 MB / 0.5668 GB, free: 8.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.5319, allocations: 251.5 kB / 0.567 GB, free: 8.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.5328, allocations: 0.557 MB / 0.5676 GB, free: 7.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.5329, allocations: 35.89 kB / 0.5676 GB, free: 7.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.5333, allocations: 407.6 kB / 0.568 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.5335, allocations: 207.2 kB / 0.5682 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.5335, allocations: 14.94 kB / 0.5682 GB, free: 7.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5337, allocations: 395.6 kB / 0.5686 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.5341, allocations: 215.8 kB / 0.5688 GB, free: 6.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.5347, allocations: 455.7 kB / 0.5692 GB, free: 6.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008975/0.5356, allocations: 0.7955 MB / 0.57 GB, free: 5.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5356, allocations: 4 kB / 0.57 GB, free: 5.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001615/0.5372, allocations: 0.9433 MB / 0.5709 GB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.5373, allocations: 59.41 kB / 0.571 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.5373, allocations: 8.531 kB / 0.571 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.5378, allocations: 111.1 kB / 0.5711 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.5383, allocations: 142.1 kB / 0.5712 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.5414, allocations: 3.209 MB / 0.5744 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.542, allocations: 40.16 kB / 0.5744 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5421, allocations: 59.14 kB / 0.5745 GB, free: 1.41 MB / 378.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 () * Number of clocked 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.0005666/0.5427, allocations: 350.6 kB / 0.5748 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5429, allocations: 75.16 kB / 0.5749 GB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.544, allocations: 0.783 MB / 0.5756 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.544, allocations: 4 kB / 0.5756 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.544, allocations: 7.938 kB / 0.5757 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5441, allocations: 3.984 kB / 0.5757 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.5465, allocations: 1.564 MB / 0.5772 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5465, allocations: 4 kB / 0.5772 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.547, allocations: 108 kB / 0.5773 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.5471, allocations: 0 / 0.5773 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.5471, allocations: 27.67 kB / 0.5773 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5471, allocations: 0 / 0.5773 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5471, allocations: 4 kB / 0.5773 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.5487, allocations: 1.188 MB / 0.5785 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.5491, allocations: 190 kB / 0.5787 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5492, allocations: 15.75 kB / 0.5787 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.5496, allocations: 30.92 kB / 0.5787 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5497, allocations: 39.12 kB / 0.5787 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.5498, allocations: 63.19 kB / 0.5788 GB, free: 13.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005875/0.5504, allocations: 384.4 kB / 0.5792 GB, free: 13.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5504, allocations: 0 / 0.5792 GB, free: 13.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009456/0.5513, allocations: 192.6 kB / 0.5794 GB, free: 13.33 MB / 394.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) * Number of clocked states: 0 () * 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.0002983/0.5517, allocations: 187.4 kB / 0.5795 GB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.5532, allocations: 0.9888 MB / 0.5805 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5532, allocations: 0 / 0.5805 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.5537, allocations: 0.4942 MB / 0.581 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.5546, allocations: 151.8 kB / 0.5811 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.5574, allocations: 1.829 MB / 0.5829 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.5581, allocations: 1.017 MB / 0.5839 GB, free: 9.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005161/0.5586, allocations: 153.8 kB / 0.5841 GB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5587, allocations: 47.44 kB / 0.5841 GB, free: 8.848 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5587, allocations: 0 / 0.5841 GB, free: 8.848 MB / 394.7 MB Notification: Performance of Templates: time 0.01531/0.5741, allocations: 7.426 MB / 0.5913 GB, free: 1.43 MB / 394.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)