Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 182.2 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 98.73 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2769/0.2769, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004853, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 56.33 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6122, allocations: 112.2 MB / 0.5774 GB, free: 3.934 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.6126, allocations: 102.2 kB / 0.5775 GB, free: 3.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.7443, allocations: 29.72 MB / 0.6065 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7444, allocations: 4 kB / 0.6065 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.546e-05/0.7445, allocations: 27.94 kB / 0.6065 GB, free: 10.31 MB / 410.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.003617/0.7481, allocations: 1.121 MB / 0.6076 GB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.7482, allocations: 8.031 kB / 0.6076 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.7502, allocations: 190.6 kB / 0.6078 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/0.7552, allocations: 1.2 MB / 0.609 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.7553, allocations: 61.23 kB / 0.6091 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.7557, allocations: 86.78 kB / 0.6091 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.7585, allocations: 1.102 MB / 0.6102 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.7586, allocations: 4 kB / 0.6102 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.7587, allocations: 31.5 kB / 0.6102 GB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.7589, allocations: 67.95 kB / 0.6103 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.7614, allocations: 0.8752 MB / 0.6112 GB, free: 6.336 MB / 410.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.009198/0.7706, allocations: 4.081 MB / 0.6151 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.7716, allocations: 422.5 kB / 0.6156 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.7717, allocations: 15.92 kB / 0.6156 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.7717, allocations: 38.25 kB / 0.6156 GB, free: 2.277 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.016e-06/0.7717, allocations: 0 / 0.6156 GB, free: 2.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.007051/0.7788, allocations: 1.983 MB / 0.6175 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.7789, allocations: 81.55 kB / 0.6176 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/0.7798, allocations: 0.4944 MB / 0.6181 GB, free: 172 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.793e-05/0.78, allocations: 33.58 kB / 0.6181 GB, free: 140 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.7804, allocations: 0.4886 MB / 0.6186 GB, free: 15.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.7806, allocations: 192.2 kB / 0.6188 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.7807, allocations: 19.53 kB / 0.6188 GB, free: 15.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7809, allocations: 342.4 kB / 0.6191 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.7816, allocations: 266.1 kB / 0.6194 GB, free: 15.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/0.7825, allocations: 0.4974 MB / 0.6199 GB, free: 14.55 MB / 426.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.003812/0.7863, allocations: 0.6846 MB / 0.6205 GB, free: 14.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.7864, allocations: 0 / 0.6205 GB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003793/0.7902, allocations: 1.128 MB / 0.6216 GB, free: 13.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.7902, allocations: 8 kB / 0.6217 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002882/0.7931, allocations: 0.8328 MB / 0.6225 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.7943, allocations: 219.5 kB / 0.6227 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.7955, allocations: 167.2 kB / 0.6228 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009311/0.8048, allocations: 6.355 MB / 0.629 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/0.8058, allocations: 39.97 kB / 0.6291 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.8059, allocations: 40 kB / 0.6291 GB, free: 5.441 MB / 426.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 (85): * Single equations (assignments): 81 * 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.000776/0.8067, allocations: 313.5 kB / 0.6294 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.8069, allocations: 71.11 kB / 0.6295 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.8087, allocations: 0.6395 MB / 0.6301 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.8087, allocations: 4 kB / 0.6301 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.8088, allocations: 4 kB / 0.6301 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.8088, allocations: 3.984 kB / 0.6301 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/0.813, allocations: 1.526 MB / 0.6316 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.8131, allocations: 0 / 0.6316 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.8143, allocations: 119.9 kB / 0.6317 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.8143, allocations: 8.172 kB / 0.6317 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.8144, allocations: 15.98 kB / 0.6317 GB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/0.8144, allocations: 4 kB / 0.6318 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8144, allocations: 8.188 kB / 0.6318 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.8167, allocations: 1.025 MB / 0.6328 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.8172, allocations: 188.2 kB / 0.6329 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8174, allocations: 12 kB / 0.633 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.818, allocations: 27.97 kB / 0.633 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/0.8181, allocations: 36.36 kB / 0.633 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.8181, allocations: 19.98 kB / 0.633 GB, free: 1.238 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008/0.819, allocations: 399.1 kB / 0.6334 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.819, allocations: 0 / 0.6334 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001277/0.8203, allocations: 231.9 kB / 0.6336 GB, free: 0.625 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (55): * Single equations (assignments): 54 * 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.0003083/0.8206, allocations: 139.1 kB / 0.6338 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.8236, allocations: 1.154 MB / 0.6349 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.8236, allocations: 0 / 0.6349 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.8244, allocations: 262.3 kB / 0.6351 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8255, allocations: 136.1 kB / 0.6353 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.8311, allocations: 2.452 MB / 0.6377 GB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.8322, allocations: 1.098 MB / 0.6387 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.8326, allocations: 55.44 kB / 0.6388 GB, free: 11.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8326, allocations: 0 / 0.6388 GB, free: 11.2 MB / 442.7 MB Notification: Performance of Templates: time 0.03367/0.8663, allocations: 16.05 MB / 0.6545 GB, free: 11.12 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1)