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.002108/0.002108, allocations: 186 kB / 13.19 MB, free: 2.125 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.081/2.081, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001109/0.001108, allocations: 93.44 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.276/0.276, allocations: 37.97 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.773e-05, allocations: 11.98 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 56.3 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5177/0.6217, allocations: 113.2 MB / 0.5726 GB, free: 6.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.6221, allocations: 95.94 kB / 0.5727 GB, free: 6.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1608/0.7829, allocations: 29.98 MB / 0.6019 GB, free: 8.094 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.783, allocations: 3.938 kB / 0.6019 GB, free: 8.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.008e-05/0.7831, allocations: 20 kB / 0.602 GB, free: 8.07 MB / 442.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.003319/0.7864, allocations: 1.037 MB / 0.603 GB, free: 6.984 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.7865, allocations: 12.03 kB / 0.603 GB, free: 6.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.7884, allocations: 190.6 kB / 0.6032 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/0.7937, allocations: 1.212 MB / 0.6043 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.7938, allocations: 62 kB / 0.6044 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.7942, allocations: 87.88 kB / 0.6045 GB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.7969, allocations: 1.065 MB / 0.6055 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.748e-05/0.797, allocations: 4 kB / 0.6055 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.7972, allocations: 35.98 kB / 0.6056 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.7973, allocations: 65.97 kB / 0.6056 GB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.7996, allocations: 0.8393 MB / 0.6064 GB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008946/0.8086, allocations: 4 MB / 0.6104 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.8103, allocations: 427.9 kB / 0.6108 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.8114, allocations: 275.2 kB / 0.611 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.8116, allocations: 8.422 kB / 0.611 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.8116, allocations: 46.89 kB / 0.6111 GB, free: 14.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 6.081e-06/0.8117, allocations: 4 kB / 0.6111 GB, free: 14.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.007338/0.819, allocations: 1.523 MB / 0.6126 GB, free: 12.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.8191, allocations: 81.55 kB / 0.6126 GB, free: 12.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.8201, allocations: 0.5187 MB / 0.6132 GB, free: 12.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.103e-05/0.8202, allocations: 37.7 kB / 0.6132 GB, free: 12.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.8206, allocations: 489 kB / 0.6137 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.8209, allocations: 185.3 kB / 0.6138 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.821, allocations: 16 kB / 0.6138 GB, free: 11.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.8211, allocations: 346.8 kB / 0.6142 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.8218, allocations: 241.5 kB / 0.6144 GB, free: 10.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.8227, allocations: 458.8 kB / 0.6148 GB, free: 10.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.8235, allocations: 335.4 kB / 0.6152 GB, free: 9.957 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.8235, allocations: 0 / 0.6152 GB, free: 9.957 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003091/0.8266, allocations: 1.06 MB / 0.6162 GB, free: 8.863 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.8267, allocations: 11.94 kB / 0.6162 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00224/0.8289, allocations: 0.7842 MB / 0.617 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.8302, allocations: 222.4 kB / 0.6172 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.8313, allocations: 151.7 kB / 0.6173 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007914/0.8392, allocations: 5.231 MB / 0.6224 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.8402, allocations: 39.97 kB / 0.6225 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.8403, allocations: 32 kB / 0.6225 GB, free: 1.949 MB / 458.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 () * 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.0002197/0.8405, allocations: 158.5 kB / 0.6227 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.8407, allocations: 67.16 kB / 0.6227 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.8423, allocations: 0.5972 MB / 0.6233 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.8423, allocations: 4 kB / 0.6233 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8423, allocations: 0 / 0.6233 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.8423, allocations: 15.86 kB / 0.6233 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.8463, allocations: 1.467 MB / 0.6248 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.8463, allocations: 0 / 0.6248 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.8476, allocations: 119.9 kB / 0.6249 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.8476, allocations: 7.938 kB / 0.6249 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.8477, allocations: 19.92 kB / 0.6249 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.8477, allocations: 4 kB / 0.6249 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.8477, allocations: 12.11 kB / 0.6249 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.8498, allocations: 0.9805 MB / 0.6259 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.8502, allocations: 184.2 kB / 0.6261 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.8504, allocations: 15.98 kB / 0.6261 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.851, allocations: 15.98 kB / 0.6261 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.8511, allocations: 40.34 kB / 0.6261 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.8511, allocations: 16 kB / 0.6261 GB, free: 14.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007536/0.8519, allocations: 407.2 kB / 0.6265 GB, free: 13.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8519, allocations: 0 / 0.6265 GB, free: 13.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001084/0.853, allocations: 220 kB / 0.6267 GB, free: 13.46 MB / 474.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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.0003208/0.8533, allocations: 147.2 kB / 0.6269 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.8557, allocations: 0.9989 MB / 0.6279 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8558, allocations: 4.062 kB / 0.6279 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.8564, allocations: 258.4 kB / 0.6281 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.8575, allocations: 139.1 kB / 0.6282 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.8617, allocations: 1.739 MB / 0.6299 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009796/0.8627, allocations: 1.102 MB / 0.631 GB, free: 8.945 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.8631, allocations: 55.42 kB / 0.6311 GB, free: 8.895 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8631, allocations: 0 / 0.6311 GB, free: 8.895 MB / 474.7 MB Notification: Performance of Templates: time 0.3569/1.22, allocations: 14.4 MB / 0.6451 GB, free: 128.2 MB / 474.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)