Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001548, allocations: 182.5 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.047/2.047, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001123/0.001123, 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.2665/0.2665, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004596, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.6176, allocations: 113.3 MB / 0.5784 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.618, allocations: 100.1 kB / 0.5785 GB, free: 2.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1389/0.7569, allocations: 30 MB / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.757, allocations: 0 / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.942e-05/0.7571, allocations: 35.86 kB / 0.6079 GB, free: 9.086 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004054/0.7611, allocations: 1.137 MB / 0.609 GB, free: 7.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7612, allocations: 12.03 kB / 0.609 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.7633, allocations: 194.6 kB / 0.6092 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005359/0.7687, allocations: 1.228 MB / 0.6104 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7688, allocations: 58.44 kB / 0.6104 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005341/0.7694, allocations: 95.19 kB / 0.6105 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.7722, allocations: 1.075 MB / 0.6116 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.7724, allocations: 8 kB / 0.6116 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.7725, allocations: 36.92 kB / 0.6116 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.7727, allocations: 65.22 kB / 0.6117 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.7751, allocations: 0.8521 MB / 0.6125 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00952/0.7847, allocations: 4.008 MB / 0.6164 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.7857, allocations: 433 kB / 0.6168 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/0.7858, allocations: 8.5 kB / 0.6168 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.7859, allocations: 50.33 kB / 0.6169 GB, free: 1.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.697e-06/0.7859, allocations: 0 / 0.6169 GB, free: 1.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.005139/0.791, allocations: 1.725 MB / 0.6186 GB, free: 15.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.7912, allocations: 81.55 kB / 0.6186 GB, free: 15.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.7922, allocations: 0.5105 MB / 0.6191 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.7923, allocations: 37.52 kB / 0.6192 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.7928, allocations: 488.5 kB / 0.6196 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.793, allocations: 184.2 kB / 0.6198 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.7931, allocations: 19.44 kB / 0.6198 GB, free: 14.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7933, allocations: 346.2 kB / 0.6202 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.794, allocations: 250 kB / 0.6204 GB, free: 14.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.7949, allocations: 466.8 kB / 0.6209 GB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009335/0.7959, allocations: 335.4 kB / 0.6212 GB, free: 13.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.7959, allocations: 8 kB / 0.6212 GB, free: 13.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003325/0.7993, allocations: 1.066 MB / 0.6222 GB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.7993, allocations: 8.438 kB / 0.6222 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002475/0.8018, allocations: 0.7979 MB / 0.623 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.8031, allocations: 220.5 kB / 0.6232 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.8043, allocations: 151 kB / 0.6234 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008816/0.8131, allocations: 5.337 MB / 0.6286 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009127/0.8141, allocations: 39.89 kB / 0.6286 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.8142, allocations: 35.98 kB / 0.6286 GB, free: 6.086 MB / 426.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 (80): * Single equations (assignments): 77 * 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.0007473/0.815, allocations: 313.5 kB / 0.6289 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.8152, allocations: 67.19 kB / 0.629 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.8169, allocations: 0.6088 MB / 0.6296 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.8169, allocations: 8 kB / 0.6296 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.817, allocations: 0 / 0.6296 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.817, allocations: 7.984 kB / 0.6296 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.8213, allocations: 1.49 MB / 0.6311 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.8214, allocations: 0 / 0.6311 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.8226, allocations: 119.9 kB / 0.6312 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.8226, allocations: 4 kB / 0.6312 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.8227, allocations: 19.98 kB / 0.6312 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.8227, allocations: 0 / 0.6312 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.8227, allocations: 11.89 kB / 0.6312 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.8251, allocations: 0.9924 MB / 0.6322 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.8256, allocations: 180.8 kB / 0.6324 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.8257, allocations: 15.98 kB / 0.6324 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.8263, allocations: 15.98 kB / 0.6324 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8264, allocations: 40.28 kB / 0.6324 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.8265, allocations: 20 kB / 0.6325 GB, free: 2.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008225/0.8273, allocations: 423 kB / 0.6329 GB, free: 1.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8274, allocations: 3.938 kB / 0.6329 GB, free: 1.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001225/0.8286, allocations: 216 kB / 0.6331 GB, free: 1.383 MB / 426.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 (54): * Single equations (assignments): 53 * 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.0003264/0.8289, allocations: 147.2 kB / 0.6332 GB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.8315, allocations: 1.017 MB / 0.6342 GB, free: 176 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8316, allocations: 5.25 kB / 0.6342 GB, free: 172 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.8323, allocations: 262.6 kB / 0.6345 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8335, allocations: 127 kB / 0.6346 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/0.8394, allocations: 2.595 MB / 0.6371 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.8406, allocations: 1.098 MB / 0.6382 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.841, allocations: 51.44 kB / 0.6382 GB, free: 11.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.841, allocations: 0 / 0.6382 GB, free: 11.96 MB / 442.7 MB Notification: Performance of Templates: time 0.0326/0.8736, allocations: 14.45 MB / 0.6523 GB, free: 13.5 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)