Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00148/0.001486, allocations: 178.7 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.45/1.45, allocations: 194.5 MB / 212.6 MB, free: 2.855 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001628/0.001627, allocations: 117.7 kB / 257.9 MB, free: 4.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1792/0.1792, allocations: 38.02 MB / 341.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5219, allocations: 107.2 MB / 0.5522 GB, free: 4.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/0.5223, allocations: 101.3 kB / 0.5523 GB, free: 4.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08116/0.6035, allocations: 29.47 MB / 0.5811 GB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6036, allocations: 0 / 0.5811 GB, free: 10.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.843e-05/0.6037, allocations: 16 kB / 0.5811 GB, free: 10.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002615/0.6063, allocations: 1.122 MB / 0.5822 GB, free: 9.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6063, allocations: 8.031 kB / 0.5822 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.6075, allocations: 195.2 kB / 0.5824 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.6095, allocations: 0.8838 MB / 0.5832 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.6095, allocations: 64.61 kB / 0.5833 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.6098, allocations: 90.61 kB / 0.5834 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.6115, allocations: 1.097 MB / 0.5845 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.6116, allocations: 4 kB / 0.5845 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.6117, allocations: 35.55 kB / 0.5845 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.6118, allocations: 65.78 kB / 0.5846 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.6132, allocations: 0.8781 MB / 0.5854 GB, free: 6.973 MB / 394.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.005405/0.6186, allocations: 4.088 MB / 0.5894 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.6192, allocations: 422.2 kB / 0.5898 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.6196, allocations: 263.3 kB / 0.5901 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.6196, allocations: 8 kB / 0.5901 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6196, allocations: 38.23 kB / 0.5901 GB, free: 2.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 3.406e-06/0.6196, allocations: 0 / 0.5901 GB, free: 2.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.00616/0.6258, allocations: 2.825 MB / 0.5929 GB, free: 472 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.6259, allocations: 85.67 kB / 0.593 GB, free: 368 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.6266, allocations: 0.5543 MB / 0.5935 GB, free: 15.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.6267, allocations: 40.8 kB / 0.5935 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.627, allocations: 473.5 kB / 0.594 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.6271, allocations: 203.4 kB / 0.5942 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.6272, allocations: 19.67 kB / 0.5942 GB, free: 15.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6273, allocations: 390.9 kB / 0.5946 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.6278, allocations: 307.6 kB / 0.5949 GB, free: 14.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.6285, allocations: 0.5501 MB / 0.5954 GB, free: 14.24 MB / 410.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/0.6329, allocations: 1.754 MB / 0.5971 GB, free: 12.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.6329, allocations: 4 kB / 0.5971 GB, free: 12.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002616/0.6356, allocations: 1.26 MB / 0.5983 GB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.6356, allocations: 12 kB / 0.5984 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001874/0.6375, allocations: 0.9256 MB / 0.5993 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.6382, allocations: 215.2 kB / 0.5995 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.6389, allocations: 187.6 kB / 0.5996 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00605/0.6449, allocations: 6.259 MB / 0.6058 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.6457, allocations: 51.86 kB / 0.6058 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.6458, allocations: 36 kB / 0.6058 GB, free: 3.113 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: infBus.V = 20000.0 * infBus.v0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006251/0.6464, allocations: 328.8 kB / 0.6062 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.6466, allocations: 63.16 kB / 0.6062 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.6478, allocations: 0.7517 MB / 0.6069 GB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.6478, allocations: 12 kB / 0.607 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6479, allocations: 3.984 kB / 0.607 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6479, allocations: 0 / 0.607 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.651, allocations: 1.651 MB / 0.6086 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.6511, allocations: 4 kB / 0.6086 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.6517, allocations: 136.1 kB / 0.6087 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.6517, allocations: 11.94 kB / 0.6087 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.6518, allocations: 16 kB / 0.6087 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.6518, allocations: 15.92 kB / 0.6088 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6518, allocations: 4 kB / 0.6088 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.6534, allocations: 1.009 MB / 0.6097 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.6537, allocations: 192.2 kB / 0.6099 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.6538, allocations: 16 kB / 0.6099 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.6542, allocations: 23.94 kB / 0.61 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.6543, allocations: 48.25 kB / 0.61 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.6543, allocations: 19.98 kB / 0.61 GB, free: 14.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005458/0.6549, allocations: 403.1 kB / 0.6104 GB, free: 14.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.607e-06/0.6549, allocations: 4 kB / 0.6104 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001094/0.656, allocations: 235.9 kB / 0.6106 GB, free: 14.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 2 (system.initime,$cse3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0003273/0.6563, allocations: 155 kB / 0.6108 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.6584, allocations: 1.21 MB / 0.612 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6585, allocations: 4 kB / 0.612 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.6589, allocations: 282.6 kB / 0.6122 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.66, allocations: 138.8 kB / 0.6124 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.6638, allocations: 2.454 MB / 0.6148 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/0.6647, allocations: 1.091 MB / 0.6158 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006675/0.6654, allocations: 209.8 kB / 0.616 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.6656, allocations: 63.42 kB / 0.6161 GB, free: 8.277 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6656, allocations: 0 / 0.6161 GB, free: 8.277 MB / 426.7 MB Notification: Performance of Templates: time 0.01724/0.6828, allocations: 9.107 MB / 0.625 GB, free: 15.16 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1)