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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 106.1 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1766/0.1766, allocations: 38.03 MB / 329.4 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 58.17 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 58.07 MB / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.0118/0.1227, allocations: 8.946 MB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.1281, allocations: 2.209 MB / 467.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.1298, allocations: 63.56 kB / 467.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.1308, allocations: 210.8 kB / 467.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.1329, allocations: 0.5252 MB / 468.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.1336, allocations: 183.8 kB / 468.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.1355, allocations: 1.277 MB / 469.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.1361, allocations: 354.5 kB / 470.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1371, allocations: 0.5407 MB / 470.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1383, allocations: 0.697 MB / 471.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.1385, allocations: 64 kB / 471.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1388, allocations: 67.94 kB / 471.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.1392, allocations: 335.1 kB / 471.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006129/0.1398, allocations: 429.8 kB / 472.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.1408, allocations: 0.9031 MB / 473.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1408, allocations: 0 / 473.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1408, allocations: 0 / 473.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.85e-05/0.1409, allocations: 4 kB / 473.1 MB, free: 7.582 MB / 350.1 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.002095/0.143, allocations: 1.225 MB / 474.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.143, allocations: 11.89 kB / 474.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1432, allocations: 91.81 kB / 474.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1442, allocations: 0.6642 MB / 475.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.1443, allocations: 53.23 kB / 475.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1444, allocations: 60 kB / 475.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.1456, allocations: 0.8099 MB / 476 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1457, allocations: 0 / 476 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.1457, allocations: 28 kB / 476.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.1458, allocations: 37.25 kB / 476.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.1467, allocations: 0.6179 MB / 476.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.1504, allocations: 2.633 MB / 479.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.1515, allocations: 0.6169 MB / 480 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00078/0.1523, allocations: 368 kB / 480.3 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.1523, allocations: 8.422 kB / 480.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/0.153, allocations: 491 kB / 480.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.514e-06/0.153, allocations: 0 / 480.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002674/0.1557, allocations: 1.981 MB / 482.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1558, allocations: 251.8 kB / 483 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.1564, allocations: 0.5663 MB / 483.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.1565, allocations: 41.64 kB / 483.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.1567, allocations: 403.6 kB / 484 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.1569, allocations: 205.1 kB / 484.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1571, allocations: 142.6 kB / 484.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1572, allocations: 390.7 kB / 484.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.1576, allocations: 225.9 kB / 485 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.158, allocations: 465.8 kB / 485.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/0.1589, allocations: 0.8012 MB / 486.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1589, allocations: 0 / 486.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001415/0.1603, allocations: 0.9479 MB / 487.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.1604, allocations: 65.73 kB / 487.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1604, allocations: 8 kB / 487.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/0.1608, allocations: 114 kB / 487.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.1613, allocations: 147.7 kB / 487.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.1641, allocations: 3.24 MB / 490.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.1645, allocations: 35.98 kB / 490.8 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.1646, allocations: 51.95 kB / 490.8 MB, free: 4.805 MB / 366.1 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,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004203/0.165, allocations: 350.7 kB / 491.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.1651, allocations: 79.06 kB / 491.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1662, allocations: 0.7857 MB / 492 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.1662, allocations: 4 kB / 492 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1662, allocations: 0 / 492 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1663, allocations: 7.984 kB / 492 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.1682, allocations: 1.543 MB / 493.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1682, allocations: 4.031 kB / 493.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.1687, allocations: 116 kB / 493.7 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1687, allocations: 4 kB / 493.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.1688, allocations: 23.98 kB / 493.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1688, allocations: 0 / 493.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1688, allocations: 4 kB / 493.7 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1702, allocations: 1.207 MB / 494.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.1705, allocations: 188.1 kB / 495.1 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.1706, allocations: 16 kB / 495.1 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.1709, allocations: 27.97 kB / 495.2 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.171, allocations: 44.31 kB / 495.2 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.1711, allocations: 59.92 kB / 495.3 MB, free: 192 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004795/0.1715, allocations: 395.2 kB / 495.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.819e-06/0.1716, allocations: 0 / 495.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005979/0.1722, allocations: 187.9 kB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.1723, allocations: 119.1 kB / 496 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.174, allocations: 1.101 MB / 497.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1741, allocations: 5.312 kB / 497.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.1746, allocations: 497.2 kB / 497.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/0.1755, allocations: 163.9 kB / 497.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.178, allocations: 1.845 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.1786, allocations: 1.005 MB / 0.4888 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.179, allocations: 157.8 kB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1792, allocations: 55.44 kB / 0.489 GB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1792, allocations: 0 / 0.489 GB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01387/0.193, allocations: 7.261 MB / 0.4961 GB, free: 3.359 MB / 382.1 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)