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.001281/0.001281, allocations: 111.8 kB / 17.06 MB, free: 6 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.001168/0.001168, allocations: 190.9 kB / 18 MB, free: 5.082 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1744/0.1744, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4207, allocations: 58.05 MB / 0.5041 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.01228/0.433, allocations: 6.533 MB / 0.5105 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006283/0.4394, allocations: 2.433 MB / 0.5128 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/0.4401, allocations: 23.66 kB / 0.5129 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.4419, allocations: 0.6078 MB / 0.5135 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.4439, allocations: 0.6908 MB / 0.5141 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.4453, allocations: 455.7 kB / 0.5146 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.4477, allocations: 1.362 MB / 0.5159 GB, free: 88 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.4488, allocations: 488 kB / 0.5164 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.4505, allocations: 0.583 MB / 0.5169 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.4526, allocations: 0.7854 MB / 0.5177 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.453, allocations: 75.09 kB / 0.5178 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.4539, allocations: 274 kB / 0.518 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007564/0.4546, allocations: 0.5166 MB / 0.5185 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007194/0.4554, allocations: 0.5386 MB / 0.5191 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.4572, allocations: 1.327 MB / 0.5204 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4573, allocations: 0 / 0.5204 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4573, allocations: 0 / 0.5204 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.4573, allocations: 1.25 kB / 0.5204 GB, free: 14.32 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.002656/0.46, allocations: 1.319 MB / 0.5217 GB, free: 13.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.46, allocations: 13.23 kB / 0.5217 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.4611, allocations: 201.4 kB / 0.5219 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4624, allocations: 0.7183 MB / 0.5226 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.4625, allocations: 58.89 kB / 0.5226 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.4627, allocations: 95.19 kB / 0.5227 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.465, allocations: 1.391 MB / 0.5241 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.479e-05/0.4651, allocations: 7.844 kB / 0.5241 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.4652, allocations: 42.92 kB / 0.5241 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002973/0.4655, allocations: 115.2 kB / 0.5242 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.4674, allocations: 1.098 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.006724/0.4742, allocations: 5.934 MB / 0.5311 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4752, allocations: 0.7087 MB / 0.5318 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.4757, allocations: 323.6 kB / 0.5321 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.4758, allocations: 7.469 kB / 0.5321 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006709/0.4764, allocations: 476.6 kB / 0.5326 GB, free: 6.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.083e-06/0.4764, allocations: 0 / 0.5326 GB, free: 6.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003412/0.4799, allocations: 2.152 MB / 0.5347 GB, free: 4.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.48, allocations: 171.6 kB / 0.5348 GB, free: 4.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/0.4808, allocations: 0.637 MB / 0.5354 GB, free: 4.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.4808, allocations: 37.39 kB / 0.5355 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.4812, allocations: 0.5294 MB / 0.536 GB, free: 3.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.4814, allocations: 228.8 kB / 0.5362 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.4817, allocations: 204.7 kB / 0.5364 GB, free: 3.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4819, allocations: 392 kB / 0.5368 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.4824, allocations: 337.7 kB / 0.5371 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.4832, allocations: 0.7777 MB / 0.5379 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.4847, allocations: 1.239 MB / 0.5391 GB, free: 1.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.4847, allocations: 4.531 kB / 0.5391 GB, free: 1.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002539/0.4873, allocations: 1.436 MB / 0.5405 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.4873, allocations: 45.5 kB / 0.5405 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001419/0.4888, allocations: 0.7935 MB / 0.5413 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.4895, allocations: 251.8 kB / 0.5415 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.4901, allocations: 208.6 kB / 0.5417 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00484/0.495, allocations: 4.373 MB / 0.546 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009279/0.496, allocations: 58.47 kB / 0.5461 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.4961, allocations: 68 kB / 0.5461 GB, free: 12.02 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.0007026/0.4968, allocations: 402.9 kB / 0.5465 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4969, allocations: 75.09 kB / 0.5466 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.4982, allocations: 0.8554 MB / 0.5474 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4983, allocations: 4 kB / 0.5474 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4983, allocations: 0 / 0.5474 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4983, allocations: 11.98 kB / 0.5474 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.5009, allocations: 1.756 MB / 0.5491 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5009, allocations: 7.938 kB / 0.5492 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.5016, allocations: 156 kB / 0.5493 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5016, allocations: 4 kB / 0.5493 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.5017, allocations: 23.98 kB / 0.5493 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5017, allocations: 4 kB / 0.5493 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5017, allocations: 4 kB / 0.5493 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5034, allocations: 1.305 MB / 0.5506 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.5037, allocations: 204.1 kB / 0.5508 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.5038, allocations: 16 kB / 0.5508 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.5041, allocations: 31.97 kB / 0.5509 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5042, allocations: 52.44 kB / 0.5509 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.5043, allocations: 39.91 kB / 0.5509 GB, free: 6.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005003/0.5048, allocations: 427 kB / 0.5513 GB, free: 6.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5048, allocations: 0 / 0.5513 GB, free: 6.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000991/0.5058, allocations: 232 kB / 0.5516 GB, free: 6.348 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.0001525/0.506, allocations: 119.1 kB / 0.5517 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.5078, allocations: 1.24 MB / 0.5529 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5078, allocations: 1.75 kB / 0.5529 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.5084, allocations: 470.3 kB / 0.5533 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.5091, allocations: 137.5 kB / 0.5535 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.5123, allocations: 1.979 MB / 0.5554 GB, free: 2.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.513, allocations: 1.118 MB / 0.5565 GB, free: 1.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000657/0.5137, allocations: 286.4 kB / 0.5568 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.5139, allocations: 63.42 kB / 0.5568 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5139, allocations: 0 / 0.5568 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Templates: time 0.01526/0.5291, allocations: 8.771 MB / 0.5654 GB, free: 8.105 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)