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.002611/0.002611, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002945/0.002945, allocations: 165.3 kB / 24.27 MB, free: 152 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.308/0.308, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.613e-06/1.613e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.836e-05, allocations: 5.547 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.01248/0.01251, allocations: 5.795 MB / 374.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007108/0.01962, allocations: 2.711 MB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.02013, allocations: 35.75 kB / 377.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.02141, allocations: 389.7 kB / 377.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.02254, allocations: 485.1 kB / 378.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.02391, allocations: 0.5923 MB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.02531, allocations: 1.182 MB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.02639, allocations: 0.5996 MB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009532/0.02734, allocations: 0.6429 MB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006243/0.02797, allocations: 398.8 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.02812, allocations: 84 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.02895, allocations: 474.6 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.02927, allocations: 279.1 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.02962, allocations: 271.3 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.03158, allocations: 1.285 MB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.03159, allocations: 4 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.03159, allocations: 4 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.0316, allocations: 0 / 384.1 MB, free: 12.04 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.002329/0.03393, allocations: 1.294 MB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.03397, allocations: 19.92 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.03537, allocations: 292 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.03651, allocations: 0.5689 MB / 386.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.03658, allocations: 61.67 kB / 386.3 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.03671, allocations: 76.25 kB / 386.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.03827, allocations: 0.8299 MB / 387.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.0383, allocations: 4.125 kB / 387.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.03838, allocations: 28.38 kB / 387.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.03844, allocations: 41.23 kB / 387.3 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.03973, allocations: 0.5203 MB / 387.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00587/0.0456, allocations: 3.431 MB / 391.2 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.04716, allocations: 0.6069 MB / 391.8 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.04768, allocations: 224.8 kB / 392 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.04773, allocations: 12.5 kB / 392.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.04778, allocations: 41.89 kB / 392.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 1.974e-06/0.04778, allocations: 0 / 392.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.004707/0.05249, allocations: 1.922 MB / 394 MB, free: 1.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.05259, allocations: 137 kB / 394.2 MB, free: 1.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.05349, allocations: 0.6588 MB / 394.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.05355, allocations: 41.64 kB / 394.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.05396, allocations: 463.3 kB / 395.3 MB, free: 396 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.05422, allocations: 246 kB / 395.5 MB, free: 148 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.05449, allocations: 148.4 kB / 395.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004168/0.0549, allocations: 0.5977 MB / 396.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.0554, allocations: 203.5 kB / 396.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/0.05617, allocations: 472 kB / 396.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.05737, allocations: 0.6044 MB / 397.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.05737, allocations: 0 / 397.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001819/0.05919, allocations: 0.7114 MB / 398.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.05921, allocations: 11.94 kB / 398.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.05922, allocations: 8 kB / 398.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.05951, allocations: 59.64 kB / 398.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.06029, allocations: 167.8 kB / 398.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.06247, allocations: 2.13 MB / 400.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.0629, allocations: 39.97 kB / 400.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.06296, allocations: 27.94 kB / 400.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00073/0.06369, allocations: 380.8 kB / 401.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007016/0.06439, allocations: 456 kB / 401.5 MB, free: 9.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/0.06552, allocations: 0.5848 MB / 402.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.06553, allocations: 8 kB / 402.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001538/0.06706, allocations: 0.6878 MB / 402.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.06708, allocations: 10.81 kB / 402.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.06709, allocations: 4 kB / 402.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.06735, allocations: 63.58 kB / 402.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.06807, allocations: 164 kB / 403 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.07036, allocations: 2.137 MB / 405.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.07079, allocations: 40 kB / 405.2 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.07085, allocations: 28 kB / 405.2 MB, free: 5.816 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.0002815/0.07113, allocations: 315.8 kB / 405.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.07129, allocations: 87.58 kB / 405.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.07287, allocations: 0.6283 MB / 406.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.07288, allocations: 8 kB / 406.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.07289, allocations: 3.938 kB / 406.3 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.0729, allocations: 3.984 kB / 406.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.0772, allocations: 2.038 MB / 408.3 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.07721, allocations: 8.781 kB / 408.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.07779, allocations: 119.8 kB / 408.4 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.07803, allocations: 63.58 kB / 408.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.07808, allocations: 20 kB / 408.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.08004, allocations: 2.122 MB / 410.6 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.08005, allocations: 8.031 kB / 410.6 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.08231, allocations: 1.225 MB / 411.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.08262, allocations: 119.5 kB / 412 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.08271, allocations: 27.94 kB / 412 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.08334, allocations: 35.91 kB / 412.1 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.08349, allocations: 71.72 kB / 412.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.08355, allocations: 27.98 kB / 412.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005671/0.08411, allocations: 406.8 kB / 412.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08411, allocations: 4 kB / 412.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001055/0.08517, allocations: 248 kB / 412.8 MB, free: 13.84 MB / 394.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.0001712/0.08534, allocations: 135 kB / 412.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.08773, allocations: 1.221 MB / 414.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.08773, allocations: 0 / 414.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.08855, allocations: 480.2 kB / 414.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.0895, allocations: 183.3 kB / 414.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.09258, allocations: 1.651 MB / 416.4 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.09307, allocations: 397.4 kB / 416.8 MB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.09356, allocations: 120.6 kB / 417 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.09374, allocations: 60.48 kB / 417 MB, free: 9.395 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.09374, allocations: 0 / 417 MB, free: 9.395 MB / 394.7 MB Notification: Performance of Templates: time 0.01788/0.1116, allocations: 8.254 MB / 425.3 MB, free: 1.242 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: 5.0648063839180395]