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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001333/0.001333, allocations: 182 kB / 13.64 MB, free: 1.676 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.846/1.846, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001698/0.001698, allocations: 124.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1975/0.1975, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.455e-05, allocations: 4 kB / 397.6 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3166, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5307/0.8473, allocations: 108.1 MB / 0.5458 GB, free: 29.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.8477, allocations: 92.97 kB / 0.5459 GB, free: 29.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08356/0.9313, allocations: 30 MB / 0.5752 GB, free: 21.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.9314, allocations: 0 / 0.5752 GB, free: 21.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.9315, allocations: 23.56 kB / 0.5752 GB, free: 21.95 MB / 378.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.003428/0.9349, allocations: 1.041 MB / 0.5762 GB, free: 21.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.935, allocations: 11.69 kB / 0.5763 GB, free: 21.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004938/0.9355, allocations: 142.6 kB / 0.5764 GB, free: 21.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.9372, allocations: 191.6 kB / 0.5766 GB, free: 21.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/0.9414, allocations: 1.213 MB / 0.5778 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.9415, allocations: 62.09 kB / 0.5778 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.9419, allocations: 90.12 kB / 0.5779 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.9443, allocations: 1.065 MB / 0.5789 GB, free: 20.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.9444, allocations: 0 / 0.5789 GB, free: 20.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.9445, allocations: 35.44 kB / 0.579 GB, free: 20.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.9446, allocations: 63.06 kB / 0.579 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.9462, allocations: 0.8438 MB / 0.5799 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006097/0.9523, allocations: 3.996 MB / 0.5838 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.953, allocations: 435 kB / 0.5842 GB, free: 17.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.9534, allocations: 273.8 kB / 0.5844 GB, free: 17.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.9535, allocations: 4.375 kB / 0.5844 GB, free: 17.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.9535, allocations: 42.72 kB / 0.5845 GB, free: 17.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 4.208e-06/0.9536, allocations: 0 / 0.5845 GB, free: 17.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.003316/0.9569, allocations: 1.58 MB / 0.586 GB, free: 16.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.957, allocations: 81.48 kB / 0.5861 GB, free: 16.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.9577, allocations: 0.5079 MB / 0.5866 GB, free: 16.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.9578, allocations: 29.64 kB / 0.5866 GB, free: 16.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.9581, allocations: 469.5 kB / 0.5871 GB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.9583, allocations: 188.6 kB / 0.5873 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.9583, allocations: 21.94 kB / 0.5873 GB, free: 15.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9584, allocations: 382.8 kB / 0.5876 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.9589, allocations: 245.7 kB / 0.5879 GB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.9594, allocations: 459.2 kB / 0.5883 GB, free: 15.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.96, allocations: 342.1 kB / 0.5886 GB, free: 15.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.96, allocations: 0 / 0.5886 GB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002513/0.9625, allocations: 1.099 MB / 0.5897 GB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.9626, allocations: 7.75 kB / 0.5897 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001571/0.9641, allocations: 0.7894 MB / 0.5905 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/0.965, allocations: 220.9 kB / 0.5907 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.9657, allocations: 151.3 kB / 0.5909 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.9707, allocations: 5.238 MB / 0.596 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.9715, allocations: 37 kB / 0.596 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.9716, allocations: 37.67 kB / 0.596 GB, free: 10.05 MB / 378.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 (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.000204/0.9718, allocations: 145.6 kB / 0.5962 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.9721, allocations: 70.81 kB / 0.5962 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.9733, allocations: 0.6025 MB / 0.5968 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.9733, allocations: 11.7 kB / 0.5968 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9733, allocations: 0 / 0.5968 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.9733, allocations: 3.984 kB / 0.5968 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.9764, allocations: 1.483 MB / 0.5983 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.9764, allocations: 0 / 0.5983 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.977, allocations: 129.9 kB / 0.5984 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.977, allocations: 8.094 kB / 0.5984 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.9771, allocations: 11.09 kB / 0.5984 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.9771, allocations: 3.688 kB / 0.5984 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9771, allocations: 3.719 kB / 0.5984 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.9784, allocations: 0.9939 MB / 0.5994 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.9788, allocations: 184.2 kB / 0.5996 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.979, allocations: 21.97 kB / 0.5996 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.9793, allocations: 15.67 kB / 0.5996 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.9794, allocations: 42.39 kB / 0.5997 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.9795, allocations: 15 kB / 0.5997 GB, free: 8.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005398/0.98, allocations: 408 kB / 0.6001 GB, free: 8.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.98, allocations: 0 / 0.6001 GB, free: 8.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001066/0.9811, allocations: 218.1 kB / 0.6003 GB, free: 8.348 MB / 378.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 (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.001778/0.9829, allocations: 1.993 MB / 0.6022 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.9847, allocations: 1.013 MB / 0.6032 GB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.9847, allocations: 384 / 0.6032 GB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.9851, allocations: 267.8 kB / 0.6035 GB, free: 6.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.9859, allocations: 134.4 kB / 0.6036 GB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.9903, allocations: 1.888 MB / 0.6054 GB, free: 5.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.9911, allocations: 1.101 MB / 0.6065 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006297/0.9918, allocations: 188.4 kB / 0.6067 GB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/0.9923, allocations: 321.2 kB / 0.607 GB, free: 4.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.9923, allocations: 0 / 0.607 GB, free: 4.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/1.035, allocations: 15.85 MB / 0.6225 GB, free: 4.543 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/1.036, allocations: 185.7 kB / 0.6227 GB, free: 4.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.989, allocations: 0 / 0.6227 GB, free: 4.32 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)