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.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.0008176/0.0008176, allocations: 87.62 kB / 21.44 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.003099/0.003099, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8406/0.8406, allocations: 177.1 MB / 205 MB, free: 5.715 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.2471/0.2471, allocations: 29.41 MB / 290.8 MB, free: 2.434 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.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 2.194e-06/2.194e-06, allocations: 4 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.623e-05, allocations: 5.938 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005033/0.005059, allocations: 5.112 MB / 436.6 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.008211, allocations: 2.171 MB / 438.8 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005289/0.00874, allocations: 35.69 kB / 438.8 MB, free: 5.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008146/0.009555, allocations: 282.1 kB / 439.1 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007052/0.01026, allocations: 357.7 kB / 439.4 MB, free: 5.098 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.01115, allocations: 0.5176 MB / 439.9 MB, free: 4.582 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009668/0.01211, allocations: 1.018 MB / 441 MB, free: 3.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007192/0.01283, allocations: 0.5448 MB / 441.5 MB, free: 3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.01355, allocations: 0.5649 MB / 442.1 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.01392, allocations: 311 kB / 442.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.01399, allocations: 84 kB / 442.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.01442, allocations: 315.1 kB / 442.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.01458, allocations: 223.2 kB / 443 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.01476, allocations: 243.3 kB / 443.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.01603, allocations: 1.106 MB / 444.3 MB, free: 176 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01604, allocations: 0 / 444.3 MB, free: 176 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01604, allocations: 0 / 444.3 MB, free: 176 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.01606, allocations: 4 kB / 444.3 MB, free: 172 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.1822/0.1983, allocations: 1.057 MB / 445.4 MB, free: 54.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1983, allocations: 13.77 kB / 445.4 MB, free: 54.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.1988, allocations: 164.7 kB / 445.6 MB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.1993, allocations: 0.5438 MB / 446.1 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1994, allocations: 44.12 kB / 446.1 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.1994, allocations: 71.2 kB / 446.2 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.2002, allocations: 0.8139 MB / 447 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2002, allocations: 1.125 kB / 447 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.2002, allocations: 26.59 kB / 447 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.2002, allocations: 31.83 kB / 447.1 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.2009, allocations: 0.6302 MB / 447.7 MB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.2028, allocations: 2.532 MB / 450.2 MB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.2035, allocations: 0.5887 MB / 450.8 MB, free: 51.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.2037, allocations: 230.8 kB / 451.1 MB, free: 51.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.2037, allocations: 7.031 kB / 451.1 MB, free: 51.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2038, allocations: 38.28 kB / 451.1 MB, free: 51.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 1.863e-06/0.2038, allocations: 1.5 kB / 451.1 MB, free: 51.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008119/0.2046, allocations: 0.7065 MB / 451.8 MB, free: 51.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2046, allocations: 135.1 kB / 451.9 MB, free: 51.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.2049, allocations: 0.5004 MB / 452.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.205, allocations: 33.7 kB / 452.5 MB, free: 51.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2051, allocations: 365.5 kB / 452.8 MB, free: 50.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.2051, allocations: 178.3 kB / 453 MB, free: 50.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.2052, allocations: 107 kB / 453.1 MB, free: 50.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.2053, allocations: 364.9 kB / 453.5 MB, free: 50.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.2055, allocations: 217.9 kB / 453.7 MB, free: 50.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.2058, allocations: 400.4 kB / 454.1 MB, free: 49.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.2063, allocations: 0.5506 MB / 454.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2063, allocations: 3.094 kB / 454.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008723/0.2072, allocations: 0.7799 MB / 455.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2072, allocations: 7.531 kB / 455.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2072, allocations: 7.156 kB / 455.4 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.2074, allocations: 113.7 kB / 455.5 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.2077, allocations: 132.6 kB / 455.7 MB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2091, allocations: 2.273 MB / 457.9 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.2093, allocations: 80.11 kB / 458 MB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2093, allocations: 23.66 kB / 458 MB, free: 47.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003098/0.2096, allocations: 369.3 kB / 458.4 MB, free: 47.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002471/0.2099, allocations: 382.7 kB / 458.8 MB, free: 46.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004597/0.2103, allocations: 0.5356 MB / 459.3 MB, free: 46.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.2103, allocations: 3.25 kB / 459.3 MB, free: 46.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0006608/0.211, allocations: 0.6875 MB / 460 MB, free: 46.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.211, allocations: 9.062 kB / 460 MB, free: 46.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.211, allocations: 3.25 kB / 460 MB, free: 46.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.2112, allocations: 105 kB / 460.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.2114, allocations: 131.1 kB / 460.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2125, allocations: 2.083 MB / 462.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.2126, allocations: 72.55 kB / 462.4 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.2127, allocations: 20.16 kB / 462.4 MB, free: 44.48 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 (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 9.161e-05/0.2128, allocations: 208.6 kB / 462.6 MB, free: 44.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.2128, allocations: 66.69 kB / 462.7 MB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.2135, allocations: 0.5599 MB / 463.2 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2135, allocations: 3.125 kB / 463.2 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2135, allocations: 2.969 kB / 463.2 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2135, allocations: 0 / 463.2 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.2145, allocations: 1.127 MB / 464.4 MB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2145, allocations: 0 / 464.4 MB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.2148, allocations: 108.3 kB / 464.5 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2148, allocations: 0 / 464.5 MB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.2148, allocations: 17.81 kB / 464.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2148, allocations: 3.125 kB / 464.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2148, allocations: 0 / 464.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.2157, allocations: 0.9075 MB / 465.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2158, allocations: 111.6 kB / 465.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.2158, allocations: 11.03 kB / 465.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.216, allocations: 39.14 kB / 465.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.216, allocations: 38.83 kB / 465.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.216, allocations: 14.22 kB / 465.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002392/0.2163, allocations: 355.4 kB / 466 MB, free: 42.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2163, allocations: 4 kB / 466 MB, free: 42.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000447/0.2167, allocations: 278.6 kB / 466.2 MB, free: 42.61 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 (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 8.913e-05/0.2168, allocations: 119.7 kB / 466.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000961/0.2178, allocations: 1.059 MB / 467.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2178, allocations: 4.125 kB / 467.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.218, allocations: 244.2 kB / 467.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.2184, allocations: 137.6 kB / 467.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2198, allocations: 1.411 MB / 469.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.22, allocations: 358.5 kB / 469.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2201, allocations: 44.66 kB / 469.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2201, allocations: 0 / 469.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of Templates: time 0.006531/0.2266, allocations: 9.856 MB / 479.5 MB, free: 39.84 MB / 410.7 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.360259343869984] Failed to read output from testmodel.py, exit status != 0: 0.23259647749364376 0.24077883700000002 0.22298620700000002 Calling exit ...