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.001348/0.001348, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001573/0.001573, allocations: 164.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.466/1.466, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.1774/0.1774, allocations: 29.44 MB / 290.1 MB, free: 3.277 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.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.613e-06/1.613e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.751e-05, allocations: 6.219 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007724/0.007751, allocations: 5.147 MB / 435.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.01177, allocations: 2.171 MB / 438 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003769/0.01215, allocations: 35.69 kB / 438.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.01323, allocations: 277.3 kB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.01401, allocations: 365.6 kB / 438.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01517, allocations: 0.5402 MB / 439.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.01634, allocations: 1.034 MB / 440.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008388/0.01718, allocations: 0.5487 MB / 440.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008268/0.01801, allocations: 0.5572 MB / 441.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.01851, allocations: 322.9 kB / 441.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.01865, allocations: 84 kB / 441.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005655/0.01921, allocations: 323.1 kB / 442.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.01947, allocations: 227.2 kB / 442.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.01977, allocations: 247.3 kB / 442.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.02117, allocations: 1.114 MB / 443.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02118, allocations: 0 / 443.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02118, allocations: 0 / 443.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.02119, allocations: 0 / 443.7 MB, free: 4.926 MB / 366.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.002173/0.02336, allocations: 1.088 MB / 444.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.02339, allocations: 11.98 kB / 444.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.02431, allocations: 172.2 kB / 444.9 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.02539, allocations: 0.5389 MB / 445.5 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.02545, allocations: 45.69 kB / 445.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.02556, allocations: 68.33 kB / 445.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.02715, allocations: 0.8272 MB / 446.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.02718, allocations: 192 / 446.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.02724, allocations: 24.38 kB / 446.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.0273, allocations: 37.23 kB / 446.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.02876, allocations: 0.6531 MB / 447.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/0.2056, allocations: 2.544 MB / 449.7 MB, free: 28.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.2071, allocations: 0.6316 MB / 450.3 MB, free: 28.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.2076, allocations: 237.4 kB / 450.5 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.2076, allocations: 7.328 kB / 450.5 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2076, allocations: 39.56 kB / 450.6 MB, free: 28.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.344e-06/0.2076, allocations: 0 / 450.6 MB, free: 28.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.001731/0.2094, allocations: 0.7487 MB / 451.3 MB, free: 28.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2094, allocations: 142 kB / 451.5 MB, free: 27.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.2101, allocations: 0.4989 MB / 452 MB, free: 27.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.2101, allocations: 37.3 kB / 452 MB, free: 27.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.2103, allocations: 365.6 kB / 452.4 MB, free: 27.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2104, allocations: 189.9 kB / 452.5 MB, free: 27.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.2106, allocations: 104 kB / 452.6 MB, free: 27.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.2106, allocations: 375.6 kB / 453 MB, free: 26.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.2112, allocations: 229.4 kB / 453.2 MB, free: 26.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.2118, allocations: 418.1 kB / 453.6 MB, free: 26.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.213, allocations: 0.5846 MB / 454.2 MB, free: 26.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.213, allocations: 0 / 454.2 MB, free: 26.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001959/0.2149, allocations: 0.8089 MB / 455 MB, free: 25.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2149, allocations: 6.875 kB / 455 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.215, allocations: 6.094 kB / 455 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.2154, allocations: 111.2 kB / 455.2 MB, free: 25.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.216, allocations: 142.2 kB / 455.3 MB, free: 25.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.2187, allocations: 2.272 MB / 457.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.2192, allocations: 81.75 kB / 457.6 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.2193, allocations: 24.56 kB / 457.7 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000733/0.22, allocations: 384.5 kB / 458 MB, free: 23.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005631/0.2206, allocations: 413 kB / 458.4 MB, free: 23.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001046/0.2216, allocations: 0.5583 MB / 459 MB, free: 23.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.2216, allocations: 5.125 kB / 459 MB, free: 23.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001531/0.2232, allocations: 0.7298 MB / 459.7 MB, free: 22.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2232, allocations: 6.266 kB / 459.7 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2232, allocations: 4.344 kB / 459.7 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.2235, allocations: 103.3 kB / 459.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.2241, allocations: 138 kB / 460 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.226, allocations: 2.08 MB / 462.1 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.2265, allocations: 68.78 kB / 462.1 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.2265, allocations: 21.92 kB / 462.2 MB, free: 21.17 MB / 366.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 (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.0001998/0.2267, allocations: 213.4 kB / 462.4 MB, free: 20.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2269, allocations: 72.48 kB / 462.4 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2283, allocations: 0.5867 MB / 463 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2283, allocations: 5.875 kB / 463 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2283, allocations: 5.625 kB / 463 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.2284, allocations: 10.52 kB / 463 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.2305, allocations: 1.167 MB / 464.2 MB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2306, allocations: 0 / 464.2 MB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.2312, allocations: 120 kB / 464.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2312, allocations: 2.438 kB / 464.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.2312, allocations: 10.33 kB / 464.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.2312, allocations: 5.625 kB / 464.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2312, allocations: 1.453 kB / 464.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.233, allocations: 0.9532 MB / 465.3 MB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.2332, allocations: 109.5 kB / 465.4 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.2333, allocations: 20.22 kB / 465.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.2337, allocations: 39.28 kB / 465.5 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2339, allocations: 42.36 kB / 465.5 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.2339, allocations: 13.95 kB / 465.5 MB, free: 19.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.2344, allocations: 357.8 kB / 465.9 MB, free: 19.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2344, allocations: 3.938 kB / 465.9 MB, free: 19.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009935/0.2354, allocations: 289.1 kB / 466.2 MB, free: 19.3 MB / 366.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 (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.0001271/0.2356, allocations: 109 kB / 466.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.2378, allocations: 1.109 MB / 467.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2378, allocations: 1.438 kB / 467.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.2384, allocations: 263.5 kB / 467.6 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.2391, allocations: 132.9 kB / 467.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.2415, allocations: 1.39 MB / 469.1 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.2418, allocations: 348.6 kB / 469.5 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000397/0.2422, allocations: 117.5 kB / 469.6 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.2424, allocations: 48.89 kB / 469.6 MB, free: 17.61 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2424, allocations: 0 / 469.6 MB, free: 17.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01396/0.2563, allocations: 7.913 MB / 477.6 MB, free: 14.46 MB / 366.1 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: 4.964892487972975] Failed to read output from testmodel.py, exit status != 0: 0.26446765661239624 0.27262070999999993 0.24934862899999996 Calling exit ...