Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 173 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 89.03 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1695/0.1695, allocations: 38.08 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003868, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 56.31 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4226, allocations: 113.3 MB / 0.5797 GB, free: 5.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.4229, allocations: 95.95 kB / 0.5798 GB, free: 4.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08017/0.5031, allocations: 29.78 MB / 0.6088 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5032, allocations: 4 kB / 0.6088 GB, free: 6.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.714e-05/0.5032, allocations: 23.92 kB / 0.6089 GB, free: 6.742 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.002214/0.5055, allocations: 1.139 MB / 0.61 GB, free: 5.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5055, allocations: 8.031 kB / 0.61 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.5065, allocations: 195.6 kB / 0.6102 GB, free: 5.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.5084, allocations: 0.9131 MB / 0.6111 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.5084, allocations: 62 kB / 0.6111 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.5086, allocations: 95.81 kB / 0.6112 GB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.5103, allocations: 1.085 MB / 0.6123 GB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.5103, allocations: 7.875 kB / 0.6123 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.5104, allocations: 35.98 kB / 0.6123 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.926e-05/0.5105, allocations: 69.91 kB / 0.6124 GB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.5119, allocations: 0.8548 MB / 0.6132 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.5169, allocations: 4.003 MB / 0.6171 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.5176, allocations: 439.7 kB / 0.6175 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.518, allocations: 275 kB / 0.6178 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.518, allocations: 4.438 kB / 0.6178 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.5181, allocations: 39 kB / 0.6179 GB, free: 13.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 3.036e-06/0.5181, allocations: 4 kB / 0.6179 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.002944/0.521, allocations: 1.729 MB / 0.6195 GB, free: 11.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.5211, allocations: 81.55 kB / 0.6196 GB, free: 11.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.5217, allocations: 0.5859 MB / 0.6202 GB, free: 10.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.5218, allocations: 33.7 kB / 0.6202 GB, free: 10.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.5221, allocations: 458.6 kB / 0.6207 GB, free: 10.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.5222, allocations: 189.3 kB / 0.6208 GB, free: 9.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.5223, allocations: 15.94 kB / 0.6209 GB, free: 9.973 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5225, allocations: 382.8 kB / 0.6212 GB, free: 9.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.5228, allocations: 253.9 kB / 0.6215 GB, free: 9.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.5234, allocations: 469 kB / 0.6219 GB, free: 8.789 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/0.5243, allocations: 0.7706 MB / 0.6227 GB, free: 7.922 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5243, allocations: 0 / 0.6227 GB, free: 7.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001931/0.5263, allocations: 1.11 MB / 0.6237 GB, free: 6.773 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5263, allocations: 8 kB / 0.6238 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001352/0.5277, allocations: 0.7985 MB / 0.6245 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.5284, allocations: 218.4 kB / 0.6247 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.5289, allocations: 151.7 kB / 0.6249 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00512/0.534, allocations: 5.245 MB / 0.63 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.5346, allocations: 39.88 kB / 0.63 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.5346, allocations: 32 kB / 0.6301 GB, free: 15.85 MB / 474.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.0004857/0.5351, allocations: 309.4 kB / 0.6304 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/0.5352, allocations: 63.25 kB / 0.6304 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/0.5362, allocations: 0.6124 MB / 0.631 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.5362, allocations: 7.938 kB / 0.631 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5362, allocations: 0 / 0.631 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5362, allocations: 3.984 kB / 0.631 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.5386, allocations: 1.49 MB / 0.6325 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5386, allocations: 8 kB / 0.6325 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.5392, allocations: 127.8 kB / 0.6326 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5392, allocations: 4.094 kB / 0.6326 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.5392, allocations: 23.98 kB / 0.6327 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5392, allocations: 4 kB / 0.6327 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5392, allocations: 0 / 0.6327 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.5404, allocations: 0.9232 MB / 0.6336 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.5407, allocations: 188.1 kB / 0.6337 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.5408, allocations: 16 kB / 0.6338 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.5411, allocations: 19.98 kB / 0.6338 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.5412, allocations: 32.39 kB / 0.6338 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.5412, allocations: 12 kB / 0.6338 GB, free: 11.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004949/0.5417, allocations: 415 kB / 0.6342 GB, free: 11.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5417, allocations: 0 / 0.6342 GB, free: 11.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007782/0.5425, allocations: 224 kB / 0.6344 GB, free: 11.25 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: 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.0002585/0.5428, allocations: 147.8 kB / 0.6346 GB, free: 11.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.5444, allocations: 1.025 MB / 0.6356 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5444, allocations: 1.312 kB / 0.6356 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.5448, allocations: 258.6 kB / 0.6358 GB, free: 9.781 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.5456, allocations: 143 kB / 0.636 GB, free: 9.637 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.549, allocations: 2.58 MB / 0.6385 GB, free: 7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.5497, allocations: 1.079 MB / 0.6395 GB, free: 5.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5499, allocations: 59.42 kB / 0.6396 GB, free: 5.836 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5499, allocations: 3.938 kB / 0.6396 GB, free: 5.832 MB / 474.7 MB Notification: Performance of Templates: time 0.2096/0.7595, allocations: 14.9 MB / 0.6541 GB, free: 130.6 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)