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.001003/0.001003, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001183/0.001183, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2398/0.2398, allocations: 29.41 MB / 291.2 MB, free: 2.41 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.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.453e-06/1.453e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.508e-05, allocations: 4.141 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.005099/0.005114, allocations: 5.289 MB / 322.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.007488, allocations: 1.909 MB / 324.1 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003314/0.00782, allocations: 31.75 kB / 324.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.008503, allocations: 234.3 kB / 324.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.008949, allocations: 305.9 kB / 324.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.009618, allocations: 0.5261 MB / 325.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.01033, allocations: 1.03 MB / 326.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.01087, allocations: 0.5623 MB / 326.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.01137, allocations: 0.5611 MB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.01168, allocations: 323 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.01176, allocations: 84 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.01207, allocations: 263.3 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.01225, allocations: 227.2 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.01242, allocations: 255.3 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006827/0.0131, allocations: 0.6849 MB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01311, allocations: 4 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01311, allocations: 0 / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.01312, allocations: 0 / 329.1 MB, free: 3.652 MB / 298.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.00109/0.01421, allocations: 1.012 MB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.01424, allocations: 11.98 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005774/0.01482, allocations: 208.7 kB / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.01536, allocations: 466 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.0154, allocations: 49.69 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.01547, allocations: 68.31 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.01604, allocations: 0.5564 MB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.01606, allocations: 192 / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.0161, allocations: 28.36 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.01613, allocations: 41.23 kB / 331.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.01643, allocations: 205 kB / 331.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.01835, allocations: 1.955 MB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.01881, allocations: 337.6 kB / 334 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.0189, allocations: 71.27 kB / 334.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.01894, allocations: 16.48 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.01897, allocations: 35.06 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.425e-06/0.01897, allocations: 4 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0003797/0.01935, allocations: 273.8 kB / 334.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.01941, allocations: 137 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.01967, allocations: 439.1 kB / 335 MB, free: 13.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.0197, allocations: 41.58 kB / 335 MB, free: 13.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01983, allocations: 290 kB / 335.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.01993, allocations: 186.4 kB / 335.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02003, allocations: 102.3 kB / 335.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.02014, allocations: 382.6 kB / 336 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.02023, allocations: 58.28 kB / 336 MB, free: 12.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.02039, allocations: 245.1 kB / 336.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.02065, allocations: 276.2 kB / 336.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02065, allocations: 0 / 336.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005151/0.02117, allocations: 384.5 kB / 336.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.02119, allocations: 11.98 kB / 336.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02119, allocations: 4 kB / 336.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.02145, allocations: 89.72 kB / 337 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.02182, allocations: 161.7 kB / 337.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.02298, allocations: 1.705 MB / 338.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.02315, allocations: 63.61 kB / 338.9 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.02317, allocations: 16 kB / 339 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000163/0.02333, allocations: 151 kB / 339.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001621/0.0235, allocations: 244.9 kB / 339.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002336/0.02373, allocations: 281.4 kB / 339.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.02373, allocations: 0 / 339.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0004021/0.02413, allocations: 352.8 kB / 340 MB, free: 8.168 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.02414, allocations: 8 kB / 340 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.02415, allocations: 4 kB / 340 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.02428, allocations: 69.59 kB / 340 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.02462, allocations: 160.6 kB / 340.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/0.02557, allocations: 1.655 MB / 341.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.02574, allocations: 59.69 kB / 341.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.02576, allocations: 19.94 kB / 341.9 MB, free: 6.105 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (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 0.0001108/0.02587, allocations: 212.1 kB / 342.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.02593, allocations: 51.95 kB / 342.2 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.02623, allocations: 272.9 kB / 342.5 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.02624, allocations: 8 kB / 342.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.02624, allocations: 0 / 342.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02625, allocations: 7.984 kB / 342.5 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.02692, allocations: 0.6571 MB / 343.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02692, allocations: 0 / 343.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.02723, allocations: 124.7 kB / 343.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.02723, allocations: 4 kB / 343.3 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.02726, allocations: 12 kB / 343.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02726, allocations: 0 / 343.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02726, allocations: 4 kB / 343.3 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.02766, allocations: 479.8 kB / 343.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.02775, allocations: 71.44 kB / 343.8 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.0278, allocations: 12 kB / 343.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.02793, allocations: 23.98 kB / 343.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.028, allocations: 48.34 kB / 343.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.02802, allocations: 8 kB / 343.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.02815, allocations: 188.4 kB / 344.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02815, allocations: 4 kB / 344.1 MB, free: 3.891 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004356/0.02858, allocations: 291.2 kB / 344.4 MB, free: 3.605 MB / 314.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 (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 9.596e-05/0.02868, allocations: 92.34 kB / 344.5 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006235/0.0293, allocations: 0.6791 MB / 345.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.02931, allocations: 12 kB / 345.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.02944, allocations: 124.6 kB / 345.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.02982, allocations: 161.6 kB / 345.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.03134, allocations: 1.261 MB / 346.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.03145, allocations: 170.9 kB / 346.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.03164, allocations: 72.41 kB / 346.9 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.03189, allocations: 161.3 kB / 347.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03189, allocations: 0 / 347.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of Templates: time 0.0111/0.04299, allocations: 8.859 MB / 355.9 MB, free: 8.074 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.892003450077027]