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.001378/0.001378, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001444/0.001445, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.307/1.307, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1694/0.1694, allocations: 38.02 MB / 330.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 61.77 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 58.07 MB / 457.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008856/0.1211, allocations: 7.294 MB / 464.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.1246, allocations: 1.71 MB / 466.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.1252, allocations: 27.81 kB / 466.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.126, allocations: 230.4 kB / 466.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.1277, allocations: 0.5754 MB / 467.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.1284, allocations: 219.7 kB / 467.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.1299, allocations: 1.258 MB / 468.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.1304, allocations: 362.5 kB / 469.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.1314, allocations: 0.5407 MB / 469.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008921/0.1323, allocations: 0.6501 MB / 470.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1324, allocations: 64 kB / 470.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1325, allocations: 64 kB / 470.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.1328, allocations: 331.1 kB / 470.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.1333, allocations: 429.8 kB / 471.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008843/0.1342, allocations: 0.9031 MB / 472.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1342, allocations: 0 / 472.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1342, allocations: 0 / 472.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1343, allocations: 0 / 472.1 MB, free: 9.355 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.001941/0.1362, allocations: 1.229 MB / 473.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1363, allocations: 15.89 kB / 473.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1364, allocations: 95.81 kB / 473.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.1374, allocations: 0.6564 MB / 474.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.1375, allocations: 57.23 kB / 474.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.1376, allocations: 56 kB / 474.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1387, allocations: 0.8138 MB / 475.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1387, allocations: 0 / 475.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.1388, allocations: 28 kB / 475.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.1388, allocations: 41.17 kB / 475.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.1397, allocations: 0.6179 MB / 475.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.143, allocations: 2.626 MB / 478.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.1439, allocations: 0.6127 MB / 479 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.1445, allocations: 376 kB / 479.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1446, allocations: 4.438 kB / 479.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005657/0.1452, allocations: 483.1 kB / 479.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.1452, allocations: 0 / 479.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.00286/0.148, allocations: 1.989 MB / 481.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.1482, allocations: 259.8 kB / 482.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.1488, allocations: 0.5586 MB / 482.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.1489, allocations: 37.7 kB / 482.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.1492, allocations: 403.4 kB / 483.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.1494, allocations: 205.1 kB / 483.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.1496, allocations: 150.6 kB / 483.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1498, allocations: 386.8 kB / 483.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.1501, allocations: 225.9 kB / 484 MB, free: 12.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.1507, allocations: 457.8 kB / 484.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.1516, allocations: 0.8012 MB / 485.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1516, allocations: 0 / 485.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001543/0.1531, allocations: 0.9521 MB / 486.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.1532, allocations: 59.41 kB / 486.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.1532, allocations: 8 kB / 486.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.1536, allocations: 113.8 kB / 486.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.1541, allocations: 147.7 kB / 486.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.1572, allocations: 3.244 MB / 489.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.1577, allocations: 39.97 kB / 489.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.1578, allocations: 47.97 kB / 489.9 MB, free: 6.566 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.0004867/0.1583, allocations: 350.6 kB / 490.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.1584, allocations: 75.22 kB / 490.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.1596, allocations: 0.7896 MB / 491.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1596, allocations: 4 kB / 491.1 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1596, allocations: 3.938 kB / 491.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.1596, allocations: 3.984 kB / 491.1 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.1618, allocations: 1.543 MB / 492.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.1618, allocations: 4 kB / 492.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.1623, allocations: 116 kB / 492.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1624, allocations: 0 / 492.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.1624, allocations: 27.98 kB / 492.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1624, allocations: 0 / 492.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1624, allocations: 0 / 492.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.164, allocations: 1.218 MB / 494 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.1643, allocations: 180.2 kB / 494.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.1645, allocations: 16 kB / 494.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.1648, allocations: 31.97 kB / 494.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.1649, allocations: 40.33 kB / 494.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.1651, allocations: 63.91 kB / 494.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004411/0.1655, allocations: 391 kB / 494.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1655, allocations: 4.062 kB / 494.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007021/0.1662, allocations: 184 kB / 494.9 MB, free: 1.391 MB / 366.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.000159/0.1664, allocations: 124.8 kB / 495 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.1682, allocations: 1.097 MB / 496.1 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1682, allocations: 0 / 496.1 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.1688, allocations: 494.5 kB / 496.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/0.1697, allocations: 172.5 kB / 496.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.1725, allocations: 1.612 MB / 498.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.1732, allocations: 1.009 MB / 499.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1734, allocations: 55.42 kB / 499.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1734, allocations: 0 / 499.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0174/0.1908, allocations: 12.05 MB / 0.4995 GB, free: 0.6641 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)