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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 109.7 kB / 17.28 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00315/0.00315, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.978/2.978, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4647/0.4647, allocations: 38.02 MB / 330 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00296/0.00296, allocations: 65.67 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3413, allocations: 58.06 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.03082/0.3722, allocations: 6.51 MB / 463.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01822/0.3905, allocations: 2.883 MB / 466.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.3928, allocations: 43.75 kB / 466.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.3967, allocations: 334.5 kB / 466.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.3995, allocations: 422.3 kB / 467.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.4023, allocations: 0.5062 MB / 467.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.4053, allocations: 1.206 MB / 468.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.4074, allocations: 0.7325 MB / 469.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4089, allocations: 462.1 kB / 470.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.4102, allocations: 490 kB / 470.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.4105, allocations: 87.94 kB / 470.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.4121, allocations: 0.5262 MB / 471.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.4125, allocations: 267.1 kB / 471.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.4133, allocations: 429.7 kB / 471.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.4156, allocations: 0.9628 MB / 472.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4156, allocations: 8 kB / 472.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4157, allocations: 0 / 472.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.4157, allocations: 0 / 472.8 MB, free: 8.5 MB / 350.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.005111/0.4208, allocations: 1.204 MB / 474 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.738e-05/0.4209, allocations: 15.89 kB / 474 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.4231, allocations: 203.7 kB / 474.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.4251, allocations: 0.6045 MB / 474.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4253, allocations: 49.69 kB / 474.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.4255, allocations: 64.38 kB / 474.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.4282, allocations: 0.8821 MB / 475.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/0.4283, allocations: 4 kB / 475.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.4285, allocations: 27.98 kB / 475.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.4286, allocations: 45.23 kB / 475.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.4308, allocations: 0.7818 MB / 476.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007783/0.4386, allocations: 3.253 MB / 479.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.4418, allocations: 0.968 MB / 480.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.443, allocations: 315.2 kB / 481.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.689e-05/0.4431, allocations: 4.562 kB / 481.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.358e-05/0.4432, allocations: 39.12 kB / 481.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 7.544e-06/0.4432, allocations: 4 kB / 481.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.01381/0.457, allocations: 2.545 MB / 483.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.4572, allocations: 107.4 kB / 483.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.4589, allocations: 0.5821 MB / 484.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.918e-05/0.459, allocations: 41.7 kB / 484.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.4594, allocations: 360.2 kB / 484.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.4599, allocations: 224.8 kB / 485.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.4603, allocations: 118.7 kB / 485.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.4606, allocations: 378.8 kB / 485.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009455/0.4615, allocations: 272.7 kB / 485.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.4627, allocations: 429.7 kB / 486.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.4647, allocations: 0.6888 MB / 487 MB, free: 9.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.4647, allocations: 4 kB / 487 MB, free: 9.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00287/0.4676, allocations: 0.8267 MB / 487.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.4677, allocations: 8 kB / 487.8 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.4677, allocations: 4 kB / 487.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.4682, allocations: 65.25 kB / 487.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4694, allocations: 179.7 kB / 488 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.4727, allocations: 1.813 MB / 489.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/0.478, allocations: 55.94 kB / 489.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.4782, allocations: 27.94 kB / 489.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001568/0.4798, allocations: 446 kB / 490.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.4809, allocations: 397.8 kB / 490.8 MB, free: 5.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002063/0.483, allocations: 0.6694 MB / 491.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.678e-05/0.4831, allocations: 4 kB / 491.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.00721/0.4903, allocations: 0.8033 MB / 492.2 MB, free: 4.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.4904, allocations: 4 kB / 492.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.4904, allocations: 4 kB / 492.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.4909, allocations: 65.19 kB / 492.3 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.4924, allocations: 175.7 kB / 492.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.4954, allocations: 1.809 MB / 494.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.4965, allocations: 43.95 kB / 494.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.4966, allocations: 28 kB / 494.4 MB, free: 1.91 MB / 366.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.0004537/0.497, allocations: 220.1 kB / 494.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.4973, allocations: 67.16 kB / 494.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.5002, allocations: 0.784 MB / 495.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5003, allocations: 4 kB / 495.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5003, allocations: 0 / 495.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.5003, allocations: 7.984 kB / 495.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.5126, allocations: 2.142 MB / 497.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/0.5127, allocations: 12.03 kB / 497.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.5141, allocations: 131.8 kB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/0.5147, allocations: 52.81 kB / 497.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.5148, allocations: 23.98 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007848/0.5227, allocations: 1.767 MB / 499.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.5228, allocations: 7.938 kB / 499.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/0.5274, allocations: 1.322 MB / 0.4892 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/0.5283, allocations: 204.1 kB / 0.4894 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.5285, allocations: 23.98 kB / 0.4894 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5297, allocations: 51.95 kB / 0.4894 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.53, allocations: 67.75 kB / 0.4895 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.5301, allocations: 31.94 kB / 0.4895 GB, free: 10.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.5314, allocations: 419 kB / 0.4899 GB, free: 10.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.928e-06/0.5314, allocations: 0 / 0.4899 GB, free: 10.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002127/0.5335, allocations: 255.9 kB / 0.4902 GB, free: 9.93 MB / 382.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.0003591/0.5339, allocations: 131.9 kB / 0.4903 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.5386, allocations: 1.329 MB / 0.4916 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.5387, allocations: 0 / 0.4916 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.5402, allocations: 487.8 kB / 0.4921 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006449/0.5466, allocations: 163 kB / 0.4922 GB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.5521, allocations: 2.062 MB / 0.4942 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009827/0.5532, allocations: 0.9861 MB / 0.4952 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.5535, allocations: 59.42 kB / 0.4952 GB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.5536, allocations: 0 / 0.4952 GB, free: 4.555 MB / 382.1 MB Notification: Performance of Templates: time 0.03644/0.59, allocations: 12.48 MB / 0.5074 GB, free: 8.09 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (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)