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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 215.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1879/0.1879, allocations: 38.56 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.14 kB / 493.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 62.47 MB / 0.5427 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01006/0.3424, allocations: 7.144 MB / 0.5497 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.3486, allocations: 2.816 MB / 0.5524 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007942/0.3494, allocations: 36.19 kB / 0.5525 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.3517, allocations: 0.7117 MB / 0.5532 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.354, allocations: 0.7052 MB / 0.5539 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3553, allocations: 381.7 kB / 0.5542 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.3578, allocations: 1.354 MB / 0.5555 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.359, allocations: 0.5622 MB / 0.5561 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3602, allocations: 0.5738 MB / 0.5567 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.3616, allocations: 0.6788 MB / 0.5573 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.3618, allocations: 76 kB / 0.5574 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.363, allocations: 0.499 MB / 0.5579 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005756/0.3636, allocations: 458.8 kB / 0.5583 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.3644, allocations: 426 kB / 0.5587 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.3667, allocations: 1.44 MB / 0.5601 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3667, allocations: 0 / 0.5601 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3667, allocations: 0 / 0.5601 GB, free: 2.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.69e-05/0.3668, allocations: 0 / 0.5601 GB, free: 2.543 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.0031/0.3699, allocations: 1.236 MB / 0.5613 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3699, allocations: 15.98 kB / 0.5613 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.153e-05/0.37, allocations: 26.19 kB / 0.5614 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.3702, allocations: 139.6 kB / 0.5615 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.3716, allocations: 216.1 kB / 0.5617 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.3734, allocations: 0.6693 MB / 0.5624 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.3734, allocations: 61.94 kB / 0.5624 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.3737, allocations: 95.92 kB / 0.5625 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3756, allocations: 1.1 MB / 0.5636 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.3757, allocations: 7.938 kB / 0.5636 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.3757, allocations: 35.98 kB / 0.5636 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.3759, allocations: 73.97 kB / 0.5637 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.3775, allocations: 0.8665 MB / 0.5645 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006147/0.3837, allocations: 3.654 MB / 0.5681 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.3844, allocations: 338.7 kB / 0.5684 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.3848, allocations: 268 kB / 0.5687 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/0.3849, allocations: 4.438 kB / 0.5687 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.3849, allocations: 42.94 kB / 0.5687 GB, free: 9.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.3849, allocations: 0 / 0.5687 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003826/0.3887, allocations: 1.664 MB / 0.5704 GB, free: 7.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.3888, allocations: 81.55 kB / 0.5704 GB, free: 7.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/0.3897, allocations: 0.5822 MB / 0.571 GB, free: 7.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.3898, allocations: 37.7 kB / 0.571 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.3902, allocations: 479.7 kB / 0.5715 GB, free: 6.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.3904, allocations: 198.4 kB / 0.5717 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.3906, allocations: 138.6 kB / 0.5718 GB, free: 6.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3908, allocations: 382.8 kB / 0.5722 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.3913, allocations: 261.9 kB / 0.5724 GB, free: 5.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.3919, allocations: 469 kB / 0.5729 GB, free: 4.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.3931, allocations: 0.7831 MB / 0.5737 GB, free: 4.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3931, allocations: 0 / 0.5737 GB, free: 4.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002285/0.3954, allocations: 1.045 MB / 0.5747 GB, free: 3.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3954, allocations: 10.81 kB / 0.5747 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001523/0.3969, allocations: 0.7105 MB / 0.5754 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008354/0.3978, allocations: 222.4 kB / 0.5756 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.3984, allocations: 159.7 kB / 0.5757 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00673/0.4051, allocations: 5.33 MB / 0.5809 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.4058, allocations: 35.97 kB / 0.581 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.4059, allocations: 32.28 kB / 0.581 GB, free: 12.15 MB / 430.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.0005853/0.4065, allocations: 313.5 kB / 0.5813 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.4067, allocations: 71.53 kB / 0.5814 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.4079, allocations: 0.6084 MB / 0.582 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4079, allocations: 4 kB / 0.582 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4079, allocations: 4 kB / 0.582 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4079, allocations: 3.984 kB / 0.582 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.4109, allocations: 1.404 MB / 0.5834 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.4109, allocations: 4 kB / 0.5834 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.4116, allocations: 127.8 kB / 0.5835 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.4116, allocations: 7.938 kB / 0.5835 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.4117, allocations: 16 kB / 0.5835 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.4117, allocations: 160 / 0.5835 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4117, allocations: 8 kB / 0.5835 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.4132, allocations: 0.9323 MB / 0.5844 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.4135, allocations: 111.4 kB / 0.5845 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.4137, allocations: 19.98 kB / 0.5845 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.4141, allocations: 19.98 kB / 0.5846 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.4141, allocations: 36.36 kB / 0.5846 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.4142, allocations: 16 kB / 0.5846 GB, free: 8.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.4148, allocations: 419 kB / 0.585 GB, free: 7.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4148, allocations: 0 / 0.585 GB, free: 7.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001006/0.4158, allocations: 239.9 kB / 0.5852 GB, free: 7.699 MB / 430.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.002214/0.418, allocations: 1.511 MB / 0.5867 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4202, allocations: 1.007 MB / 0.5877 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4202, allocations: 0 / 0.5877 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.4207, allocations: 254.6 kB / 0.5879 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4218, allocations: 146.4 kB / 0.5881 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.436, allocations: 7.182 MB / 0.5951 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.4368, allocations: 490.7 kB / 0.5956 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.4374, allocations: 193.9 kB / 0.5958 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.438, allocations: 323.3 kB / 0.5961 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.438, allocations: 4 kB / 0.5961 GB, free: 12.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/0.4948, allocations: 17.54 MB / 0.6132 GB, free: 10.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.22, allocations: 7.031 kB / 0.6132 GB, free: 10.91 MB / 462.1 MB " [Timeout remaining time 645] (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/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.131735210074112] Failed to read output from testmodel.py, exit status != 0: 15.405949829961173 15.421010669 15.051117175 Calling exit ...