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.0008083/0.0008083, 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.003043/0.003043, allocations: 160.3 kB / 24.7 MB, free: 9.43 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.8587/0.8587, allocations: 177.1 MB / 205 MB, free: 5.73 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.2327/0.2327, allocations: 29.4 MB / 290.8 MB, free: 2.414 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.373e-06/1.373e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.769e-05, allocations: 4.109 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.004973/0.00499, allocations: 5.561 MB / 437 MB, free: 7.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.007503, allocations: 2.617 MB / 439.6 MB, free: 4.848 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.00784, allocations: 35.75 kB / 439.7 MB, free: 4.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.008642, allocations: 376.6 kB / 440 MB, free: 4.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008687/0.009511, allocations: 493.1 kB / 440.5 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.01014, allocations: 0.5838 MB / 441.1 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007322/0.01087, allocations: 1.178 MB / 442.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.01144, allocations: 0.5957 MB / 442.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.01197, allocations: 0.6467 MB / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.01233, allocations: 390.8 kB / 443.9 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.01241, allocations: 88 kB / 444 MB, free: 472 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.01279, allocations: 466.8 kB / 444.5 MB, free: 4 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1751/0.1879, allocations: 277.7 kB / 444.7 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.1883, allocations: 272.9 kB / 445 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.1897, allocations: 1.278 MB / 446.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1897, allocations: 3.328 kB / 446.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1897, allocations: 0 / 446.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.1897, allocations: 0 / 446.3 MB, free: 45.77 MB / 410.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.00159/0.1913, allocations: 1.153 MB / 447.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1914, allocations: 12.95 kB / 447.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.1921, allocations: 207.5 kB / 447.6 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.1928, allocations: 0.5632 MB / 448.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.1928, allocations: 56.14 kB / 448.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.1929, allocations: 67.69 kB / 448.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009674/0.1938, allocations: 0.9408 MB / 449.3 MB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1939, allocations: 192 / 449.3 MB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.1939, allocations: 27.28 kB / 449.3 MB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.1939, allocations: 46.48 kB / 449.3 MB, free: 44.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.1948, allocations: 0.7777 MB / 450.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.1973, allocations: 2.853 MB / 453 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.1981, allocations: 0.7076 MB / 453.7 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.1984, allocations: 287.9 kB / 454 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.1985, allocations: 7.125 kB / 454 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1985, allocations: 39.12 kB / 454 MB, free: 43.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 2.484e-06/0.1985, allocations: 0 / 454 MB, free: 43.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=63): time 0.002804/0.2013, allocations: 2.324 MB / 456.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.2014, allocations: 138.8 kB / 456.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.2017, allocations: 0.5124 MB / 457 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2018, allocations: 36.86 kB / 457 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2019, allocations: 381.4 kB / 457.4 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/0.202, allocations: 229.4 kB / 457.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2021, allocations: 114.9 kB / 457.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.2022, allocations: 378.2 kB / 458.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.2025, allocations: 277.9 kB / 458.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.2029, allocations: 473.2 kB / 458.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.2035, allocations: 0.6927 MB / 459.5 MB, free: 40 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2035, allocations: 0 / 459.5 MB, free: 40 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008826/0.2044, allocations: 0.8335 MB / 460.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2044, allocations: 11.91 kB / 460.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2044, allocations: 3.125 kB / 460.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.2046, allocations: 67.66 kB / 460.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.205, allocations: 176.7 kB / 460.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009916/0.206, allocations: 1.678 MB / 462.3 MB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.2062, allocations: 54.38 kB / 462.3 MB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.2063, allocations: 25.7 kB / 462.4 MB, free: 38.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00042/0.2067, allocations: 440.6 kB / 462.8 MB, free: 37.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003424/0.207, allocations: 459.2 kB / 463.2 MB, free: 37.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006222/0.2077, allocations: 0.6702 MB / 463.9 MB, free: 37.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.2077, allocations: 3.406 kB / 463.9 MB, free: 37.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.00085/0.2085, allocations: 0.8144 MB / 464.7 MB, free: 36.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2085, allocations: 9.406 kB / 464.7 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2085, allocations: 3.219 kB / 464.7 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.2086, allocations: 55 kB / 464.8 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.209, allocations: 174.9 kB / 465 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007932/0.2098, allocations: 1.673 MB / 466.6 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.21, allocations: 54.97 kB / 466.7 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.21, allocations: 27.3 kB / 466.7 MB, free: 35.44 MB / 410.7 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.0001108/0.2102, allocations: 223.6 kB / 466.9 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.2102, allocations: 72.08 kB / 467 MB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/0.2111, allocations: 0.7643 MB / 467.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2111, allocations: 9.078 kB / 467.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2111, allocations: 2.938 kB / 467.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2111, allocations: 7.406 kB / 467.8 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.2131, allocations: 1.922 MB / 469.7 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2131, allocations: 4.969 kB / 469.7 MB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.2134, allocations: 132 kB / 469.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.89e-05/0.2135, allocations: 54.5 kB / 469.9 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.2135, allocations: 28.2 kB / 469.9 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006262/0.2142, allocations: 1.632 MB / 471.6 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2142, allocations: 9.344 kB / 471.6 MB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2153, allocations: 1.306 MB / 472.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2154, allocations: 123.9 kB / 473 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.2155, allocations: 20.09 kB / 473 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2157, allocations: 55.25 kB / 473.1 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.2158, allocations: 71.78 kB / 473.1 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2158, allocations: 23.16 kB / 473.2 MB, free: 31.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.216, allocations: 366.6 kB / 473.5 MB, free: 31.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.216, allocations: 0 / 473.5 MB, free: 31.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.2166, allocations: 250.3 kB / 473.8 MB, free: 31.38 MB / 410.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.0001064/0.2167, allocations: 125 kB / 473.9 MB, free: 31.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.218, allocations: 1.226 MB / 475.1 MB, free: 30.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.218, allocations: 2.906 kB / 475.1 MB, free: 30.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.2185, allocations: 477 kB / 475.6 MB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.219, allocations: 164.7 kB / 475.7 MB, free: 30.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2207, allocations: 1.695 MB / 477.4 MB, free: 29.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.221, allocations: 389.3 kB / 477.8 MB, free: 29.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2211, allocations: 56.44 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2211, allocations: 2.781 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of Templates: time 0.01184/0.2329, allocations: 12.7 MB / 490.6 MB, free: 28.05 MB / 410.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.1860366789624095] Failed to read output from testmodel.py, exit status != 0: 0.23843442928045988 0.247573011 0.055468148 Calling exit ...