Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.000807/0.000807, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003977/0.003977, allocations: 163.6 kB / 24.7 MB, free: 9.426 MB / 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 0.8651/0.8651, allocations: 177.1 MB / 205 MB, free: 5.738 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.2317/0.2317, allocations: 29.4 MB / 290.8 MB, free: 2.43 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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.013e-05, allocations: 4.109 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.005042/0.005072, allocations: 5.147 MB / 436.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.008005, allocations: 2.179 MB / 438.8 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005204/0.008526, allocations: 31.75 kB / 438.8 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.009372, allocations: 282.1 kB / 439.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007612/0.01013, allocations: 357.7 kB / 439.4 MB, free: 5.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.01106, allocations: 0.529 MB / 440 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.0121, allocations: 1.03 MB / 441 MB, free: 3.516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.01286, allocations: 0.5448 MB / 441.6 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.01354, allocations: 0.5688 MB / 442.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.01391, allocations: 330.9 kB / 442.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/0.01398, allocations: 80 kB / 442.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.01439, allocations: 315.1 kB / 442.8 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.01455, allocations: 231.2 kB / 443.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.01473, allocations: 247.3 kB / 443.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.01583, allocations: 1.11 MB / 444.4 MB, free: 96 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.01584, allocations: 4 kB / 444.4 MB, free: 92 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01584, allocations: 0 / 444.4 MB, free: 92 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.01586, allocations: 0 / 444.4 MB, free: 92 kB / 410.7 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.1744/0.1903, allocations: 1.075 MB / 445.5 MB, free: 54.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1903, allocations: 13.64 kB / 445.5 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005116/0.1908, allocations: 170.9 kB / 445.7 MB, free: 54.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.1915, allocations: 0.5433 MB / 446.2 MB, free: 54.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1915, allocations: 47.41 kB / 446.3 MB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.1916, allocations: 64.89 kB / 446.3 MB, free: 54.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.1924, allocations: 0.8258 MB / 447.1 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.1924, allocations: 6.094 kB / 447.2 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1925, allocations: 25.31 kB / 447.2 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.1925, allocations: 30.28 kB / 447.2 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.1932, allocations: 0.6575 MB / 447.9 MB, free: 53.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1955, allocations: 2.545 MB / 450.4 MB, free: 52.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.1963, allocations: 0.6297 MB / 451 MB, free: 51.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1966, allocations: 240.9 kB / 451.3 MB, free: 51.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.1966, allocations: 6.875 kB / 451.3 MB, free: 51.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1967, allocations: 41.59 kB / 451.3 MB, free: 51.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.835e-06/0.1967, allocations: 2.844 kB / 451.3 MB, free: 51.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009332/0.1976, allocations: 0.7486 MB / 452.1 MB, free: 51.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1976, allocations: 139.4 kB / 452.2 MB, free: 51.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.198, allocations: 0.4955 MB / 452.7 MB, free: 51.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.1981, allocations: 41.2 kB / 452.7 MB, free: 51.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1982, allocations: 368.5 kB / 453.1 MB, free: 50.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.1983, allocations: 191.7 kB / 453.3 MB, free: 50.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1984, allocations: 106 kB / 453.4 MB, free: 50.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.1984, allocations: 375 kB / 453.8 MB, free: 50.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.1987, allocations: 228.9 kB / 454 MB, free: 50.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.199, allocations: 420.6 kB / 454.4 MB, free: 49.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.1996, allocations: 0.5771 MB / 455 MB, free: 49.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1996, allocations: 3 kB / 455 MB, free: 49.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009658/0.2006, allocations: 0.8113 MB / 455.8 MB, free: 49.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2006, allocations: 7.969 kB / 455.8 MB, free: 49.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2006, allocations: 6.797 kB / 455.8 MB, free: 49.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.2009, allocations: 107.8 kB / 455.9 MB, free: 49.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.2012, allocations: 148.7 kB / 456.1 MB, free: 49.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.2029, allocations: 2.263 MB / 458.3 MB, free: 47.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.2033, allocations: 81.28 kB / 458.4 MB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.2033, allocations: 23.69 kB / 458.4 MB, free: 47.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006602/0.204, allocations: 383.8 kB / 458.8 MB, free: 47.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004607/0.2045, allocations: 409.2 kB / 459.2 MB, free: 46.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009002/0.2054, allocations: 0.5581 MB / 459.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.2054, allocations: 0 / 459.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0009082/0.2063, allocations: 0.7331 MB / 460.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2063, allocations: 6.594 kB / 460.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2063, allocations: 6.766 kB / 460.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.2065, allocations: 95.41 kB / 460.6 MB, free: 46.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.2068, allocations: 140.1 kB / 460.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.208, allocations: 2.08 MB / 462.8 MB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.2082, allocations: 76.34 kB / 462.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.2083, allocations: 21.34 kB / 462.9 MB, free: 44.34 MB / 410.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 (61): * Single equations (assignments): 60 * 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.000146/0.2084, allocations: 230.7 kB / 463.1 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.2085, allocations: 60.34 kB / 463.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.2092, allocations: 0.5892 MB / 463.8 MB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2092, allocations: 6.406 kB / 463.8 MB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.2092, allocations: 0 / 463.8 MB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2092, allocations: 4.688 kB / 463.8 MB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2104, allocations: 1.165 MB / 464.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2104, allocations: 0 / 464.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.2107, allocations: 114 kB / 465.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2107, allocations: 3.156 kB / 465.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2107, allocations: 14.25 kB / 465.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2107, allocations: 0 / 465.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2107, allocations: 3.281 kB / 465.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.2116, allocations: 0.9634 MB / 466 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.2118, allocations: 114.3 kB / 466.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.2118, allocations: 11.22 kB / 466.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.212, allocations: 37.67 kB / 466.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.212, allocations: 49.84 kB / 466.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2121, allocations: 17.36 kB / 466.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.2123, allocations: 360.6 kB / 466.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2123, allocations: 384 / 466.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005655/0.2129, allocations: 277 kB / 466.9 MB, free: 42.43 MB / 410.7 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 (51): * Single equations (assignments): 50 * 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.0001145/0.213, allocations: 113.6 kB / 467 MB, free: 42.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.2142, allocations: 1.104 MB / 468.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2142, allocations: 5 kB / 468.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.2145, allocations: 262.8 kB / 468.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.2149, allocations: 147 kB / 468.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2164, allocations: 1.428 MB / 469.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2166, allocations: 357.5 kB / 470.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.2167, allocations: 44.47 kB / 470.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2167, allocations: 0 / 470.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of Templates: time 0.007508/0.2242, allocations: 10.05 MB / 480.4 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4474575743079185] Failed to read output from testmodel.py, exit status != 0: 0.23116088286042213 0.241495064 0.22356133900000003 Calling exit ...