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.0009395/0.0009395, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001205/0.001205, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.567/1.567, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1808/0.1808, allocations: 38.08 MB / 330.8 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8.875 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 59.17 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009959/0.1331, allocations: 8.489 MB / 468.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.1383, allocations: 2.201 MB / 470.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.1395, allocations: 63.56 kB / 470.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008707/0.1404, allocations: 210.8 kB / 470.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.1421, allocations: 0.5213 MB / 471.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.1427, allocations: 195.8 kB / 471.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.1451, allocations: 1.944 MB / 473.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005598/0.1457, allocations: 294.5 kB / 473.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.1467, allocations: 465.7 kB / 474.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.148, allocations: 0.654 MB / 474.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1482, allocations: 32 kB / 474.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1483, allocations: 40 kB / 475 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.1486, allocations: 299.1 kB / 475.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.1491, allocations: 423.4 kB / 475.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.1498, allocations: 0.8561 MB / 476.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1498, allocations: 0 / 476.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1499, allocations: 0 / 476.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1499, allocations: 0 / 476.5 MB, free: 6.367 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.001781/0.1517, allocations: 1.077 MB / 477.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1517, allocations: 8.031 kB / 477.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1519, allocations: 107.7 kB / 477.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1529, allocations: 0.6564 MB / 478.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.153, allocations: 49.25 kB / 478.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1531, allocations: 63.98 kB / 478.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.1543, allocations: 0.8137 MB / 479.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1544, allocations: 0 / 479.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.1544, allocations: 27.98 kB / 479.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/0.1545, allocations: 41.23 kB / 479.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/0.1555, allocations: 0.614 MB / 480 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.159, allocations: 2.645 MB / 482.6 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.1599, allocations: 0.6028 MB / 483.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.1605, allocations: 372 kB / 483.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1606, allocations: 4.438 kB / 483.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.1612, allocations: 491 kB / 484.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.745e-06/0.1612, allocations: 4 kB / 484.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.00294/0.1641, allocations: 1.981 MB / 486 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.1643, allocations: 263.7 kB / 486.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/0.165, allocations: 0.5625 MB / 486.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.1651, allocations: 41.7 kB / 486.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.1654, allocations: 399.4 kB / 487.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.1656, allocations: 209.2 kB / 487.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1657, allocations: 81.67 kB / 487.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1659, allocations: 378.8 kB / 488 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.1663, allocations: 225.9 kB / 488.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.1669, allocations: 453.8 kB / 488.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/0.1678, allocations: 0.8051 MB / 489.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1678, allocations: 4 kB / 489.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001573/0.1694, allocations: 0.9365 MB / 490.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.1695, allocations: 67.39 kB / 490.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.1695, allocations: 8 kB / 490.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.17, allocations: 113.8 kB / 490.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.1705, allocations: 147.7 kB / 490.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.1732, allocations: 2.992 MB / 493.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.1737, allocations: 43.97 kB / 493.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.1738, allocations: 47.97 kB / 493.8 MB, free: 4.055 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.0004519/0.1743, allocations: 362.6 kB / 494.1 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.1744, allocations: 79.31 kB / 494.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.1756, allocations: 0.7857 MB / 495 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1757, allocations: 7.984 kB / 495 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1757, allocations: 4 kB / 495 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1757, allocations: 7.984 kB / 495 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.1777, allocations: 1.546 MB / 496.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1777, allocations: 4.031 kB / 496.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.1782, allocations: 111.9 kB / 496.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.1782, allocations: 4 kB / 496.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.1782, allocations: 16 kB / 496.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.1783, allocations: 3.984 kB / 496.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1783, allocations: 7.938 kB / 496.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.1798, allocations: 1.207 MB / 497.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1801, allocations: 188.1 kB / 498.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.1802, allocations: 16 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.1805, allocations: 31.97 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.1806, allocations: 36.33 kB / 498.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/0.1807, allocations: 67.98 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.1811, allocations: 391 kB / 498.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1811, allocations: 0 / 498.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006363/0.1817, allocations: 184 kB / 498.8 MB, free: 14.86 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.000157/0.1819, allocations: 131 kB / 498.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.1834, allocations: 1.008 MB / 499.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1834, allocations: 0.5 kB / 499.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.184, allocations: 0.4933 MB / 0.4887 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/0.185, allocations: 142.1 kB / 0.4888 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.1878, allocations: 1.892 MB / 0.4907 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.1885, allocations: 1.013 MB / 0.4917 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.189, allocations: 157.8 kB / 0.4918 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1892, allocations: 51.44 kB / 0.4919 GB, free: 9.824 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1892, allocations: 0 / 0.4919 GB, free: 9.824 MB / 382.1 MB Notification: Performance of Templates: time 0.01577/0.205, allocations: 6.865 MB / 0.4986 GB, free: 3.027 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)