Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001016/0.001016, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.45/1.45, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1831/0.1831, allocations: 38.04 MB / 329.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 458.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4452, allocations: 58.07 MB / 0.5041 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008342/0.4536, allocations: 6.522 MB / 0.5105 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.4592, allocations: 2.44 MB / 0.5129 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.4601, allocations: 25.97 kB / 0.5129 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.462, allocations: 0.6044 MB / 0.5135 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.4641, allocations: 0.681 MB / 0.5141 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.4658, allocations: 455.4 kB / 0.5146 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.4684, allocations: 1.362 MB / 0.5159 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009827/0.4693, allocations: 487.4 kB / 0.5164 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.4708, allocations: 0.5707 MB / 0.5169 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.4737, allocations: 0.785 MB / 0.5177 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000355/0.4741, allocations: 79.34 kB / 0.5178 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.4756, allocations: 278.5 kB / 0.518 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.4768, allocations: 0.5162 MB / 0.5185 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.478, allocations: 0.5273 MB / 0.519 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.4812, allocations: 1.332 MB / 0.5203 GB, free: 14.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4812, allocations: 0.7969 kB / 0.5203 GB, free: 14.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4812, allocations: 0.9688 kB / 0.5203 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.4812, allocations: 0 / 0.5203 GB, free: 14.36 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003281/0.4845, allocations: 1.349 MB / 0.5217 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4846, allocations: 13.94 kB / 0.5217 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4857, allocations: 205 kB / 0.5219 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.4871, allocations: 0.7153 MB / 0.5226 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-05/0.4872, allocations: 63.36 kB / 0.5226 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.4875, allocations: 99.73 kB / 0.5227 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.4902, allocations: 1.399 MB / 0.5241 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.4902, allocations: 10.52 kB / 0.5241 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.967e-05/0.4904, allocations: 33.98 kB / 0.5241 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003289/0.4907, allocations: 121.3 kB / 0.5243 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.4928, allocations: 1.092 MB / 0.5253 GB, free: 11.8 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.00799/0.5008, allocations: 5.943 MB / 0.5311 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.5021, allocations: 0.7077 MB / 0.5318 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.5027, allocations: 331.9 kB / 0.5321 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.108e-05/0.5028, allocations: 7.344 kB / 0.5321 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000844/0.5036, allocations: 476.4 kB / 0.5326 GB, free: 6.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.014e-06/0.5036, allocations: 0 / 0.5326 GB, free: 6.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.004421/0.508, allocations: 2.178 MB / 0.5347 GB, free: 4.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5082, allocations: 167.8 kB / 0.5349 GB, free: 4.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008891/0.5091, allocations: 0.6379 MB / 0.5355 GB, free: 4.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.5091, allocations: 37.8 kB / 0.5355 GB, free: 4.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.5096, allocations: 0.5425 MB / 0.5361 GB, free: 3.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.5098, allocations: 241.5 kB / 0.5363 GB, free: 3.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.5102, allocations: 204.8 kB / 0.5365 GB, free: 3.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5104, allocations: 391.8 kB / 0.5369 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000654/0.5111, allocations: 347.6 kB / 0.5372 GB, free: 2.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.5121, allocations: 0.7657 MB / 0.5379 GB, free: 2.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.5141, allocations: 1.243 MB / 0.5392 GB, free: 1.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.5141, allocations: 4.25 kB / 0.5392 GB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002956/0.5171, allocations: 1.443 MB / 0.5406 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.5172, allocations: 42.92 kB / 0.5406 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001548/0.5187, allocations: 0.789 MB / 0.5414 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008412/0.5196, allocations: 247.1 kB / 0.5416 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.5203, allocations: 221.1 kB / 0.5418 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.5259, allocations: 4.379 MB / 0.5461 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.5269, allocations: 59.3 kB / 0.5462 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.527, allocations: 60.42 kB / 0.5462 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007824/0.5278, allocations: 399.7 kB / 0.5466 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.528, allocations: 87.41 kB / 0.5467 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.5293, allocations: 0.8516 MB / 0.5475 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5293, allocations: 8 kB / 0.5475 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5293, allocations: 0 / 0.5475 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5293, allocations: 3.984 kB / 0.5475 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.5321, allocations: 1.764 MB / 0.5492 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5321, allocations: 0 / 0.5492 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.5328, allocations: 155.8 kB / 0.5494 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.5329, allocations: 7.938 kB / 0.5494 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.5329, allocations: 16 kB / 0.5494 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.5329, allocations: 8 kB / 0.5494 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5329, allocations: 3.984 kB / 0.5494 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5348, allocations: 1.317 MB / 0.5507 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.5352, allocations: 204.6 kB / 0.5509 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.5353, allocations: 16 kB / 0.5509 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5356, allocations: 31.97 kB / 0.551 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5357, allocations: 44.44 kB / 0.551 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.5358, allocations: 43.89 kB / 0.551 GB, free: 6.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006873/0.5365, allocations: 431 kB / 0.5515 GB, free: 6.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5365, allocations: 0 / 0.5515 GB, free: 6.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001283/0.5378, allocations: 228 kB / 0.5517 GB, free: 6.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002266/0.5381, allocations: 123.1 kB / 0.5518 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.5403, allocations: 1.241 MB / 0.553 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5403, allocations: 0.5 kB / 0.553 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.541, allocations: 466.3 kB / 0.5534 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008267/0.5419, allocations: 151 kB / 0.5536 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.5453, allocations: 2.009 MB / 0.5556 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009499/0.5463, allocations: 1.11 MB / 0.5566 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007135/0.547, allocations: 294.4 kB / 0.5569 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.5472, allocations: 59.42 kB / 0.557 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5472, allocations: 4 kB / 0.557 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of Templates: time 0.01698/0.5642, allocations: 8.766 MB / 0.5655 GB, free: 7.953 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)