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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001409/0.001409, allocations: 107.2 kB / 17.74 MB, free: 5.359 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.001462/0.001462, allocations: 184.1 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1947/0.1947, allocations: 37.98 MB / 309.9 MB, free: 5.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1088, allocations: 55.25 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01073/0.1195, allocations: 9.085 MB / 496.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.1258, allocations: 3.412 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.1268, allocations: 39.75 kB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.1297, allocations: 1.035 MB / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.1324, allocations: 1.101 MB / 0.4907 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1344, allocations: 0.6899 MB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.1377, allocations: 2.39 MB / 0.4937 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.139, allocations: 0.819 MB / 0.4945 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.1409, allocations: 1 MB / 0.4955 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.1433, allocations: 1.336 MB / 0.4968 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00047/0.1438, allocations: 132 kB / 0.4969 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1453, allocations: 0.5811 MB / 0.4975 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.1465, allocations: 0.9275 MB / 0.4984 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.1481, allocations: 0.8979 MB / 0.4992 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.1514, allocations: 2.34 MB / 0.5015 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1514, allocations: 7.922 kB / 0.5015 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1514, allocations: 0 / 0.5015 GB, free: 14.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-05/0.1515, allocations: 0 / 0.5015 GB, free: 14.45 MB / 398.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.004364/0.1559, allocations: 2.015 MB / 0.5035 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1559, allocations: 11.89 kB / 0.5035 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.158, allocations: 354.3 kB / 0.5038 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.1602, allocations: 1.075 MB / 0.5049 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1604, allocations: 107.1 kB / 0.505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005417/0.1609, allocations: 171.9 kB / 0.5052 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004076/0.165, allocations: 2.328 MB / 0.5074 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.1651, allocations: 11.94 kB / 0.5074 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.1653, allocations: 59.97 kB / 0.5075 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005664/0.1659, allocations: 222.8 kB / 0.5077 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.1693, allocations: 1.846 MB / 0.5095 GB, free: 5.988 MB / 398.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.013/0.1823, allocations: 9.512 MB / 0.5188 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.1847, allocations: 1.544 MB / 0.5203 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009024/0.1856, allocations: 0.6098 MB / 0.5209 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.1857, allocations: 16.98 kB / 0.5209 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.187, allocations: 0.8529 MB / 0.5218 GB, free: 8.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.967e-06/0.187, allocations: 0 / 0.5218 GB, free: 8.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006585/0.1936, allocations: 4.011 MB / 0.5257 GB, free: 4.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.1938, allocations: 282.3 kB / 0.5259 GB, free: 4.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.195, allocations: 0.9185 MB / 0.5268 GB, free: 3.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/0.1951, allocations: 53.95 kB / 0.5269 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.1957, allocations: 0.7628 MB / 0.5276 GB, free: 2.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.196, allocations: 457.6 kB / 0.5281 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.1965, allocations: 323.2 kB / 0.5284 GB, free: 1.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1966, allocations: 361.9 kB / 0.5287 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.1975, allocations: 0.5739 MB / 0.5293 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2394/0.4369, allocations: 1.173 MB / 0.5304 GB, free: 50.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.4396, allocations: 2 MB / 0.5324 GB, free: 49.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.4397, allocations: 5.5 kB / 0.5324 GB, free: 49.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.0046/0.4443, allocations: 2.497 MB / 0.5348 GB, free: 48.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.4444, allocations: 70.92 kB / 0.5349 GB, free: 48.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002975/0.4474, allocations: 1.565 MB / 0.5364 GB, free: 48.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.4492, allocations: 0.545 MB / 0.537 GB, free: 48.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4504, allocations: 329 kB / 0.5373 GB, free: 48.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.4607, allocations: 9.448 MB / 0.5465 GB, free: 41.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.462, allocations: 73.45 kB / 0.5466 GB, free: 41.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/0.4624, allocations: 102 kB / 0.5467 GB, free: 41.06 MB / 414.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.001297/0.4637, allocations: 0.6101 MB / 0.5473 GB, free: 40.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.464, allocations: 124.2 kB / 0.5474 GB, free: 40.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.4666, allocations: 1.535 MB / 0.5489 GB, free: 40.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.4666, allocations: 12.28 kB / 0.5489 GB, free: 40.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4666, allocations: 1.094 kB / 0.5489 GB, free: 40.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.4666, allocations: 7.375 kB / 0.5489 GB, free: 40.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.4721, allocations: 3.072 MB / 0.5519 GB, free: 38.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4721, allocations: 3.266 kB / 0.5519 GB, free: 38.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.4735, allocations: 298 kB / 0.5522 GB, free: 38.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/0.4736, allocations: 6.594 kB / 0.5522 GB, free: 38.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.4737, allocations: 38.81 kB / 0.5522 GB, free: 38.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/0.4737, allocations: 10.73 kB / 0.5522 GB, free: 38.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4737, allocations: 2.406 kB / 0.5522 GB, free: 38.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.4768, allocations: 2.324 MB / 0.5545 GB, free: 37.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.4774, allocations: 290.5 kB / 0.5548 GB, free: 37.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.4777, allocations: 35.22 kB / 0.5548 GB, free: 37.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.4784, allocations: 46.2 kB / 0.5549 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4786, allocations: 83.5 kB / 0.5549 GB, free: 37.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.4787, allocations: 78.41 kB / 0.555 GB, free: 37.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00092/0.4796, allocations: 0.6045 MB / 0.5556 GB, free: 37.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4796, allocations: 0 / 0.5556 GB, free: 37.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001923/0.4816, allocations: 421.5 kB / 0.556 GB, free: 37.23 MB / 414.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.0002498/0.4818, allocations: 139.9 kB / 0.5561 GB, free: 37.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.4853, allocations: 2.34 MB / 0.5584 GB, free: 35.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4853, allocations: 0 / 0.5584 GB, free: 35.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4863, allocations: 0.8743 MB / 0.5593 GB, free: 35.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.4876, allocations: 223.5 kB / 0.5595 GB, free: 35.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.4934, allocations: 3.503 MB / 0.5629 GB, free: 33.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.4945, allocations: 1.457 MB / 0.5643 GB, free: 31.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.4949, allocations: 107.4 kB / 0.5644 GB, free: 31.66 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4949, allocations: 0 / 0.5644 GB, free: 31.66 MB / 414.1 MB Notification: Performance of Templates: time 0.03034/0.5252, allocations: 28.19 MB / 0.592 GB, free: 3.41 MB / 414.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)