Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 173.5 kB / 15.78 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008053/0.0008053, allocations: 98.22 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.177/0.177, allocations: 38.05 MB / 356.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004025, allocations: 12 kB / 422.7 MB, free: 26.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 56.33 MB / 479.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007523/0.1125, allocations: 6.745 MB / 485.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.1173, allocations: 2.639 MB / 488.4 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008678/0.1182, allocations: 43.69 kB / 488.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.1189, allocations: 198.6 kB / 488.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.121, allocations: 0.6807 MB / 489.4 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1222, allocations: 411.3 kB / 489.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.1241, allocations: 1.743 MB / 491.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.1254, allocations: 0.7101 MB / 492.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009956/0.1264, allocations: 485.9 kB / 492.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.1278, allocations: 0.7946 MB / 493.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.128, allocations: 36 kB / 493.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.1286, allocations: 183.7 kB / 493.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.1291, allocations: 494.8 kB / 494.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.1295, allocations: 209.1 kB / 494.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1306, allocations: 0.9781 MB / 495.4 MB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1306, allocations: 4 kB / 495.4 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1306, allocations: 0 / 495.4 MB, free: 1.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.486e-05/0.1307, allocations: 0 / 495.4 MB, free: 1.609 MB / 330.7 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.002438/0.1331, allocations: 1.147 MB / 496.5 MB, free: 412 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1331, allocations: 12.03 kB / 496.5 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1342, allocations: 206.4 kB / 496.7 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1355, allocations: 0.6579 MB / 497.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.1356, allocations: 61.98 kB / 497.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.1359, allocations: 91.97 kB / 497.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.1379, allocations: 1.376 MB / 498.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.138, allocations: 7.938 kB / 498.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/0.1381, allocations: 35.98 kB / 499 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002704/0.1384, allocations: 129.8 kB / 499.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.1401, allocations: 1.085 MB / 0.4884 GB, free: 12.61 MB / 346.7 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.006525/0.1466, allocations: 5.973 MB / 0.4943 GB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.1476, allocations: 0.6983 MB / 0.495 GB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.148, allocations: 319.2 kB / 0.4953 GB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.1481, allocations: 12.55 kB / 0.4953 GB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/0.1488, allocations: 484.5 kB / 0.4957 GB, free: 4.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=65): time 2.515e-06/0.1488, allocations: 0 / 0.4957 GB, free: 4.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.003169/0.1519, allocations: 2.14 MB / 0.4978 GB, free: 2.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.152, allocations: 162.8 kB / 0.498 GB, free: 2.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/0.1527, allocations: 0.6368 MB / 0.4986 GB, free: 1.695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.1528, allocations: 41.7 kB / 0.4986 GB, free: 1.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.1532, allocations: 0.5249 MB / 0.4992 GB, free: 1.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.1533, allocations: 236.8 kB / 0.4994 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1534, allocations: 20 kB / 0.4994 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1536, allocations: 386.8 kB / 0.4998 GB, free: 484 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.1541, allocations: 334.4 kB / 0.5001 GB, free: 148 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.1548, allocations: 0.7659 MB / 0.5008 GB, free: 15.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.1555, allocations: 0.4956 MB / 0.5013 GB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.1555, allocations: 4 kB / 0.5013 GB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002334/0.1579, allocations: 1.427 MB / 0.5027 GB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.1579, allocations: 45.64 kB / 0.5028 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001353/0.1593, allocations: 0.7859 MB / 0.5035 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.16, allocations: 249.5 kB / 0.5038 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.1607, allocations: 223.6 kB / 0.504 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.1649, allocations: 4.029 MB / 0.5079 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.1656, allocations: 51.97 kB / 0.508 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.1657, allocations: 68.09 kB / 0.508 GB, free: 7.492 MB / 362.7 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,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005739/0.1663, allocations: 402.9 kB / 0.5084 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1664, allocations: 83.02 kB / 0.5085 GB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1677, allocations: 0.8437 MB / 0.5093 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1677, allocations: 12 kB / 0.5093 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1678, allocations: 0 / 0.5093 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1678, allocations: 3.984 kB / 0.5093 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.1705, allocations: 1.764 MB / 0.5111 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1705, allocations: 0 / 0.5111 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.1712, allocations: 151.8 kB / 0.5112 GB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.1712, allocations: 4 kB / 0.5112 GB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.1713, allocations: 20.03 kB / 0.5112 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1713, allocations: 4 kB / 0.5112 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1713, allocations: 7.984 kB / 0.5112 GB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.1731, allocations: 1.301 MB / 0.5125 GB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.1734, allocations: 204.1 kB / 0.5127 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.1735, allocations: 16 kB / 0.5127 GB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.1739, allocations: 43.84 kB / 0.5128 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.174, allocations: 40.5 kB / 0.5128 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.174, allocations: 39.97 kB / 0.5128 GB, free: 2.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004939/0.1745, allocations: 431 kB / 0.5132 GB, free: 1.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1745, allocations: 0 / 0.5132 GB, free: 1.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008274/0.1754, allocations: 232 kB / 0.5135 GB, free: 1.758 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001774/0.1756, allocations: 119.2 kB / 0.5136 GB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.1773, allocations: 1.222 MB / 0.5148 GB, free: 380 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1774, allocations: 0.5625 kB / 0.5148 GB, free: 380 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1659/0.3433, allocations: 464.4 kB / 0.5152 GB, free: 52.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.3443, allocations: 126.7 kB / 0.5153 GB, free: 52.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.3477, allocations: 2.453 MB / 0.5177 GB, free: 51.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.3484, allocations: 1.119 MB / 0.5188 GB, free: 50.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.3487, allocations: 67.75 kB / 0.5189 GB, free: 50.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3487, allocations: 0 / 0.5189 GB, free: 50.88 MB / 362.7 MB Notification: Performance of Templates: time 0.02097/0.3697, allocations: 13.88 MB / 0.5324 GB, free: 46 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)