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.0009479/0.0009479, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009435/0.0009435, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9588/0.9588, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1156/0.1156, allocations: 29.43 MB / 292 MB, free: 2.621 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.283e-06/1.283e-06, allocations: 3.938 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.177e-05, allocations: 4.984 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.003946/0.003958, allocations: 5.57 MB / 376.4 MB, free: 26.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.006048, allocations: 2.232 MB / 378.7 MB, free: 24.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.006331, allocations: 35.75 kB / 378.7 MB, free: 24.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.006914, allocations: 286.1 kB / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.007386, allocations: 445.3 kB / 379.4 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.007972, allocations: 0.5768 MB / 380 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.008573, allocations: 1.17 MB / 381.2 MB, free: 21.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.009033, allocations: 0.5919 MB / 381.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.009467, allocations: 0.6351 MB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.009767, allocations: 398.8 kB / 382.8 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.009829, allocations: 88 kB / 382.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.01013, allocations: 418.9 kB / 383.3 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.01027, allocations: 283.1 kB / 383.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.01041, allocations: 271.3 kB / 383.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.01098, allocations: 0.8369 MB / 384.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01099, allocations: 0 / 384.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01099, allocations: 0 / 384.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.01099, allocations: 0 / 384.7 MB, free: 18.45 MB / 314.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.0009628/0.01196, allocations: 1.216 MB / 385.9 MB, free: 17.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01199, allocations: 8.031 kB / 385.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.01266, allocations: 280.1 kB / 386.2 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.01317, allocations: 0.5735 MB / 386.7 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.0132, allocations: 49.69 kB / 386.8 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.01326, allocations: 76.31 kB / 386.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.01377, allocations: 0.6383 MB / 387.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.01379, allocations: 4.188 kB / 387.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.01383, allocations: 28.38 kB / 387.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.01386, allocations: 45.23 kB / 387.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.01417, allocations: 262 kB / 387.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.01605, allocations: 2.849 MB / 390.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.01651, allocations: 394.9 kB / 391.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.01662, allocations: 112.8 kB / 391.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.01665, allocations: 24.48 kB / 391.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.01667, allocations: 41.89 kB / 391.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=59): time 1.934e-06/0.01667, allocations: 0 / 391.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.001389/0.01806, allocations: 1.13 MB / 392.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.01809, allocations: 141 kB / 392.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.01832, allocations: 494.3 kB / 393 MB, free: 9.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.01835, allocations: 37.7 kB / 393 MB, free: 9.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.01848, allocations: 427.3 kB / 393.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.01856, allocations: 230 kB / 393.7 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.01867, allocations: 131.9 kB / 393.8 MB, free: 8.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.01874, allocations: 0.5585 MB / 394.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.794e-05/0.01884, allocations: 82.28 kB / 394.4 MB, free: 8.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.019, allocations: 324.8 kB / 394.8 MB, free: 7.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.01926, allocations: 371.2 kB / 395.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01926, allocations: 0 / 395.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000444/0.01971, allocations: 496 kB / 395.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01972, allocations: 10.19 kB / 395.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01973, allocations: 4 kB / 395.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.01988, allocations: 56.11 kB / 395.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.02021, allocations: 163.7 kB / 395.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007829/0.02099, allocations: 2.062 MB / 397.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.02118, allocations: 31.98 kB / 397.9 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.0212, allocations: 16 kB / 397.9 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001777/0.02138, allocations: 216.1 kB / 398.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001515/0.02153, allocations: 320.8 kB / 398.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002541/0.02179, allocations: 371.2 kB / 398.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.02179, allocations: 0 / 398.8 MB, free: 3.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0004459/0.02223, allocations: 492.4 kB / 399.3 MB, free: 2.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/0.02224, allocations: 4 kB / 399.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.02224, allocations: 7.938 kB / 399.3 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.02236, allocations: 55.64 kB / 399.4 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.02267, allocations: 155.8 kB / 399.5 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005958/0.02327, allocations: 2.061 MB / 401.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.02344, allocations: 36.02 kB / 401.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.02347, allocations: 16 kB / 401.6 MB, free: 0.5 MB / 314.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.hotwellLevel.local_reset,powerPlant.throttleCosts.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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 8.993e-05/0.02356, allocations: 311.8 kB / 401.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.02363, allocations: 95.47 kB / 402 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.02415, allocations: 435.5 kB / 402.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.02416, allocations: 8 kB / 402.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.02416, allocations: 0 / 402.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02417, allocations: 7.984 kB / 402.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.02576, allocations: 1.383 MB / 403.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.02577, allocations: 8 kB / 403.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.02604, allocations: 119.8 kB / 404 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.02615, allocations: 47.64 kB / 404 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.02618, allocations: 20 kB / 404 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008659/0.02704, allocations: 2.048 MB / 406.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.02705, allocations: 8 kB / 406.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.02784, allocations: 0.8935 MB / 407 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.02797, allocations: 111.5 kB / 407.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.02802, allocations: 23.98 kB / 407.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.02822, allocations: 31.92 kB / 407.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.0283, allocations: 75.66 kB / 407.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.02832, allocations: 23.98 kB / 407.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.02849, allocations: 306.7 kB / 407.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02849, allocations: 4 kB / 407.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005943/0.02908, allocations: 248 kB / 407.8 MB, free: 9.91 MB / 330.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.0001118/0.0292, allocations: 126.7 kB / 407.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.03011, allocations: 0.8715 MB / 408.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.03012, allocations: 4 kB / 408.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.03039, allocations: 364.9 kB / 409.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.03093, allocations: 165.4 kB / 409.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.03285, allocations: 1.578 MB / 410.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.03298, allocations: 184.1 kB / 411.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.03322, allocations: 84.69 kB / 411.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.03348, allocations: 194.1 kB / 411.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03348, allocations: 0 / 411.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of Templates: time 0.01123/0.04471, allocations: 9.084 MB / 420.4 MB, free: 13.17 MB / 346.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.086246616207063]