Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.001493/0.001493, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001629/0.001629, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1957/0.1957, allocations: 38.52 MB / 353.2 MB, free: 12.61 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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") [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.002216/0.002216, allocations: 63.89 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3802, allocations: 62.47 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.008571/0.3887, allocations: 6.077 MB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005441/0.3942, allocations: 2.794 MB / 0.5519 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.3952, allocations: 34 kB / 0.5519 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3966, allocations: 398.8 kB / 0.5523 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.3982, allocations: 478.8 kB / 0.5528 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3997, allocations: 0.5683 MB / 0.5533 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.4017, allocations: 1.224 MB / 0.5545 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.4028, allocations: 0.6084 MB / 0.5551 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.4037, allocations: 490.7 kB / 0.5556 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.4045, allocations: 496 kB / 0.556 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4046, allocations: 86.75 kB / 0.5561 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.4057, allocations: 0.5416 MB / 0.5567 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.406, allocations: 271.4 kB / 0.5569 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.4065, allocations: 426.4 kB / 0.5573 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.4084, allocations: 1.248 MB / 0.5585 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4084, allocations: 0 / 0.5585 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4084, allocations: 4 kB / 0.5585 GB, free: 4.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4084, allocations: 0 / 0.5585 GB, free: 4.691 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002525/0.411, allocations: 1.157 MB / 0.5597 GB, free: 3.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.411, allocations: 19.98 kB / 0.5597 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.4123, allocations: 208.1 kB / 0.5599 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.4135, allocations: 0.5629 MB / 0.5604 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.4136, allocations: 53.69 kB / 0.5605 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4137, allocations: 68.33 kB / 0.5606 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.4153, allocations: 0.8908 MB / 0.5614 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4153, allocations: 0 / 0.5614 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.4154, allocations: 35.92 kB / 0.5615 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.4155, allocations: 37.3 kB / 0.5615 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.417, allocations: 0.7819 MB / 0.5623 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005377/0.4224, allocations: 3.155 MB / 0.5653 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.4242, allocations: 0.7067 MB / 0.566 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.4248, allocations: 291.1 kB / 0.5663 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.4248, allocations: 12.48 kB / 0.5663 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4249, allocations: 43.06 kB / 0.5664 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.745e-06/0.4249, allocations: 0 / 0.5664 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.005304/0.4302, allocations: 2.328 MB / 0.5686 GB, free: 10.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.4303, allocations: 137 kB / 0.5688 GB, free: 9.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.4312, allocations: 0.5783 MB / 0.5693 GB, free: 9.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.4313, allocations: 41.7 kB / 0.5694 GB, free: 9.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.4316, allocations: 372.8 kB / 0.5697 GB, free: 8.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.4319, allocations: 234 kB / 0.5699 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.4321, allocations: 118.6 kB / 0.5701 GB, free: 8.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.4323, allocations: 386.8 kB / 0.5704 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.433, allocations: 276.7 kB / 0.5707 GB, free: 7.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.4337, allocations: 422.7 kB / 0.5711 GB, free: 7.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.4351, allocations: 0.6979 MB / 0.5718 GB, free: 6.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4351, allocations: 0 / 0.5718 GB, free: 6.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001837/0.4369, allocations: 0.8372 MB / 0.5726 GB, free: 5.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4369, allocations: 4 kB / 0.5726 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4369, allocations: 4 kB / 0.5726 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.4372, allocations: 64.81 kB / 0.5727 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/0.438, allocations: 176.1 kB / 0.5728 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.4401, allocations: 1.705 MB / 0.5745 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.4407, allocations: 63.94 kB / 0.5746 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.4408, allocations: 27.92 kB / 0.5746 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008568/0.4416, allocations: 442 kB / 0.575 GB, free: 3.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006828/0.4423, allocations: 406.8 kB / 0.5754 GB, free: 2.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00123/0.4435, allocations: 0.6706 MB / 0.576 GB, free: 2.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.4435, allocations: 0 / 0.576 GB, free: 2.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001712/0.4452, allocations: 0.8102 MB / 0.5768 GB, free: 1.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4453, allocations: 8 kB / 0.5768 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4453, allocations: 8.031 kB / 0.5769 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.4455, allocations: 60.75 kB / 0.5769 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.4462, allocations: 179.7 kB / 0.5771 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.4481, allocations: 1.702 MB / 0.5787 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.4487, allocations: 47.95 kB / 0.5788 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.4487, allocations: 28.12 kB / 0.5788 GB, free: 15.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.449, allocations: 236 kB / 0.579 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4491, allocations: 71.53 kB / 0.5791 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.4509, allocations: 0.7746 MB / 0.5799 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.4509, allocations: 8 kB / 0.5799 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4509, allocations: 0 / 0.5799 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4509, allocations: 7.984 kB / 0.5799 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/0.4555, allocations: 2.107 MB / 0.5819 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.4555, allocations: 8.125 kB / 0.5819 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.4561, allocations: 127.8 kB / 0.5821 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.4564, allocations: 60.75 kB / 0.5821 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.4564, allocations: 20 kB / 0.5821 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.4581, allocations: 1.652 MB / 0.5838 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.4581, allocations: 11.94 kB / 0.5838 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4605, allocations: 1.326 MB / 0.5851 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.4609, allocations: 135.4 kB / 0.5852 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.461, allocations: 23.98 kB / 0.5852 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.4615, allocations: 47.95 kB / 0.5853 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4616, allocations: 79.59 kB / 0.5853 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.4616, allocations: 27.98 kB / 0.5854 GB, free: 7.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006869/0.4623, allocations: 427 kB / 0.5858 GB, free: 7.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4623, allocations: 0 / 0.5858 GB, free: 7.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4634, allocations: 248 kB / 0.586 GB, free: 7.344 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002127/0.4636, allocations: 127 kB / 0.5861 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.4663, allocations: 1.213 MB / 0.5873 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4663, allocations: 0 / 0.5873 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.4673, allocations: 479.5 kB / 0.5878 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4683, allocations: 167.8 kB / 0.5879 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.4718, allocations: 1.794 MB / 0.5897 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.4726, allocations: 0.9861 MB / 0.5907 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4729, allocations: 55.42 kB / 0.5907 GB, free: 2.355 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4729, allocations: 0 / 0.5907 GB, free: 2.355 MB / 430.1 MB Notification: Performance of Templates: time 0.0201/0.493, allocations: 12.61 MB / 0.603 GB, free: 5.754 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.948481607949361] Failed to read output from testmodel.py, exit status != 0: 0.5033835000358522 0.519679934 0.10783814500000001 Calling exit ...