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.001143/0.001143, allocations: 112.7 kB / 17.07 MB, free: 5.988 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.001061/0.001061, allocations: 191 kB / 18 MB, free: 5.078 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.401/1.401, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1763/0.1763, allocations: 38.04 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 458.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4258, allocations: 58.05 MB / 0.5041 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.009681/0.4355, allocations: 9.078 MB / 0.513 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.4425, allocations: 3.364 MB / 0.5162 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.444, allocations: 35 kB / 0.5163 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.4471, allocations: 1.05 MB / 0.5173 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.4512, allocations: 1.101 MB / 0.5184 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.4537, allocations: 0.6895 MB / 0.5191 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005891/0.4597, allocations: 2.384 MB / 0.5214 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.4619, allocations: 0.8167 MB / 0.5222 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.4649, allocations: 0.9826 MB / 0.5231 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003521/0.4684, allocations: 1.338 MB / 0.5244 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.4688, allocations: 128.5 kB / 0.5246 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.4708, allocations: 0.5766 MB / 0.5251 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.4726, allocations: 0.9248 MB / 0.526 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.4744, allocations: 0.905 MB / 0.5269 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004316/0.4787, allocations: 2.351 MB / 0.5292 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4787, allocations: 0 / 0.5292 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.868e-06/0.4788, allocations: 0 / 0.5292 GB, free: 9.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.727e-05/0.4788, allocations: 3.938 kB / 0.5292 GB, free: 9.234 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.004191/0.483, allocations: 2.066 MB / 0.5312 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4831, allocations: 13.8 kB / 0.5312 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.485, allocations: 362.9 kB / 0.5316 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.487, allocations: 1.082 MB / 0.5326 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.4871, allocations: 107.9 kB / 0.5328 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.4874, allocations: 170.6 kB / 0.5329 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.4911, allocations: 2.323 MB / 0.5352 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.4912, allocations: 12.44 kB / 0.5352 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.4913, allocations: 60.22 kB / 0.5353 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005243/0.4918, allocations: 222 kB / 0.5355 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.4955, allocations: 1.852 MB / 0.5373 GB, free: 4.129 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.01167/0.5072, allocations: 9.541 MB / 0.5466 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.5096, allocations: 1.544 MB / 0.5481 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/0.5104, allocations: 0.602 MB / 0.5487 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/0.5105, allocations: 20.98 kB / 0.5487 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.5116, allocations: 0.8605 MB / 0.5495 GB, free: 9.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.137e-06/0.5116, allocations: 0 / 0.5495 GB, free: 9.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006456/0.5181, allocations: 4.068 MB / 0.5535 GB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.5183, allocations: 282.3 kB / 0.5538 GB, free: 4.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5195, allocations: 0.9225 MB / 0.5547 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.5196, allocations: 49.7 kB / 0.5547 GB, free: 3.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.5203, allocations: 0.781 MB / 0.5555 GB, free: 2.867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.5207, allocations: 480 kB / 0.556 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.5212, allocations: 323.4 kB / 0.5563 GB, free: 2.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5214, allocations: 366 kB / 0.5566 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008989/0.5223, allocations: 0.5778 MB / 0.5572 GB, free: 1.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.5237, allocations: 1.178 MB / 0.5583 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.5262, allocations: 1.997 MB / 0.5603 GB, free: 13.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.5262, allocations: 8 kB / 0.5603 GB, free: 13.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004532/0.5308, allocations: 2.507 MB / 0.5627 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.5308, allocations: 67.39 kB / 0.5628 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002778/0.5336, allocations: 1.567 MB / 0.5643 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.5352, allocations: 0.5418 MB / 0.5649 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5363, allocations: 327.5 kB / 0.5652 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.5468, allocations: 9.461 MB / 0.5744 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5482, allocations: 75.98 kB / 0.5745 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.5484, allocations: 103.9 kB / 0.5746 GB, free: 14.14 MB / 446.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.001038/0.5494, allocations: 0.5919 MB / 0.5752 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5496, allocations: 135.2 kB / 0.5753 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.5519, allocations: 1.543 MB / 0.5768 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5519, allocations: 12 kB / 0.5768 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5519, allocations: 7.875 kB / 0.5768 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.5519, allocations: 3.984 kB / 0.5768 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/0.5564, allocations: 3.06 MB / 0.5798 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.5564, allocations: 4 kB / 0.5798 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.5577, allocations: 295.8 kB / 0.5801 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.5577, allocations: 8 kB / 0.5801 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/0.5578, allocations: 47.97 kB / 0.5801 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.5578, allocations: 4 kB / 0.5801 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.5578, allocations: 4 kB / 0.5802 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.5608, allocations: 2.334 MB / 0.5824 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/0.5613, allocations: 304.2 kB / 0.5827 GB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.5615, allocations: 28 kB / 0.5827 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.562, allocations: 39.97 kB / 0.5828 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5622, allocations: 80.83 kB / 0.5829 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5623, allocations: 83.84 kB / 0.5829 GB, free: 5.371 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007661/0.5631, allocations: 0.6025 MB / 0.5835 GB, free: 4.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5631, allocations: 0 / 0.5835 GB, free: 4.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001438/0.5645, allocations: 424 kB / 0.5839 GB, free: 4.344 MB / 446.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.0001916/0.5647, allocations: 148.6 kB / 0.5841 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003285/0.568, allocations: 2.331 MB / 0.5864 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.568, allocations: 0 / 0.5864 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5691, allocations: 0.8804 MB / 0.5872 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5702, allocations: 216.1 kB / 0.5874 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.5751, allocations: 3.411 MB / 0.5908 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.5762, allocations: 1.465 MB / 0.5922 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.5773, allocations: 474.3 kB / 0.5926 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.5775, allocations: 95.42 kB / 0.5927 GB, free: 11.14 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5775, allocations: 0 / 0.5927 GB, free: 11.14 MB / 462.1 MB Notification: Performance of Templates: time 0.02631/0.6038, allocations: 15.7 MB / 0.6081 GB, free: 11.54 MB / 478.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)