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.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.001714/0.001714, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002084/0.002084, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1823/0.1823, allocations: 38.53 MB / 352.5 MB, free: 12.58 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_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"}) [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.002039/0.002039, allocations: 67.91 kB / 492.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 62.47 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01065/0.3212, allocations: 7.734 MB / 0.5496 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005561/0.3268, allocations: 3.06 MB / 0.5526 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005528/0.3273, allocations: 37 kB / 0.5526 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.3295, allocations: 0.7572 MB / 0.5533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.3314, allocations: 0.7036 MB / 0.554 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3325, allocations: 390.5 kB / 0.5544 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.3343, allocations: 1.348 MB / 0.5557 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.3351, allocations: 0.5624 MB / 0.5563 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.3359, allocations: 0.5777 MB / 0.5568 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.3369, allocations: 0.6637 MB / 0.5575 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3371, allocations: 76.47 kB / 0.5575 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3381, allocations: 0.5458 MB / 0.5581 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.3385, allocations: 454.8 kB / 0.5585 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.3391, allocations: 0.5092 MB / 0.559 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.3409, allocations: 1.436 MB / 0.5604 GB, free: 1.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3409, allocations: 4 kB / 0.5604 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3409, allocations: 0 / 0.5604 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.3409, allocations: 4 kB / 0.5604 GB, free: 1.652 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.002417/0.3433, allocations: 1.228 MB / 0.5616 GB, free: 396 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.3434, allocations: 15.98 kB / 0.5616 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.3436, allocations: 143.6 kB / 0.5618 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.3448, allocations: 216.1 kB / 0.562 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.3464, allocations: 0.677 MB / 0.5626 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.3465, allocations: 66.12 kB / 0.5627 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.3467, allocations: 99.92 kB / 0.5628 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.3485, allocations: 1.092 MB / 0.5639 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.3485, allocations: 3.938 kB / 0.5639 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.3486, allocations: 35.98 kB / 0.5639 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.3488, allocations: 69.95 kB / 0.564 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3502, allocations: 0.8704 MB / 0.5648 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/0.3557, allocations: 3.891 MB / 0.5686 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.3563, allocations: 338.7 kB / 0.5689 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.3568, allocations: 259 kB / 0.5692 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.3568, allocations: 8.422 kB / 0.5692 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3568, allocations: 46.88 kB / 0.5692 GB, free: 8.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/0.3568, allocations: 0 / 0.5692 GB, free: 8.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003011/0.3599, allocations: 1.664 MB / 0.5709 GB, free: 6.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.3599, allocations: 85.67 kB / 0.5709 GB, free: 6.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.3606, allocations: 0.5822 MB / 0.5715 GB, free: 5.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.3607, allocations: 41.64 kB / 0.5716 GB, free: 5.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.3611, allocations: 479.7 kB / 0.572 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.3612, allocations: 202.3 kB / 0.5722 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3614, allocations: 138.6 kB / 0.5723 GB, free: 5.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3617, allocations: 382.8 kB / 0.5727 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.3621, allocations: 253.8 kB / 0.5729 GB, free: 4.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.3627, allocations: 473 kB / 0.5734 GB, free: 3.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3638, allocations: 0.7831 MB / 0.5742 GB, free: 2.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3638, allocations: 0 / 0.5742 GB, free: 2.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002148/0.3659, allocations: 1.037 MB / 0.5752 GB, free: 1.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3659, allocations: 8 kB / 0.5752 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001413/0.3674, allocations: 0.7183 MB / 0.5759 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000738/0.3681, allocations: 218.4 kB / 0.5761 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.3687, allocations: 155.7 kB / 0.5762 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006183/0.3749, allocations: 5.369 MB / 0.5815 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.3754, allocations: 39.97 kB / 0.5815 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.3755, allocations: 28 kB / 0.5815 GB, free: 11 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.0005184/0.376, allocations: 313.5 kB / 0.5818 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3761, allocations: 71.53 kB / 0.5819 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3772, allocations: 0.6046 MB / 0.5825 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3772, allocations: 8 kB / 0.5825 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3772, allocations: 0 / 0.5825 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3772, allocations: 3.984 kB / 0.5825 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.3799, allocations: 1.454 MB / 0.5839 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3799, allocations: 8.031 kB / 0.5839 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.3805, allocations: 123.8 kB / 0.5841 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.3805, allocations: 7.938 kB / 0.5841 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.3806, allocations: 15.98 kB / 0.5841 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3806, allocations: 4 kB / 0.5841 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3806, allocations: 0 / 0.5841 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.382, allocations: 0.944 MB / 0.585 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.3823, allocations: 111.4 kB / 0.5851 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.3824, allocations: 15.98 kB / 0.5851 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.3827, allocations: 19.98 kB / 0.5851 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.3828, allocations: 40.36 kB / 0.5852 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3828, allocations: 16 kB / 0.5852 GB, free: 7.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005351/0.3833, allocations: 419 kB / 0.5856 GB, free: 6.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 0 / 0.5856 GB, free: 6.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.3842, allocations: 235.9 kB / 0.5858 GB, free: 6.5 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.001897/0.3861, allocations: 1.522 MB / 0.5873 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3878, allocations: 1.01 MB / 0.5883 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3878, allocations: 0 / 0.5883 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.3882, allocations: 243.8 kB / 0.5885 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/0.389, allocations: 153.6 kB / 0.5887 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.3999, allocations: 7.153 MB / 0.5957 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/0.4007, allocations: 1.086 MB / 0.5967 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004988/0.4012, allocations: 193.9 kB / 0.5969 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.4017, allocations: 327.3 kB / 0.5972 GB, free: 10.4 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4017, allocations: 0 / 0.5972 GB, free: 10.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05704/0.4587, allocations: 17.45 MB / 0.6143 GB, free: 9.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.53, allocations: 14.56 kB / 0.6143 GB, free: 9.117 MB / 462.1 MB " [Timeout remaining time 645] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.4620397570543] Failed to read output from testmodel.py, exit status != 0: 14.660561563912779 14.676402821 14.332309064 Calling exit ...