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.001861/0.001861, 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.00258/0.00258, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.507/1.507, allocations: 177.2 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.2057/0.2057, allocations: 29.44 MB / 290.1 MB, free: 3.281 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.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 2.244e-06/2.244e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.805e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007566/0.007594, allocations: 5.561 MB / 436.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.01206, allocations: 2.602 MB / 438.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.01244, allocations: 35.75 kB / 438.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.01369, allocations: 392.8 kB / 439.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01471, allocations: 485.1 kB / 439.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.01597, allocations: 0.5914 MB / 440.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.01734, allocations: 1.178 MB / 441.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008946/0.01823, allocations: 0.5957 MB / 442.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.01913, allocations: 0.6428 MB / 442.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.0197, allocations: 394.8 kB / 443.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.01983, allocations: 87.94 kB / 443.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007843/0.02062, allocations: 470.7 kB / 443.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.02091, allocations: 275.1 kB / 444 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.02124, allocations: 271.3 kB / 444.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.02278, allocations: 1.281 MB / 445.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.02278, allocations: 0 / 445.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02278, allocations: 0 / 445.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.0228, allocations: 3.938 kB / 445.5 MB, free: 3.043 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002308/0.02511, allocations: 1.147 MB / 446.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.02514, allocations: 15.98 kB / 446.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.02647, allocations: 204.2 kB / 446.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.0276, allocations: 0.5661 MB / 447.5 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.02765, allocations: 53.62 kB / 447.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.0278, allocations: 72.36 kB / 447.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1735/0.2013, allocations: 0.9351 MB / 448.5 MB, free: 30.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-05/0.2014, allocations: 2.562 kB / 448.5 MB, free: 30.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.2016, allocations: 33 kB / 448.5 MB, free: 30.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2017, allocations: 34.47 kB / 448.6 MB, free: 30.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.2035, allocations: 0.7789 MB / 449.4 MB, free: 29.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.2082, allocations: 2.864 MB / 452.2 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.2099, allocations: 0.709 MB / 452.9 MB, free: 28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.2105, allocations: 287 kB / 453.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.2105, allocations: 17.08 kB / 453.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2106, allocations: 40 kB / 453.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.654e-06/0.2106, allocations: 0.5 kB / 453.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006237/0.2168, allocations: 2.314 MB / 455.6 MB, free: 26.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.2169, allocations: 141.3 kB / 455.7 MB, free: 26.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.2178, allocations: 0.511 MB / 456.2 MB, free: 26.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.2178, allocations: 36.2 kB / 456.3 MB, free: 26.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.2181, allocations: 380.8 kB / 456.6 MB, free: 26.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.2183, allocations: 226.1 kB / 456.9 MB, free: 25.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.2185, allocations: 120 kB / 457 MB, free: 25.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2186, allocations: 381.9 kB / 457.3 MB, free: 25.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.2192, allocations: 278.4 kB / 457.6 MB, free: 25.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.2199, allocations: 473.5 kB / 458.1 MB, free: 25.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.2211, allocations: 0.6978 MB / 458.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2211, allocations: 1.594 kB / 458.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00174/0.2229, allocations: 0.8232 MB / 459.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.2229, allocations: 6.75 kB / 459.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2229, allocations: 4.188 kB / 459.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.2232, allocations: 66.53 kB / 459.7 MB, free: 24.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.2241, allocations: 177.8 kB / 459.9 MB, free: 24.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.2258, allocations: 1.671 MB / 461.5 MB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.2263, allocations: 51.67 kB / 461.6 MB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.2264, allocations: 28.42 kB / 461.6 MB, free: 22.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008862/0.2272, allocations: 450.2 kB / 462 MB, free: 22.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007022/0.2279, allocations: 466.2 kB / 462.5 MB, free: 22.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/0.2292, allocations: 0.667 MB / 463.2 MB, free: 21.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/0.2292, allocations: 1.094 kB / 463.2 MB, free: 21.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001695/0.2309, allocations: 0.8087 MB / 464 MB, free: 21.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2309, allocations: 10.56 kB / 464 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2309, allocations: 4.031 kB / 464 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.2311, allocations: 67.38 kB / 464.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.2319, allocations: 167.8 kB / 464.2 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2332, allocations: 1.658 MB / 465.9 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.2337, allocations: 57.84 kB / 465.9 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.2338, allocations: 24.45 kB / 466 MB, free: 20.03 MB / 366.1 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.0001912/0.2339, allocations: 222.3 kB / 466.2 MB, free: 19.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2341, allocations: 72.5 kB / 466.2 MB, free: 19.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.2359, allocations: 0.77 MB / 467 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.056e-06/0.2359, allocations: 7.031 kB / 467 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2359, allocations: 5.609 kB / 467 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.2359, allocations: 3.422 kB / 467 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.2399, allocations: 1.924 MB / 469 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.2399, allocations: 9.75 kB / 469 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.2405, allocations: 134 kB / 469.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.2407, allocations: 58.42 kB / 469.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.2408, allocations: 21.38 kB / 469.2 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.242, allocations: 1.634 MB / 470.8 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.242, allocations: 6.062 kB / 470.8 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.2442, allocations: 1.304 MB / 472.1 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.2445, allocations: 120 kB / 472.2 MB, free: 16.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.2446, allocations: 22.2 kB / 472.3 MB, free: 16.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.2451, allocations: 54.89 kB / 472.3 MB, free: 16.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.2453, allocations: 71.25 kB / 472.4 MB, free: 16.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.2453, allocations: 25.55 kB / 472.4 MB, free: 16.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005989/0.2459, allocations: 364.4 kB / 472.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2459, allocations: 0 / 472.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001255/0.2472, allocations: 249.9 kB / 473 MB, free: 15.89 MB / 366.1 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.0001648/0.2473, allocations: 128.6 kB / 473.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.2498, allocations: 1.221 MB / 474.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2498, allocations: 5.375 kB / 474.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/0.2507, allocations: 0.4921 MB / 474.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.2516, allocations: 164.9 kB / 475 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2545, allocations: 1.636 MB / 476.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.255, allocations: 391.2 kB / 477 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.2554, allocations: 144.5 kB / 477.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.2556, allocations: 53.77 kB / 477.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2556, allocations: 0 / 477.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01306/0.2686, allocations: 8.169 MB / 485.4 MB, free: 6.289 MB / 366.1 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.147526245564222] Failed to read output from testmodel.py, exit status != 0: 0.27693038433790207 0.28958701200000003 0.26361675100000004 Calling exit ...