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.001373/0.001373, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001437/0.001437, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2207/0.2207, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.002043/0.002043, allocations: 58.25 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 62.47 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009741/0.3269, allocations: 7.146 MB / 0.5497 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005738/0.3327, allocations: 2.804 MB / 0.5524 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.3333, allocations: 36.44 kB / 0.5525 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.3354, allocations: 0.7224 MB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.338, allocations: 0.7092 MB / 0.5539 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3393, allocations: 385.6 kB / 0.5542 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002498/0.3418, allocations: 1.351 MB / 0.5556 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009409/0.3427, allocations: 0.5584 MB / 0.5561 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.3438, allocations: 0.5776 MB / 0.5567 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.345, allocations: 0.673 MB / 0.5573 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.3452, allocations: 76 kB / 0.5574 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3464, allocations: 0.4952 MB / 0.5579 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.3469, allocations: 458.7 kB / 0.5583 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.3475, allocations: 426 kB / 0.5587 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.3495, allocations: 1.44 MB / 0.5601 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3495, allocations: 0 / 0.5601 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3495, allocations: 0 / 0.5601 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.3496, allocations: 0 / 0.5601 GB, free: 2.383 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.002647/0.3522, allocations: 1.236 MB / 0.5613 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3523, allocations: 11.98 kB / 0.5613 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.447e-05/0.3523, allocations: 26.19 kB / 0.5614 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.3525, allocations: 139.6 kB / 0.5615 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3539, allocations: 216.1 kB / 0.5617 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.3556, allocations: 0.6693 MB / 0.5624 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.3557, allocations: 66.02 kB / 0.5624 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.3559, allocations: 99.84 kB / 0.5625 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3579, allocations: 1.096 MB / 0.5636 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.3579, allocations: 11.97 kB / 0.5636 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.224e-05/0.358, allocations: 43.92 kB / 0.5636 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.3582, allocations: 65.97 kB / 0.5637 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.3597, allocations: 0.8743 MB / 0.5646 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.3656, allocations: 3.65 MB / 0.5681 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.3663, allocations: 342.7 kB / 0.5684 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.3667, allocations: 260.3 kB / 0.5687 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.3667, allocations: 8.438 kB / 0.5687 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3667, allocations: 38.94 kB / 0.5687 GB, free: 9.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.534e-06/0.3668, allocations: 0 / 0.5687 GB, free: 9.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003282/0.37, allocations: 1.664 MB / 0.5704 GB, free: 7.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.3701, allocations: 89.48 kB / 0.5705 GB, free: 7.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.3709, allocations: 0.5861 MB / 0.571 GB, free: 6.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.3709, allocations: 37.69 kB / 0.5711 GB, free: 6.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.3713, allocations: 479.7 kB / 0.5715 GB, free: 6.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.3715, allocations: 194.3 kB / 0.5717 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.3717, allocations: 142.6 kB / 0.5718 GB, free: 5.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.3719, allocations: 386.9 kB / 0.5722 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.3723, allocations: 249.8 kB / 0.5724 GB, free: 5.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.373, allocations: 476.9 kB / 0.5729 GB, free: 4.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3741, allocations: 0.7715 MB / 0.5737 GB, free: 3.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.3741, allocations: 4 kB / 0.5737 GB, free: 3.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002244/0.3764, allocations: 1.041 MB / 0.5747 GB, free: 2.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3764, allocations: 8 kB / 0.5747 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001516/0.3779, allocations: 0.7105 MB / 0.5754 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/0.3787, allocations: 226.3 kB / 0.5756 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.3793, allocations: 151.8 kB / 0.5757 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.3858, allocations: 5.335 MB / 0.5809 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.3864, allocations: 39.97 kB / 0.581 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.3864, allocations: 28 kB / 0.581 GB, free: 11.98 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.0005058/0.3869, allocations: 307.6 kB / 0.5813 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.3871, allocations: 75.53 kB / 0.5814 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3882, allocations: 0.6046 MB / 0.582 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3882, allocations: 4 kB / 0.582 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3882, allocations: 0 / 0.582 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3882, allocations: 3.984 kB / 0.582 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.3908, allocations: 1.411 MB / 0.5834 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3908, allocations: 0 / 0.5834 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.3915, allocations: 131.8 kB / 0.5835 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.3915, allocations: 3.938 kB / 0.5835 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.3916, allocations: 16 kB / 0.5835 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3916, allocations: 8.156 kB / 0.5835 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3916, allocations: 0 / 0.5835 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3929, allocations: 0.9362 MB / 0.5844 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.3932, allocations: 111.4 kB / 0.5845 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.3933, allocations: 15.98 kB / 0.5845 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.3936, allocations: 23.98 kB / 0.5846 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.3937, allocations: 36.31 kB / 0.5846 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.3937, allocations: 20 kB / 0.5846 GB, free: 8.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000517/0.3943, allocations: 419 kB / 0.585 GB, free: 7.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3943, allocations: 0 / 0.585 GB, free: 7.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008325/0.3951, allocations: 235.9 kB / 0.5852 GB, free: 7.535 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.001943/0.397, allocations: 1.511 MB / 0.5867 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.3989, allocations: 1.007 MB / 0.5877 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3989, allocations: 0 / 0.5877 GB, free: 4.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.3993, allocations: 262.5 kB / 0.588 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.4001, allocations: 150 kB / 0.5881 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.417, allocations: 7.161 MB / 0.5951 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.4179, allocations: 498.6 kB / 0.5956 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008153/0.4187, allocations: 185.9 kB / 0.5957 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006903/0.4194, allocations: 327.3 kB / 0.5961 GB, free: 12.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4194, allocations: 4 kB / 0.5961 GB, free: 12.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07108/0.4905, allocations: 17.54 MB / 0.6132 GB, free: 10.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.26, allocations: 12 kB / 0.6132 GB, free: 10.75 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.234428331954405] Failed to read output from testmodel.py, exit status != 0: 15.441926131024957 15.458554395 15.105699449 Calling exit ...