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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0012/0.0012, allocations: 110.6 kB / 17.68 MB, free: 5.332 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.00102/0.00102, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1825/0.1825, allocations: 37.99 MB / 309.8 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.91 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2802, allocations: 55.24 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.006339/0.2866, allocations: 5.933 MB / 438 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.2909, allocations: 2.774 MB / 440.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006696/0.2916, allocations: 35.81 kB / 440.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2928, allocations: 369.9 kB / 441.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.2939, allocations: 481.5 kB / 441.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2952, allocations: 0.5563 MB / 442.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.2961, allocations: 1.202 MB / 443.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.2969, allocations: 0.7091 MB / 444.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.2974, allocations: 462.1 kB / 444.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.2978, allocations: 477.9 kB / 445 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.298, allocations: 88 kB / 445.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007461/0.2987, allocations: 0.5223 MB / 445.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2989, allocations: 267.2 kB / 445.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.2992, allocations: 425.7 kB / 446.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3003, allocations: 1.246 MB / 447.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3003, allocations: 3.938 kB / 447.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3003, allocations: 4 kB / 447.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.3003, allocations: 0 / 447.5 MB, free: 3.91 MB / 318.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.002051/0.3024, allocations: 1.217 MB / 448.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3024, allocations: 15.89 kB / 448.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3036, allocations: 199.7 kB / 448.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.3046, allocations: 0.6475 MB / 449.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.3047, allocations: 49.69 kB / 449.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3048, allocations: 72.36 kB / 449.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3061, allocations: 0.8743 MB / 450.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.3061, allocations: 0 / 450.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.3062, allocations: 31.98 kB / 450.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.3063, allocations: 49.28 kB / 450.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3075, allocations: 0.7741 MB / 451.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/0.3125, allocations: 3.237 MB / 454.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3143, allocations: 0.9679 MB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.3149, allocations: 307.3 kB / 455.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.098e-05/0.3149, allocations: 16.55 kB / 456 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.315, allocations: 39.12 kB / 456 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.315, allocations: 0 / 456 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.005121/0.3201, allocations: 2.529 MB / 458.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3202, allocations: 111.4 kB / 458.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.3211, allocations: 0.5899 MB / 459.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.3212, allocations: 37.7 kB / 459.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.3215, allocations: 376.2 kB / 459.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3217, allocations: 216.8 kB / 459.8 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.3219, allocations: 118.6 kB / 460 MB, free: 6.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.3222, allocations: 386.8 kB / 460.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/0.3228, allocations: 276.7 kB / 460.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/0.3235, allocations: 417.7 kB / 461 MB, free: 5.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3247, allocations: 0.6889 MB / 461.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3248, allocations: 8 kB / 461.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00179/0.3266, allocations: 0.8266 MB / 462.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3266, allocations: 8 kB / 462.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.3266, allocations: 4.438 kB / 462.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.327, allocations: 68.75 kB / 462.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.3277, allocations: 175.8 kB / 462.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.33, allocations: 1.799 MB / 464.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.3305, allocations: 51.94 kB / 464.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.3306, allocations: 27.94 kB / 464.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000871/0.3315, allocations: 449.9 kB / 465.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006168/0.3321, allocations: 405.8 kB / 465.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001149/0.3333, allocations: 0.6694 MB / 466.2 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/0.3333, allocations: 7.984 kB / 466.2 MB, free: 376 kB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001565/0.3348, allocations: 0.8073 MB / 467 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3349, allocations: 8 kB / 467 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3349, allocations: 4 kB / 467 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.3351, allocations: 64.69 kB / 467.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.3358, allocations: 176.2 kB / 467.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.3376, allocations: 1.813 MB / 469 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.3381, allocations: 52.02 kB / 469.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.3382, allocations: 24 kB / 469.1 MB, free: 13.28 MB / 350.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.0002351/0.3384, allocations: 220.1 kB / 469.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.3385, allocations: 75.06 kB / 469.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.3402, allocations: 0.7762 MB / 470.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3402, allocations: 8 kB / 470.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3403, allocations: 0 / 470.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3403, allocations: 3.984 kB / 470.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/0.3445, allocations: 2.139 MB / 472.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.3445, allocations: 8 kB / 472.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.3451, allocations: 123.8 kB / 472.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/0.3453, allocations: 61.31 kB / 472.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.3454, allocations: 23.98 kB / 472.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.3473, allocations: 1.767 MB / 474.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.3473, allocations: 15.94 kB / 474.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.3496, allocations: 1.315 MB / 475.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.35, allocations: 200.1 kB / 475.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.3501, allocations: 27.98 kB / 475.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.3506, allocations: 51.95 kB / 475.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.3508, allocations: 71.69 kB / 476 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.3509, allocations: 27.98 kB / 476 MB, free: 5.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007383/0.3516, allocations: 423 kB / 476.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3516, allocations: 0 / 476.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001263/0.3529, allocations: 252 kB / 476.7 MB, free: 5.312 MB / 350.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.0002449/0.3532, allocations: 123.9 kB / 476.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.3557, allocations: 1.266 MB / 478.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3557, allocations: 4.125 kB / 478.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.3566, allocations: 0.5035 MB / 478.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.3575, allocations: 177.9 kB / 478.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3606, allocations: 1.703 MB / 480.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.3613, allocations: 0.9861 MB / 481.4 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005065/0.3618, allocations: 148.9 kB / 481.6 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.362, allocations: 55.42 kB / 481.6 MB, free: 180 kB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.362, allocations: 0 / 481.6 MB, free: 180 kB / 350.1 MB Notification: Performance of Templates: time 0.0163/0.3783, allocations: 8.533 MB / 490.2 MB, free: 7.656 MB / 366.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)