Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001749/0.001749, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002143/0.002143, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1862/0.1862, 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.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",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.002136/0.002136, allocations: 60.19 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3358, allocations: 62.47 MB / 0.5428 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0123/0.3481, allocations: 9.804 MB / 0.5523 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007364/0.3554, allocations: 3.652 MB / 0.5559 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009505/0.3564, allocations: 46.25 kB / 0.556 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.3596, allocations: 1.129 MB / 0.5571 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.3627, allocations: 0.9129 MB / 0.558 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.3644, allocations: 489.6 kB / 0.5584 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.3676, allocations: 1.818 MB / 0.5602 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.3689, allocations: 0.7395 MB / 0.5609 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.3705, allocations: 0.7899 MB / 0.5617 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.372, allocations: 0.9734 MB / 0.5626 GB, free: 260 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.3722, allocations: 108 kB / 0.5627 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.3736, allocations: 0.6239 MB / 0.5634 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007063/0.3743, allocations: 0.6545 MB / 0.564 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008851/0.3752, allocations: 0.6998 MB / 0.5647 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.3781, allocations: 1.926 MB / 0.5666 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3781, allocations: 4 kB / 0.5666 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3781, allocations: 0 / 0.5666 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.021e-05/0.3781, allocations: 0 / 0.5666 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003437/0.3815, allocations: 1.602 MB / 0.5681 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.3816, allocations: 15.98 kB / 0.5681 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.999e-05/0.3816, allocations: 30.3 kB / 0.5682 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.3819, allocations: 181.6 kB / 0.5683 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.3838, allocations: 311.8 kB / 0.5686 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.386, allocations: 0.8732 MB / 0.5695 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.3861, allocations: 78.11 kB / 0.5696 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.3864, allocations: 135.9 kB / 0.5697 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.3889, allocations: 1.493 MB / 0.5712 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.389, allocations: 11.89 kB / 0.5712 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3891, allocations: 43.98 kB / 0.5712 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/0.3894, allocations: 102.2 kB / 0.5713 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.3916, allocations: 1.262 MB / 0.5725 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009139/0.4007, allocations: 5.531 MB / 0.5779 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4018, allocations: 0.5546 MB / 0.5785 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.4024, allocations: 379.5 kB / 0.5788 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.4025, allocations: 16.56 kB / 0.5789 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.4025, allocations: 39.22 kB / 0.5789 GB, free: 15.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=67): time 2.595e-06/0.4025, allocations: 0 / 0.5789 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.007896/0.4104, allocations: 3.213 MB / 0.582 GB, free: 11.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.4105, allocations: 85.77 kB / 0.5821 GB, free: 11.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009971/0.4115, allocations: 0.739 MB / 0.5828 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.4115, allocations: 41.7 kB / 0.5829 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.412, allocations: 0.6013 MB / 0.5835 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.4123, allocations: 285.6 kB / 0.5837 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.4126, allocations: 182.6 kB / 0.5839 GB, free: 9.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.4129, allocations: 402.7 kB / 0.5843 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.4135, allocations: 393.8 kB / 0.5847 GB, free: 9.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.4144, allocations: 0.6574 MB / 0.5853 GB, free: 8.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.4161, allocations: 1.14 MB / 0.5864 GB, free: 7.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.4161, allocations: 4 kB / 0.5864 GB, free: 7.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003692/0.4198, allocations: 1.686 MB / 0.5881 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.4198, allocations: 12.27 kB / 0.5881 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00282/0.4227, allocations: 1.29 MB / 0.5893 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.4246, allocations: 0.5768 MB / 0.5899 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.4253, allocations: 175.7 kB / 0.5901 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.4388, allocations: 9.949 MB / 0.5998 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/0.4397, allocations: 51.92 kB / 0.5998 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/0.4398, allocations: 40.19 kB / 0.5999 GB, free: 8.707 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000658/0.4404, allocations: 384.2 kB / 0.6002 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.4406, allocations: 103.3 kB / 0.6003 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.4431, allocations: 1.248 MB / 0.6016 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.4431, allocations: 8 kB / 0.6016 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4431, allocations: 4 kB / 0.6016 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4431, allocations: 7.922 kB / 0.6016 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/0.4477, allocations: 2.352 MB / 0.6039 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4477, allocations: 0 / 0.6039 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.4482, allocations: 116 kB / 0.604 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.4493, allocations: 379.8 kB / 0.6044 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/0.4494, allocations: 27.92 kB / 0.6044 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/0.4587, allocations: 8.785 MB / 0.613 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4587, allocations: 64 / 0.613 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.4617, allocations: 1.69 MB / 0.6146 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.4621, allocations: 155.2 kB / 0.6148 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.4623, allocations: 27.89 kB / 0.6148 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.4628, allocations: 31.97 kB / 0.6148 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.4629, allocations: 60.53 kB / 0.6149 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.463, allocations: 20 kB / 0.6149 GB, free: 8.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007265/0.4637, allocations: 0.5029 MB / 0.6154 GB, free: 8.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4637, allocations: 4 kB / 0.6154 GB, free: 8.059 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001404/0.4651, allocations: 371.9 kB / 0.6157 GB, free: 7.695 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003429/0.4685, allocations: 2.265 MB / 0.618 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.4712, allocations: 1.525 MB / 0.6194 GB, free: 3.793 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4712, allocations: 0 / 0.6194 GB, free: 3.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.4729, allocations: 1.076 MB / 0.6205 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4741, allocations: 205.8 kB / 0.6207 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.4912, allocations: 9.92 MB / 0.6304 GB, free: 8.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.4925, allocations: 1.258 MB / 0.6316 GB, free: 6.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007332/0.4932, allocations: 219.6 kB / 0.6318 GB, free: 6.602 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.4939, allocations: 439.3 kB / 0.6322 GB, free: 6.172 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4939, allocations: 0 / 0.6322 GB, free: 6.172 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/0.5683, allocations: 26.12 MB / 0.6577 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/15.9, allocations: 9.422 kB / 0.6578 GB, free: 12.23 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.97813484701328] Failed to read output from testmodel.py, exit status != 0: 16.09139023500029 16.117825382 15.734753087 Calling exit ...