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.0009929/0.0009929, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.000963/0.000963, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.21/0.21, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.587e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005087/0.005103, allocations: 5.665 MB / 375.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.008159, allocations: 2.232 MB / 377.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.008592, allocations: 35.75 kB / 377.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.009317, allocations: 294.1 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.009988, allocations: 441.3 kB / 378.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.01082, allocations: 0.5768 MB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009061/0.01173, allocations: 1.174 MB / 380 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.01238, allocations: 0.5996 MB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006036/0.01299, allocations: 0.6351 MB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.01346, allocations: 398.8 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.01357, allocations: 88 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.01411, allocations: 414.9 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.01433, allocations: 283.1 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.01458, allocations: 275.2 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.01572, allocations: 0.8291 MB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01573, allocations: 3.984 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01573, allocations: 3.938 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.01574, allocations: 0 / 383.5 MB, free: 13.02 MB / 362.7 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.001471/0.01721, allocations: 1.212 MB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.01724, allocations: 15.98 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.01827, allocations: 296 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.01903, allocations: 0.5852 MB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.01907, allocations: 49.69 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.01917, allocations: 76.31 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.02013, allocations: 0.6737 MB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.02016, allocations: 4.188 kB / 386.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.02021, allocations: 28.36 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.02026, allocations: 41.25 kB / 386.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.02094, allocations: 327.5 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.02416, allocations: 2.981 MB / 389.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.02497, allocations: 433.4 kB / 390.2 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.02543, allocations: 144.8 kB / 390.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.02547, allocations: 12.5 kB / 390.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.0255, allocations: 41.89 kB / 390.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.174e-06/0.0255, allocations: 0 / 390.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.002484/0.02799, allocations: 1.46 MB / 391.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.02804, allocations: 141 kB / 392 MB, free: 4.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.02848, allocations: 498.6 kB / 392.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.02852, allocations: 41.7 kB / 392.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.02875, allocations: 423.4 kB / 393 MB, free: 3.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.0289, allocations: 226 kB / 393.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.02907, allocations: 132.1 kB / 393.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.02923, allocations: 0.543 MB / 393.9 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.02945, allocations: 110.2 kB / 394 MB, free: 2.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.02979, allocations: 352.7 kB / 394.3 MB, free: 1.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.03034, allocations: 403.3 kB / 394.7 MB, free: 1.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03034, allocations: 0 / 394.7 MB, free: 1.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008288/0.03117, allocations: 0.5275 MB / 395.2 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.03119, allocations: 11.92 kB / 395.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.03119, allocations: 4 kB / 395.3 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.03141, allocations: 60.11 kB / 395.3 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.0319, allocations: 163.8 kB / 395.5 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.03335, allocations: 2.086 MB / 397.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.03361, allocations: 35.98 kB / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.03365, allocations: 23.98 kB / 397.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003062/0.03395, allocations: 236.1 kB / 397.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003215/0.03427, allocations: 343.8 kB / 398.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005147/0.03479, allocations: 407.3 kB / 398.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.03479, allocations: 0 / 398.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0008/0.03559, allocations: 0.5275 MB / 399.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.0356, allocations: 7.984 kB / 399.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.03561, allocations: 4 kB / 399.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.03577, allocations: 59.58 kB / 399.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.03624, allocations: 168.1 kB / 399.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.03732, allocations: 2.086 MB / 401.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.03758, allocations: 44 kB / 401.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.03762, allocations: 24 kB / 401.5 MB, free: 10.06 MB / 378.7 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 (79): * Single equations (assignments): 78 * 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.0001531/0.03777, allocations: 303.9 kB / 401.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.03789, allocations: 91.56 kB / 401.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.03867, allocations: 479.4 kB / 402.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.03867, allocations: 12 kB / 402.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.03868, allocations: 3.938 kB / 402.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.03869, allocations: 7.984 kB / 402.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.04088, allocations: 1.496 MB / 403.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.04089, allocations: 8 kB / 403.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.04127, allocations: 119.8 kB / 404 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.04141, allocations: 56.11 kB / 404 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.04146, allocations: 27.98 kB / 404.1 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.04269, allocations: 2.075 MB / 406.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.0427, allocations: 8 kB / 406.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.04377, allocations: 0.9404 MB / 407.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.04395, allocations: 119.5 kB / 407.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.04401, allocations: 27.92 kB / 407.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.0443, allocations: 27.98 kB / 407.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.04441, allocations: 75.72 kB / 407.3 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.04444, allocations: 31.98 kB / 407.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002725/0.04472, allocations: 322.8 kB / 407.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04472, allocations: 0 / 407.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008427/0.04556, allocations: 244 kB / 407.9 MB, free: 3.199 MB / 378.7 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.0001249/0.04569, allocations: 123.1 kB / 408.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.04689, allocations: 0.9349 MB / 409 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.04689, allocations: 0 / 409 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.04729, allocations: 375.5 kB / 409.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.04802, allocations: 171.6 kB / 409.5 MB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.05045, allocations: 1.589 MB / 411.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.05088, allocations: 196.1 kB / 411.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000363/0.05124, allocations: 120.6 kB / 411.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.05139, allocations: 48.48 kB / 411.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05139, allocations: 0 / 411.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of Templates: time 0.01328/0.06467, allocations: 8.597 MB / 420.1 MB, free: 6.941 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1386184371076524]