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.001828/0.001828, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002288/0.002288, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.1902/0.1902, allocations: 38.53 MB / 353.2 MB, free: 12.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_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.002026/0.002026, allocations: 59.89 kB / 493.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 62.47 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01058/0.3372, allocations: 7.733 MB / 0.5503 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006281/0.3434, allocations: 3.065 MB / 0.5533 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.3442, allocations: 37.03 kB / 0.5534 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.3463, allocations: 0.7533 MB / 0.5541 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.3488, allocations: 0.7111 MB / 0.5548 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3501, allocations: 386.1 kB / 0.5552 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.3524, allocations: 1.353 MB / 0.5565 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/0.3533, allocations: 0.5624 MB / 0.557 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009907/0.3543, allocations: 0.5698 MB / 0.5576 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.3555, allocations: 0.6711 MB / 0.5582 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3556, allocations: 81.12 kB / 0.5583 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.3567, allocations: 0.5381 MB / 0.5588 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.3572, allocations: 458.7 kB / 0.5593 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.3578, allocations: 0.5092 MB / 0.5598 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.3596, allocations: 1.428 MB / 0.5612 GB, free: 1.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3596, allocations: 0 / 0.5612 GB, free: 1.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3596, allocations: 0 / 0.5612 GB, free: 1.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.3596, allocations: 4 kB / 0.5612 GB, free: 1.645 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.002393/0.362, allocations: 1.228 MB / 0.5624 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.3621, allocations: 15.98 kB / 0.5624 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.843e-05/0.3621, allocations: 26.19 kB / 0.5624 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.3623, allocations: 143.6 kB / 0.5625 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.3637, allocations: 224 kB / 0.5628 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.3652, allocations: 0.6732 MB / 0.5634 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.3653, allocations: 61.94 kB / 0.5635 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.3655, allocations: 99.92 kB / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3673, allocations: 1.096 MB / 0.5646 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.3673, allocations: 0 / 0.5646 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/0.3674, allocations: 39.98 kB / 0.5647 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.3676, allocations: 73.95 kB / 0.5648 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.3691, allocations: 0.8704 MB / 0.5656 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.3749, allocations: 3.888 MB / 0.5694 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.3756, allocations: 337.5 kB / 0.5697 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.376, allocations: 263 kB / 0.57 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.376, allocations: 8.422 kB / 0.57 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3761, allocations: 42.94 kB / 0.57 GB, free: 8.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.3761, allocations: 0 / 0.57 GB, free: 8.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003486/0.3796, allocations: 1.671 MB / 0.5717 GB, free: 6.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.3796, allocations: 85.48 kB / 0.5717 GB, free: 6.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.3804, allocations: 0.5822 MB / 0.5723 GB, free: 5.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.3805, allocations: 37.7 kB / 0.5723 GB, free: 5.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.3809, allocations: 483.8 kB / 0.5728 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.3811, allocations: 202.3 kB / 0.573 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.3813, allocations: 138.6 kB / 0.5731 GB, free: 4.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3816, allocations: 382.8 kB / 0.5735 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.382, allocations: 249.8 kB / 0.5737 GB, free: 4.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.3826, allocations: 476.9 kB / 0.5742 GB, free: 3.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3837, allocations: 0.7754 MB / 0.5749 GB, free: 2.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3837, allocations: 4 kB / 0.5749 GB, free: 2.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002314/0.386, allocations: 1.029 MB / 0.576 GB, free: 1.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3861, allocations: 12.06 kB / 0.576 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001516/0.3876, allocations: 0.7219 MB / 0.5767 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008281/0.3884, allocations: 222.3 kB / 0.5769 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.389, allocations: 151.8 kB / 0.577 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006963/0.396, allocations: 5.362 MB / 0.5823 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.3967, allocations: 39.97 kB / 0.5823 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.3968, allocations: 28 kB / 0.5823 GB, free: 10.96 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.0005515/0.3974, allocations: 309.5 kB / 0.5826 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3975, allocations: 71.53 kB / 0.5827 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3987, allocations: 0.6085 MB / 0.5833 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.3987, allocations: 8 kB / 0.5833 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3987, allocations: 0 / 0.5833 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3987, allocations: 3.984 kB / 0.5833 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.4015, allocations: 1.458 MB / 0.5847 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4015, allocations: 4 kB / 0.5847 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.4021, allocations: 123.9 kB / 0.5848 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.4022, allocations: 12.09 kB / 0.5849 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.4022, allocations: 16 kB / 0.5849 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.4022, allocations: 7.938 kB / 0.5849 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4022, allocations: 4 kB / 0.5849 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4037, allocations: 0.944 MB / 0.5858 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.4041, allocations: 111.4 kB / 0.5859 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.911e-05/0.4041, allocations: 15.98 kB / 0.5859 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4045, allocations: 23.98 kB / 0.5859 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.4046, allocations: 36.31 kB / 0.586 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.4046, allocations: 12 kB / 0.586 GB, free: 7.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005476/0.4052, allocations: 427 kB / 0.5864 GB, free: 6.676 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4052, allocations: 0 / 0.5864 GB, free: 6.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008633/0.406, allocations: 231.9 kB / 0.5866 GB, free: 6.449 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.001864/0.4079, allocations: 1.511 MB / 0.5881 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.4097, allocations: 1.011 MB / 0.5891 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4097, allocations: 0 / 0.5891 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.4101, allocations: 250.2 kB / 0.5893 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/0.411, allocations: 150.7 kB / 0.5895 GB, free: 3.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.4249, allocations: 7.171 MB / 0.5965 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.4262, allocations: 1.082 MB / 0.5975 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009141/0.4271, allocations: 185.9 kB / 0.5977 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/0.4279, allocations: 331.3 kB / 0.598 GB, free: 10.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.844e-06/0.4279, allocations: 4 kB / 0.598 GB, free: 10.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06716/0.495, allocations: 17.46 MB / 0.6151 GB, free: 9.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.04, allocations: 11.86 kB / 0.6151 GB, free: 9.051 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: 18.0661465190351] Failed to read output from testmodel.py, exit status != 0: 15.229549554991536 15.244670805 14.881537767 Calling exit ...