Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.00131/0.00131, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001448/0.001448, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.502/1.502, 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 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.187/0.187, allocations: 38.52 MB / 353.2 MB, free: 12.64 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: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [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.002204/0.002204, allocations: 66.69 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3922, allocations: 62.47 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.009933/0.4021, allocations: 5.58 MB / 0.5487 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.4075, allocations: 2.3 MB / 0.5509 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.4084, allocations: 33.38 kB / 0.551 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.4096, allocations: 289.5 kB / 0.5512 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.4109, allocations: 343.6 kB / 0.5516 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.4124, allocations: 0.5076 MB / 0.5521 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.4142, allocations: 1.071 MB / 0.5531 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.4153, allocations: 0.5581 MB / 0.5536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.4163, allocations: 423 kB / 0.554 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.4169, allocations: 409.5 kB / 0.5544 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.417, allocations: 81.53 kB / 0.5545 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.4178, allocations: 364.8 kB / 0.5549 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.4181, allocations: 225.9 kB / 0.5551 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.4186, allocations: 383.8 kB / 0.5554 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.4204, allocations: 1.087 MB / 0.5565 GB, free: 6.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4204, allocations: 5.312 kB / 0.5565 GB, free: 6.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4204, allocations: 0 / 0.5565 GB, free: 6.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.4204, allocations: 0 / 0.5565 GB, free: 6.363 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002722/0.4231, allocations: 1.062 MB / 0.5576 GB, free: 5.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4232, allocations: 16.83 kB / 0.5576 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.4242, allocations: 166.7 kB / 0.5577 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.4256, allocations: 0.5408 MB / 0.5583 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-05/0.4257, allocations: 49.67 kB / 0.5583 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.4258, allocations: 64.33 kB / 0.5584 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.4281, allocations: 0.765 MB / 0.5591 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.4281, allocations: 4 kB / 0.5591 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.4282, allocations: 27.97 kB / 0.5591 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/0.4283, allocations: 33.31 kB / 0.5592 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.4303, allocations: 0.6218 MB / 0.5598 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007397/0.4377, allocations: 2.812 MB / 0.5625 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.4399, allocations: 0.6086 MB / 0.5631 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006977/0.4406, allocations: 223 kB / 0.5633 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.4407, allocations: 4.531 kB / 0.5633 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.4407, allocations: 50.97 kB / 0.5634 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 4.188e-06/0.4407, allocations: 0 / 0.5634 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002615/0.4433, allocations: 0.7018 MB / 0.5641 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.4435, allocations: 136.9 kB / 0.5642 GB, free: 14.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.4448, allocations: 0.5899 MB / 0.5648 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.4449, allocations: 37.7 kB / 0.5648 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.4454, allocations: 353 kB / 0.5651 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.4456, allocations: 178.4 kB / 0.5653 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.4459, allocations: 110.3 kB / 0.5654 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002789/0.4462, allocations: 374.8 kB / 0.5658 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.4469, allocations: 211.4 kB / 0.566 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008541/0.4477, allocations: 350.3 kB / 0.5663 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.4492, allocations: 0.549 MB / 0.5669 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.4493, allocations: 11.88 kB / 0.5669 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002689/0.4519, allocations: 0.7811 MB / 0.5676 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.452, allocations: 10.81 kB / 0.5676 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.452, allocations: 4 kB / 0.5676 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.4526, allocations: 109.2 kB / 0.5677 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.4534, allocations: 135.8 kB / 0.5679 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.458, allocations: 2.321 MB / 0.5701 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009429/0.4589, allocations: 91.45 kB / 0.5702 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.459, allocations: 20 kB / 0.5702 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001114/0.4601, allocations: 373.4 kB / 0.5706 GB, free: 7.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008773/0.461, allocations: 326.3 kB / 0.5709 GB, free: 7.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00153/0.4625, allocations: 0.5294 MB / 0.5714 GB, free: 6.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.028e-06/0.4625, allocations: 0 / 0.5714 GB, free: 6.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002201/0.4647, allocations: 0.707 MB / 0.5721 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4647, allocations: 8 kB / 0.5721 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4647, allocations: 4 kB / 0.5721 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.4652, allocations: 96.78 kB / 0.5722 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.466, allocations: 136.1 kB / 0.5724 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.4694, allocations: 2.126 MB / 0.5744 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.4702, allocations: 71.64 kB / 0.5745 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.4703, allocations: 20 kB / 0.5745 GB, free: 3.594 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.4707, allocations: 216.5 kB / 0.5747 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.4709, allocations: 71.52 kB / 0.5748 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.4728, allocations: 0.5615 MB / 0.5753 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4728, allocations: 8 kB / 0.5754 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4728, allocations: 0 / 0.5754 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.4728, allocations: 7.984 kB / 0.5754 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.4763, allocations: 1.278 MB / 0.5766 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4763, allocations: 4 kB / 0.5766 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/0.4772, allocations: 111.8 kB / 0.5767 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.4772, allocations: 3.984 kB / 0.5767 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.4772, allocations: 12 kB / 0.5767 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.4773, allocations: 4 kB / 0.5767 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4773, allocations: 3.984 kB / 0.5767 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.4798, allocations: 0.9142 MB / 0.5776 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.4802, allocations: 119.4 kB / 0.5777 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.4804, allocations: 15.98 kB / 0.5778 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.481, allocations: 31.97 kB / 0.5778 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4812, allocations: 40.36 kB / 0.5778 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.4812, allocations: 12 kB / 0.5778 GB, free: 116 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.4823, allocations: 427.1 kB / 0.5782 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4823, allocations: 0 / 0.5782 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001594/0.4839, allocations: 263.6 kB / 0.5785 GB, free: 15.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * 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 (50): * Single equations (assignments): 49 * 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.0002012/0.4841, allocations: 111.2 kB / 0.5786 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.4873, allocations: 1.057 MB / 0.5796 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.4873, allocations: 4 kB / 0.5796 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007701/0.4881, allocations: 242.3 kB / 0.5799 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.4893, allocations: 151.8 kB / 0.58 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.4938, allocations: 1.544 MB / 0.5815 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/0.4947, allocations: 0.9418 MB / 0.5824 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.4949, allocations: 51.42 kB / 0.5825 GB, free: 11.26 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4949, allocations: 0 / 0.5825 GB, free: 11.26 MB / 430.1 MB Notification: Performance of Templates: time 0.02252/0.5175, allocations: 9.845 MB / 0.5921 GB, free: 1.418 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.75226567988284] Failed to read output from testmodel.py, exit status != 0: 0.5285941308829933 0.5508753559999999 0.126146707 Calling exit ...