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.001967/0.001967, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002371/0.002371, allocations: 165.3 kB / 24.27 MB, free: 148 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.5/1.5, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3152/0.3152, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.473e-06/1.473e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.64e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.008644/0.008671, allocations: 5.566 MB / 374.4 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.01376, allocations: 2.602 MB / 377.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006859/0.01445, allocations: 39.75 kB / 377.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.01638, allocations: 385.7 kB / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.01823, allocations: 477.2 kB / 377.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.01978, allocations: 0.5806 MB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.02157, allocations: 1.19 MB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.02279, allocations: 0.5957 MB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.02404, allocations: 0.639 MB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.0248, allocations: 390.8 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.02499, allocations: 88 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.0259, allocations: 470.6 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.02628, allocations: 283.1 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000445/0.02672, allocations: 279.2 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.0287, allocations: 1.281 MB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02871, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02871, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.02875, allocations: 0 / 383.7 MB, free: 12.41 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.002978/0.03173, allocations: 1.143 MB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.03177, allocations: 19.98 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.03338, allocations: 308 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.03468, allocations: 0.5973 MB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.03475, allocations: 49.69 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.03489, allocations: 72.33 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.03677, allocations: 0.9373 MB / 386.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.03679, allocations: 4.125 kB / 386.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.03688, allocations: 32.36 kB / 386.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.546e-05/0.03695, allocations: 41.23 kB / 386.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.03865, allocations: 0.778 MB / 387.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005149/0.0438, allocations: 2.868 MB / 390.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.04557, allocations: 0.7224 MB / 391.3 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.04621, allocations: 279.1 kB / 391.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.04626, allocations: 16.48 kB / 391.5 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.04631, allocations: 43.06 kB / 391.6 MB, free: 4.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.04631, allocations: 3.938 kB / 391.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.005439/0.05175, allocations: 2.336 MB / 393.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.05186, allocations: 141 kB / 394.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.05265, allocations: 0.5107 MB / 394.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.05271, allocations: 37.7 kB / 394.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.05305, allocations: 376.6 kB / 395 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.05329, allocations: 226 kB / 395.2 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.05351, allocations: 118.3 kB / 395.3 MB, free: 452 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.05375, allocations: 378.8 kB / 395.7 MB, free: 64 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.0544, allocations: 275.3 kB / 396 MB, free: 15.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.05519, allocations: 461.9 kB / 396.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.05661, allocations: 0.6893 MB / 397.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.05661, allocations: 0 / 397.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001873/0.05849, allocations: 0.853 MB / 397.9 MB, free: 13.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.05851, allocations: 8 kB / 398 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.05852, allocations: 12 kB / 398 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.05885, allocations: 68.8 kB / 398 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.05961, allocations: 171.8 kB / 398.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.06162, allocations: 1.682 MB / 399.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.06211, allocations: 48.02 kB / 399.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.06217, allocations: 31.98 kB / 400 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008522/0.06302, allocations: 437.3 kB / 400.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007611/0.06379, allocations: 449.8 kB / 400.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0013/0.06508, allocations: 0.6698 MB / 401.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.06509, allocations: 0 / 401.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001794/0.06688, allocations: 0.8373 MB / 402.3 MB, free: 9.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.0669, allocations: 8 kB / 402.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.0669, allocations: 0 / 402.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.06718, allocations: 72.8 kB / 402.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.06791, allocations: 171.7 kB / 402.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.06985, allocations: 1.669 MB / 404.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.07035, allocations: 59.97 kB / 404.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.07041, allocations: 20 kB / 404.3 MB, free: 6.957 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.0002976/0.07071, allocations: 224 kB / 404.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.07088, allocations: 87.58 kB / 404.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.07275, allocations: 0.774 MB / 405.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.07276, allocations: 8 kB / 405.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.07277, allocations: 3.938 kB / 405.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.07277, allocations: 0 / 405.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.07732, allocations: 1.929 MB / 407.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.07733, allocations: 15.97 kB / 407.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.07795, allocations: 127.8 kB / 407.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.07818, allocations: 56.81 kB / 407.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.07824, allocations: 20 kB / 407.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.08007, allocations: 1.649 MB / 409.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.08008, allocations: 7.938 kB / 409.2 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.08266, allocations: 1.322 MB / 410.5 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.08295, allocations: 127.5 kB / 410.7 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.08305, allocations: 31.94 kB / 410.7 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.08357, allocations: 47.95 kB / 410.7 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.08373, allocations: 75.64 kB / 410.8 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.08379, allocations: 24 kB / 410.8 MB, free: 100 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006307/0.08442, allocations: 366.8 kB / 411.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08442, allocations: 4 kB / 411.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001072/0.08549, allocations: 244 kB / 411.4 MB, free: 15.5 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.0001885/0.08568, allocations: 123.1 kB / 411.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.08834, allocations: 1.216 MB / 412.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.08835, allocations: 0 / 412.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.08939, allocations: 0.4919 MB / 413.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.09036, allocations: 182.8 kB / 413.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.09368, allocations: 1.662 MB / 415.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.0942, allocations: 405.3 kB / 415.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005143/0.09471, allocations: 140.6 kB / 415.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.0949, allocations: 52.48 kB / 415.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0949, allocations: 0 / 415.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of Templates: time 0.01677/0.1117, allocations: 8.178 MB / 423.9 MB, free: 3 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0342393449973315]