Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 112.1 kB / 16.62 MB, free: 6.812 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.001451/0.001452, allocations: 190 kB / 17.55 MB, free: 5.934 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.439/1.439, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1945/0.1945, allocations: 38.03 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 64.67 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1153, allocations: 58.06 MB / 456.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01181/0.1272, allocations: 10.72 MB / 467 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.1349, allocations: 3.86 MB / 470.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.1367, allocations: 67.56 kB / 471 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.1397, allocations: 0.9729 MB / 471.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.1432, allocations: 1.024 MB / 473 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.1452, allocations: 0.6396 MB / 473.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.1487, allocations: 2.398 MB / 476 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.1502, allocations: 0.8698 MB / 476.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.1525, allocations: 1.008 MB / 477.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.1555, allocations: 1.461 MB / 479.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.1561, allocations: 128 kB / 479.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.158, allocations: 0.5773 MB / 480 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.1595, allocations: 0.9391 MB / 481 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.1613, allocations: 0.8979 MB / 481.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.1645, allocations: 2.313 MB / 484.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1645, allocations: 0 / 484.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1645, allocations: 4 kB / 484.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.911e-05/0.1646, allocations: 0 / 484.2 MB, free: 12.44 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.004755/0.1694, allocations: 2.011 MB / 486.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1694, allocations: 11.89 kB / 486.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.1714, allocations: 354.4 kB / 486.6 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.1732, allocations: 1.028 MB / 487.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.1733, allocations: 107.1 kB / 487.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.1737, allocations: 160.1 kB / 487.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/0.1774, allocations: 2.324 MB / 490.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.733e-05/0.1775, allocations: 11.84 kB / 490.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.1777, allocations: 67.91 kB / 490.3 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005178/0.1782, allocations: 226.8 kB / 490.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.1813, allocations: 1.846 MB / 492.3 MB, free: 4.031 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.1933, allocations: 9.579 MB / 0.4901 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.1956, allocations: 1.547 MB / 0.4917 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.1964, allocations: 0.6026 MB / 0.4922 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.296e-05/0.1966, allocations: 20.98 kB / 0.4923 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.1977, allocations: 0.8527 MB / 0.4931 GB, free: 6.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.196e-06/0.1977, allocations: 0 / 0.4931 GB, free: 6.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.006801/0.2045, allocations: 4.011 MB / 0.497 GB, free: 2.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.2047, allocations: 290.3 kB / 0.4973 GB, free: 2.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.2059, allocations: 0.9107 MB / 0.4982 GB, free: 1.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/0.206, allocations: 49.7 kB / 0.4982 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/0.2066, allocations: 0.7708 MB / 0.499 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.207, allocations: 453.7 kB / 0.4994 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004885/0.2075, allocations: 319.3 kB / 0.4997 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.2078, allocations: 361.9 kB / 0.5001 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/0.2087, allocations: 0.5777 MB / 0.5006 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.21, allocations: 1.17 MB / 0.5018 GB, free: 13.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.2126, allocations: 2.008 MB / 0.5037 GB, free: 11.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.2126, allocations: 4 kB / 0.5037 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004421/0.2171, allocations: 2.498 MB / 0.5062 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.2171, allocations: 63.41 kB / 0.5062 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002863/0.22, allocations: 1.577 MB / 0.5078 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.2218, allocations: 0.545 MB / 0.5083 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.223, allocations: 335.4 kB / 0.5086 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2175/0.4405, allocations: 9.449 MB / 0.5179 GB, free: 66.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4417, allocations: 75.61 kB / 0.5179 GB, free: 66.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.4419, allocations: 108.3 kB / 0.518 GB, free: 66.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000924/0.4428, allocations: 0.5937 MB / 0.5186 GB, free: 66.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.443, allocations: 126 kB / 0.5187 GB, free: 66.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.4453, allocations: 1.537 MB / 0.5202 GB, free: 65.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4454, allocations: 11.78 kB / 0.5202 GB, free: 65.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4454, allocations: 5 kB / 0.5202 GB, free: 65.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.4454, allocations: 7.391 kB / 0.5203 GB, free: 65.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.4498, allocations: 3.074 MB / 0.5233 GB, free: 64.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4498, allocations: 1.25 kB / 0.5233 GB, free: 64.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.4513, allocations: 296.5 kB / 0.5235 GB, free: 64.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.4513, allocations: 6.844 kB / 0.5235 GB, free: 64.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/0.4514, allocations: 34.78 kB / 0.5236 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.4514, allocations: 9.531 kB / 0.5236 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4514, allocations: 2.188 kB / 0.5236 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.455, allocations: 2.321 MB / 0.5259 GB, free: 63.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/0.4556, allocations: 294.1 kB / 0.5261 GB, free: 63.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.4558, allocations: 31.83 kB / 0.5262 GB, free: 63.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.4564, allocations: 46.69 kB / 0.5262 GB, free: 63.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.4566, allocations: 82.92 kB / 0.5263 GB, free: 63.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.4567, allocations: 77.69 kB / 0.5264 GB, free: 63.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00081/0.4575, allocations: 0.6022 MB / 0.527 GB, free: 63.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4576, allocations: 2.594 kB / 0.527 GB, free: 63.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4592, allocations: 426.3 kB / 0.5274 GB, free: 63.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.0002299/0.4595, allocations: 147.8 kB / 0.5275 GB, free: 62.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005033/0.4645, allocations: 2.994 MB / 0.5304 GB, free: 61.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4645, allocations: 0 / 0.5304 GB, free: 61.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4656, allocations: 0.8744 MB / 0.5313 GB, free: 61.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4668, allocations: 222.7 kB / 0.5315 GB, free: 61.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/0.4737, allocations: 4.074 MB / 0.5355 GB, free: 59.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.475, allocations: 1.46 MB / 0.5369 GB, free: 58.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.4762, allocations: 462.4 kB / 0.5373 GB, free: 58.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4765, allocations: 93.89 kB / 0.5374 GB, free: 58.29 MB / 398.1 MB Notification: Performance of SimCode: time 2.304e-06/0.4765, allocations: 0 / 0.5374 GB, free: 58.29 MB / 398.1 MB Notification: Performance of Templates: time 0.02214/0.4986, allocations: 15.18 MB / 0.5522 GB, free: 46.96 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)