Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002248/0.002248, allocations: 180.2 kB / 17.4 MB, free: 4.289 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.417/1.417, allocations: 194.5 MB / 212.6 MB, free: 2.941 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.001857/0.001857, allocations: 121.6 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.2138/0.2138, allocations: 38.01 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006149, allocations: 15.98 kB / 405 MB, free: 68.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.472, allocations: 108.2 MB / 0.5532 GB, free: 3.141 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.4724, allocations: 100.6 kB / 0.5533 GB, free: 3.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08248/0.5549, allocations: 29.8 MB / 0.5824 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5549, allocations: 0 / 0.5824 GB, free: 9.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.394e-05/0.555, allocations: 16 kB / 0.5824 GB, free: 9.473 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003645/0.5587, allocations: 1.144 MB / 0.5835 GB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5587, allocations: 12.03 kB / 0.5835 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.5601, allocations: 191.6 kB / 0.5837 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.5628, allocations: 0.905 MB / 0.5846 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.5629, allocations: 62.17 kB / 0.5846 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.5633, allocations: 101.2 kB / 0.5847 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.5653, allocations: 1.09 MB / 0.5858 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.5654, allocations: 0 / 0.5858 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.5655, allocations: 32.38 kB / 0.5858 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.5656, allocations: 65.41 kB / 0.5859 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.5671, allocations: 0.8529 MB / 0.5867 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006052/0.5732, allocations: 4.008 MB / 0.5906 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.5739, allocations: 446.7 kB / 0.5911 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.5744, allocations: 276.8 kB / 0.5913 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.5744, allocations: 12.42 kB / 0.5913 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.5745, allocations: 41.44 kB / 0.5914 GB, free: 1.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 5.059e-06/0.5745, allocations: 0 / 0.5914 GB, free: 1.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.003628/0.5781, allocations: 1.766 MB / 0.5931 GB, free: 112 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.5782, allocations: 81.55 kB / 0.5932 GB, free: 12 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.579, allocations: 0.5906 MB / 0.5938 GB, free: 15.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.579, allocations: 32.33 kB / 0.5938 GB, free: 15.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.5793, allocations: 464 kB / 0.5942 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5795, allocations: 192.8 kB / 0.5944 GB, free: 15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.5796, allocations: 14.56 kB / 0.5944 GB, free: 15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5797, allocations: 376.3 kB / 0.5948 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.5801, allocations: 251.2 kB / 0.595 GB, free: 14.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.5806, allocations: 478.1 kB / 0.5955 GB, free: 14.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.5817, allocations: 0.7717 MB / 0.5962 GB, free: 13.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.5817, allocations: 4 kB / 0.5962 GB, free: 13.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002106/0.5838, allocations: 1.113 MB / 0.5973 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5838, allocations: 8 kB / 0.5973 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001405/0.5852, allocations: 0.7968 MB / 0.5981 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.586, allocations: 222.6 kB / 0.5983 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.5866, allocations: 151.7 kB / 0.5985 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.5925, allocations: 5.245 MB / 0.6036 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.5932, allocations: 47.97 kB / 0.6036 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5934, allocations: 28.09 kB / 0.6037 GB, free: 5.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (81): * Single equations (assignments): 78 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007256/0.5941, allocations: 313.4 kB / 0.604 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5943, allocations: 67.16 kB / 0.604 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.5954, allocations: 0.6125 MB / 0.6046 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5954, allocations: 8 kB / 0.6046 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5955, allocations: 0 / 0.6046 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.5955, allocations: 0 / 0.6046 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.5984, allocations: 1.509 MB / 0.6061 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5984, allocations: 3.938 kB / 0.6061 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.599, allocations: 123.8 kB / 0.6062 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.599, allocations: 7.984 kB / 0.6062 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.5991, allocations: 16 kB / 0.6062 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5991, allocations: 160 / 0.6062 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5991, allocations: 8 kB / 0.6063 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.6005, allocations: 0.9382 MB / 0.6072 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.601, allocations: 192.1 kB / 0.6074 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6011, allocations: 12 kB / 0.6074 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.6015, allocations: 19.98 kB / 0.6074 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6016, allocations: 32.39 kB / 0.6074 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.6016, allocations: 16 kB / 0.6074 GB, free: 1.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.6022, allocations: 411.2 kB / 0.6078 GB, free: 1.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6022, allocations: 0 / 0.6078 GB, free: 1.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.6032, allocations: 239.9 kB / 0.6081 GB, free: 0.9414 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.w,generator.phi_el,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,$cse4) * 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.0002929/0.6035, allocations: 143.1 kB / 0.6082 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.6053, allocations: 1.03 MB / 0.6092 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6054, allocations: 0 / 0.6092 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.6057, allocations: 271.5 kB / 0.6095 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.6067, allocations: 139.8 kB / 0.6096 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.6105, allocations: 2.51 MB / 0.612 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.6114, allocations: 1.075 MB / 0.6131 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006621/0.612, allocations: 193.9 kB / 0.6133 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.6123, allocations: 55.42 kB / 0.6133 GB, free: 11.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6123, allocations: 0 / 0.6133 GB, free: 11.42 MB / 426.7 MB Notification: Performance of Templates: time 0.01974/0.632, allocations: 8.541 MB / 0.6217 GB, free: 2.871 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)