Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.1858/0.1858, allocations: 38.52 MB / 344.4 MB, free: 2.531 MB / 270.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.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 61.24 MB / 0.5306 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006699/0.3563, allocations: 5.539 MB / 0.536 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.3599, allocations: 2.271 MB / 0.5382 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.3608, allocations: 24.88 kB / 0.5382 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.3621, allocations: 285.1 kB / 0.5385 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.3634, allocations: 344.7 kB / 0.5388 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3648, allocations: 0.5067 MB / 0.5393 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.3662, allocations: 1.044 MB / 0.5403 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009869/0.3672, allocations: 492.2 kB / 0.5408 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/0.3679, allocations: 402.7 kB / 0.5412 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.3685, allocations: 419.6 kB / 0.5416 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3687, allocations: 79.91 kB / 0.5417 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.3694, allocations: 370.4 kB / 0.542 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.3696, allocations: 224.4 kB / 0.5422 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.3701, allocations: 389.2 kB / 0.5426 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.3717, allocations: 1.078 MB / 0.5436 GB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3717, allocations: 0 / 0.5436 GB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3717, allocations: 1.281 kB / 0.5436 GB, free: 12.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.3717, allocations: 0 / 0.5436 GB, free: 12.09 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002406/0.3742, allocations: 1.154 MB / 0.5448 GB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3742, allocations: 13.55 kB / 0.5448 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008891/0.3751, allocations: 162 kB / 0.5449 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.3761, allocations: 0.6086 MB / 0.5455 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.3762, allocations: 55.02 kB / 0.5456 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3763, allocations: 60.59 kB / 0.5456 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3777, allocations: 0.7571 MB / 0.5464 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3777, allocations: 1.062 kB / 0.5464 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.3778, allocations: 33.73 kB / 0.5464 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.3778, allocations: 34.69 kB / 0.5465 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3791, allocations: 0.6335 MB / 0.5471 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.3833, allocations: 2.892 MB / 0.5499 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.3847, allocations: 0.6865 MB / 0.5506 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.3851, allocations: 217.1 kB / 0.5508 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.3852, allocations: 10.34 kB / 0.5508 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3852, allocations: 38.38 kB / 0.5508 GB, free: 6.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.3852, allocations: 0 / 0.5508 GB, free: 6.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001568/0.3868, allocations: 0.716 MB / 0.5515 GB, free: 6.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.3869, allocations: 108.6 kB / 0.5516 GB, free: 6.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/0.3878, allocations: 0.5813 MB / 0.5522 GB, free: 5.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.3878, allocations: 35.95 kB / 0.5522 GB, free: 5.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.3881, allocations: 360.8 kB / 0.5526 GB, free: 5.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.3883, allocations: 183.3 kB / 0.5527 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3885, allocations: 94.91 kB / 0.5528 GB, free: 5.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3887, allocations: 383 kB / 0.5532 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.3892, allocations: 213.9 kB / 0.5534 GB, free: 4.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.3897, allocations: 348 kB / 0.5537 GB, free: 4.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.3907, allocations: 0.5626 MB / 0.5543 GB, free: 3.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.3907, allocations: 3.938 kB / 0.5543 GB, free: 3.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00171/0.3924, allocations: 0.7772 MB / 0.555 GB, free: 3.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3925, allocations: 4 kB / 0.555 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3925, allocations: 4 kB / 0.5551 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.3929, allocations: 117.2 kB / 0.5552 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.3934, allocations: 131.8 kB / 0.5553 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.3965, allocations: 2.428 MB / 0.5577 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.397, allocations: 83.55 kB / 0.5577 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.3971, allocations: 23.98 kB / 0.5578 GB, free: 268 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006649/0.3977, allocations: 365.2 kB / 0.5581 GB, free: 15.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005189/0.3982, allocations: 332.5 kB / 0.5584 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000926/0.3992, allocations: 0.5295 MB / 0.5589 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.3992, allocations: 0 / 0.5589 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00137/0.4005, allocations: 0.703 MB / 0.5596 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4006, allocations: 4 kB / 0.5596 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.4006, allocations: 4 kB / 0.5596 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.4008, allocations: 100.8 kB / 0.5597 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.4014, allocations: 136.2 kB / 0.5599 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.4037, allocations: 2.222 MB / 0.562 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.4041, allocations: 67.67 kB / 0.5621 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.4042, allocations: 20 kB / 0.5621 GB, free: 11.54 MB / 414.1 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 (60): * Single equations (assignments): 59 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.4044, allocations: 224.1 kB / 0.5623 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4045, allocations: 75.47 kB / 0.5624 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.4058, allocations: 0.5577 MB / 0.563 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4058, allocations: 8 kB / 0.563 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.4058, allocations: 0 / 0.563 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.4058, allocations: 3.984 kB / 0.563 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4079, allocations: 1.314 MB / 0.5642 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.4079, allocations: 3.984 kB / 0.5642 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.4085, allocations: 107.9 kB / 0.5644 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4085, allocations: 4 kB / 0.5644 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.4085, allocations: 12.11 kB / 0.5644 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4085, allocations: 7.875 kB / 0.5644 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4085, allocations: 0 / 0.5644 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.4101, allocations: 0.9108 MB / 0.5653 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.4104, allocations: 200.5 kB / 0.5655 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.4104, allocations: 12 kB / 0.5655 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.4108, allocations: 31.97 kB / 0.5655 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4109, allocations: 40.38 kB / 0.5655 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.4109, allocations: 8 kB / 0.5655 GB, free: 7.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006065/0.4115, allocations: 431 kB / 0.566 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4115, allocations: 96 / 0.566 GB, free: 7.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008962/0.4124, allocations: 271.4 kB / 0.5662 GB, free: 7.246 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.4126, allocations: 111.2 kB / 0.5663 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.4146, allocations: 1.06 MB / 0.5674 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4146, allocations: 0 / 0.5674 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.4151, allocations: 238.4 kB / 0.5676 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.4158, allocations: 151.8 kB / 0.5677 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.4187, allocations: 1.533 MB / 0.5692 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.4193, allocations: 0.9418 MB / 0.5701 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000409/0.4197, allocations: 120.5 kB / 0.5703 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.4198, allocations: 47.42 kB / 0.5703 GB, free: 2.973 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4198, allocations: 0 / 0.5703 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Templates: time 0.01622/0.436, allocations: 8.625 MB / 0.5787 GB, free: 10.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.300571132451296]