Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 114.1 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 189.4 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1962/0.1962, allocations: 38.05 MB / 329.9 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.88 kB / 457.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3549, allocations: 58.05 MB / 0.5036 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008063/0.363, allocations: 7.528 MB / 0.511 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.3684, allocations: 2.975 MB / 0.5139 GB, free: 84 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008818/0.3693, allocations: 25.5 kB / 0.5139 GB, free: 76 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.3719, allocations: 0.7232 MB / 0.5146 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.3748, allocations: 0.695 MB / 0.5153 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.3765, allocations: 375 kB / 0.5157 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.3794, allocations: 1.355 MB / 0.517 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.3807, allocations: 0.7128 MB / 0.5177 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.3822, allocations: 0.5548 MB / 0.5182 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.3837, allocations: 0.627 MB / 0.5188 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.3839, allocations: 74.72 kB / 0.5189 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3853, allocations: 478.2 kB / 0.5194 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006214/0.3859, allocations: 447.5 kB / 0.5198 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008359/0.3868, allocations: 0.5129 MB / 0.5203 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.3895, allocations: 1.428 MB / 0.5217 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3895, allocations: 0 / 0.5217 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3895, allocations: 1.094 kB / 0.5217 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.3896, allocations: 4.781 kB / 0.5217 GB, free: 12.61 MB / 398.1 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.003241/0.3928, allocations: 1.308 MB / 0.523 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3929, allocations: 13.52 kB / 0.523 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.3931, allocations: 141.3 kB / 0.5231 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.3945, allocations: 214.8 kB / 0.5233 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.3963, allocations: 0.7507 MB / 0.524 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.3964, allocations: 61.75 kB / 0.5241 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.3967, allocations: 96.09 kB / 0.5242 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.3987, allocations: 1.093 MB / 0.5253 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.3988, allocations: 10.58 kB / 0.5253 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/0.3989, allocations: 35.33 kB / 0.5253 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.399, allocations: 70.36 kB / 0.5254 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.4007, allocations: 0.8748 MB / 0.5262 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00652/0.4072, allocations: 3.981 MB / 0.5301 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.4079, allocations: 434.8 kB / 0.5305 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.4084, allocations: 278.6 kB / 0.5308 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.4084, allocations: 12.89 kB / 0.5308 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.4085, allocations: 42.31 kB / 0.5308 GB, free: 7.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.4085, allocations: 0 / 0.5308 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003571/0.4121, allocations: 1.733 MB / 0.5325 GB, free: 5.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.4122, allocations: 86.05 kB / 0.5326 GB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/0.4131, allocations: 0.595 MB / 0.5332 GB, free: 5.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.4131, allocations: 35.08 kB / 0.5332 GB, free: 5.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.4135, allocations: 478.6 kB / 0.5337 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.4137, allocations: 198.9 kB / 0.5339 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.414, allocations: 142.4 kB / 0.534 GB, free: 4.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.4142, allocations: 380.8 kB / 0.5344 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.4146, allocations: 252.5 kB / 0.5346 GB, free: 4.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.4152, allocations: 471.9 kB / 0.5351 GB, free: 3.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.4164, allocations: 0.7759 MB / 0.5358 GB, free: 3.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.4164, allocations: 2.188 kB / 0.5358 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002382/0.4188, allocations: 1.115 MB / 0.5369 GB, free: 2.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.4189, allocations: 10.81 kB / 0.5369 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001541/0.4204, allocations: 0.8019 MB / 0.5377 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.4212, allocations: 229 kB / 0.5379 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.4218, allocations: 156.4 kB / 0.5381 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/0.4287, allocations: 5.664 MB / 0.5436 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.4295, allocations: 36.25 kB / 0.5436 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.4296, allocations: 37.52 kB / 0.5437 GB, free: 12.9 MB / 414.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000637/0.4303, allocations: 297.6 kB / 0.544 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.4305, allocations: 75.14 kB / 0.544 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.4316, allocations: 0.6192 MB / 0.5446 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4316, allocations: 5.5 kB / 0.5446 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4316, allocations: 0 / 0.5446 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4317, allocations: 5.359 kB / 0.5447 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.4347, allocations: 1.479 MB / 0.5461 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4348, allocations: 1.375 kB / 0.5461 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.4355, allocations: 125.4 kB / 0.5462 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.4355, allocations: 11.09 kB / 0.5462 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.4356, allocations: 17.92 kB / 0.5462 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.4356, allocations: 4.031 kB / 0.5463 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4356, allocations: 9.938 kB / 0.5463 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.4372, allocations: 0.9317 MB / 0.5472 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.4377, allocations: 187.1 kB / 0.5474 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4378, allocations: 18.86 kB / 0.5474 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.4382, allocations: 20.52 kB / 0.5474 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.4383, allocations: 28.28 kB / 0.5474 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.4383, allocations: 19.55 kB / 0.5474 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006672/0.439, allocations: 419.7 kB / 0.5478 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.439, allocations: 0 / 0.5478 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4402, allocations: 239.9 kB / 0.5481 GB, free: 9.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002068/0.4422, allocations: 1.518 MB / 0.5495 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.4444, allocations: 1.038 MB / 0.5506 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4445, allocations: 0 / 0.5506 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.4449, allocations: 274.6 kB / 0.5508 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.446, allocations: 142.8 kB / 0.551 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.4589, allocations: 7.341 MB / 0.5581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.4599, allocations: 1.078 MB / 0.5592 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006377/0.4605, allocations: 193.9 kB / 0.5594 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.461, allocations: 327.3 kB / 0.5597 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.461, allocations: 0 / 0.5597 GB, free: 13.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.5163, allocations: 16.75 MB / 0.576 GB, free: 12.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.24, allocations: 8.062 kB / 0.576 GB, free: 12.98 MB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)