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: 75.59 kB / 21.18 MB, free: 3.391 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.001142/0.001142, allocations: 161 kB / 24.56 MB, free: 16 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.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.625 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.2281/0.2281, allocations: 29.41 MB / 290.9 MB, free: 2.504 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.894e-06/1.894e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.923e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005209/0.005229, allocations: 5.661 MB / 375.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.007837, allocations: 2.244 MB / 377.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.008192, allocations: 35.75 kB / 377.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.008928, allocations: 298.1 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006058/0.009534, allocations: 445.3 kB / 378.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.0103, allocations: 0.5612 MB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008202/0.01112, allocations: 1.19 MB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/0.01175, allocations: 0.5879 MB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/0.01233, allocations: 0.6429 MB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.0127, allocations: 390.8 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.01279, allocations: 91.94 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.01317, allocations: 414.9 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.01336, allocations: 279.1 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.01356, allocations: 275.2 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.01433, allocations: 0.8368 MB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01434, allocations: 0 / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01434, allocations: 4 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.01434, 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.001248/0.01559, allocations: 1.208 MB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.01563, allocations: 15.98 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/0.0164, allocations: 296 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.01707, allocations: 0.5852 MB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.01711, allocations: 57.69 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.01719, allocations: 68.33 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.01799, allocations: 0.6815 MB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.01801, allocations: 4.125 kB / 386.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.01806, allocations: 28.38 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/0.0181, allocations: 41.23 kB / 386.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.01864, allocations: 335.5 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.02132, allocations: 2.969 MB / 389.8 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.022, allocations: 438.3 kB / 390.2 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.02219, allocations: 132.9 kB / 390.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.02223, allocations: 8.5 kB / 390.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.02226, allocations: 45.89 kB / 390.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.014e-06/0.02227, allocations: 0 / 390.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.002126/0.02439, allocations: 1.464 MB / 391.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.02445, allocations: 137 kB / 392 MB, free: 4.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.02484, allocations: 0.4948 MB / 392.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.02487, allocations: 41.7 kB / 392.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.02507, allocations: 423.4 kB / 393 MB, free: 3.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.02521, allocations: 237.9 kB / 393.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.02534, allocations: 120.3 kB / 393.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.02553, allocations: 0.5469 MB / 393.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.0257, allocations: 107.6 kB / 394 MB, free: 2.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.02598, allocations: 356 kB / 394.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.02643, allocations: 426.9 kB / 394.7 MB, free: 1.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.02643, allocations: 0 / 394.7 MB, free: 1.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006759/0.02711, allocations: 0.5278 MB / 395.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.02712, allocations: 8 kB / 395.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.02713, allocations: 4 kB / 395.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.02736, allocations: 59.58 kB / 395.3 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.02774, allocations: 175.8 kB / 395.5 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.02892, allocations: 2.082 MB / 397.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.02911, allocations: 43.94 kB / 397.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.02914, allocations: 27.98 kB / 397.7 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000258/0.0294, allocations: 236.8 kB / 397.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002661/0.02967, allocations: 356 kB / 398.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004788/0.03015, allocations: 414.9 kB / 398.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.03015, allocations: 4 kB / 398.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.0006423/0.03079, allocations: 0.5274 MB / 399.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.0308, allocations: 4 kB / 399.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.0308, allocations: 4.5 kB / 399.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.03095, allocations: 59.64 kB / 399.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.0313, allocations: 163.7 kB / 399.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009839/0.03228, allocations: 2.097 MB / 401.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.03247, allocations: 35.98 kB / 401.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.0325, allocations: 23.98 kB / 401.5 MB, free: 9.973 MB / 378.7 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.0001485/0.03265, allocations: 319.4 kB / 401.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.03274, allocations: 87.58 kB / 401.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.03336, allocations: 483.4 kB / 402.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.03336, allocations: 8 kB / 402.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.03336, allocations: 3.938 kB / 402.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.03337, allocations: 3.984 kB / 402.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.03513, allocations: 1.496 MB / 403.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.03514, allocations: 11.94 kB / 403.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.03542, allocations: 123.9 kB / 404.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.03554, allocations: 51.69 kB / 404.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.03558, allocations: 23.97 kB / 404.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009037/0.03648, allocations: 2.083 MB / 406.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.03648, allocations: 7.984 kB / 406.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.03738, allocations: 0.9326 MB / 407.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.03752, allocations: 123.5 kB / 407.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.03757, allocations: 27.92 kB / 407.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.03777, allocations: 31.98 kB / 407.3 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.03787, allocations: 75.66 kB / 407.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.0379, allocations: 27.98 kB / 407.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.03812, allocations: 326.7 kB / 407.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03812, allocations: 0 / 407.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005904/0.03871, allocations: 248 kB / 408 MB, free: 3.102 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.0001217/0.03883, allocations: 135 kB / 408.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.03988, allocations: 0.9361 MB / 409.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03989, allocations: 0 / 409.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.04021, allocations: 372.6 kB / 409.4 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.04075, allocations: 172.8 kB / 409.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.04278, allocations: 1.576 MB / 411.2 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.04292, allocations: 196 kB / 411.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.04318, allocations: 128.6 kB / 411.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.0433, allocations: 48.5 kB / 411.5 MB, free: 15.33 MB / 394.7 MB Notification: Performance of SimCode: time 9.11e-07/0.0433, allocations: 0 / 411.5 MB, free: 15.33 MB / 394.7 MB Notification: Performance of Templates: time 0.01026/0.05356, allocations: 8.277 MB / 419.8 MB, free: 7.16 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.2514213966205716]