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.00152/0.00152, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001628/0.001628, allocations: 161.4 kB / 24.55 MB, free: 20 kB / 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.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.641 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.2647/0.2647, allocations: 29.41 MB / 290.9 MB, free: 2.445 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.765e-06/2.765e-06, allocations: 4 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.661e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005658/0.005684, allocations: 5.279 MB / 374.9 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.008666, allocations: 1.858 MB / 376.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.009293, allocations: 35.75 kB / 376.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008638/0.01016, allocations: 230.3 kB / 377 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.01096, allocations: 305.9 kB / 377.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.01193, allocations: 0.5222 MB / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01294, allocations: 1.014 MB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007765/0.01371, allocations: 0.5487 MB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/0.01434, allocations: 0.5572 MB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.01474, allocations: 323 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.118e-05/0.01483, allocations: 80 kB / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.01523, allocations: 259.4 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.01542, allocations: 227.2 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.01563, allocations: 247.3 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.01677, allocations: 0.681 MB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01677, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01677, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.01679, allocations: 3.984 kB / 381.8 MB, free: 14.79 MB / 362.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.001437/0.01822, allocations: 1.118 MB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.01827, allocations: 11.98 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.01898, allocations: 244.1 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.01974, allocations: 0.5657 MB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.01978, allocations: 45.69 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/0.01987, allocations: 64.36 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/0.02067, allocations: 0.6027 MB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.02069, allocations: 12.08 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.02074, allocations: 24.38 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.02079, allocations: 33.23 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.02167, allocations: 291.5 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.02443, allocations: 2.724 MB / 387.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.025, allocations: 333.2 kB / 387.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.02516, allocations: 104.9 kB / 387.9 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.02521, allocations: 12.48 kB / 387.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.02525, allocations: 46.17 kB / 388 MB, free: 8.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.386e-06/0.02525, allocations: 3.938 kB / 388 MB, free: 8.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006901/0.02594, allocations: 384.6 kB / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.02602, allocations: 137 kB / 388.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.02641, allocations: 498.7 kB / 389 MB, free: 7.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.02644, allocations: 33.7 kB / 389 MB, free: 7.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.0267, allocations: 411.5 kB / 389.4 MB, free: 6.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.02681, allocations: 182.4 kB / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.02694, allocations: 108 kB / 389.7 MB, free: 6.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.02714, allocations: 0.543 MB / 390.2 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.0273, allocations: 82.25 kB / 390.3 MB, free: 5.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.02757, allocations: 321 kB / 390.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.02799, allocations: 356.7 kB / 391 MB, free: 5.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.028, allocations: 0 / 391 MB, free: 5.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008139/0.02881, allocations: 0.5044 MB / 391.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.02883, allocations: 11.94 kB / 391.5 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02884, allocations: 0 / 391.5 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.02923, allocations: 107.5 kB / 391.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.02992, allocations: 123.8 kB / 391.7 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.0317, allocations: 2.447 MB / 394.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.03191, allocations: 63.61 kB / 394.2 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.03194, allocations: 20 kB / 394.2 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002455/0.03219, allocations: 212.2 kB / 394.5 MB, free: 1.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002726/0.03246, allocations: 320.6 kB / 394.8 MB, free: 1.035 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000391/0.03285, allocations: 344.9 kB / 395.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.03285, allocations: 8 kB / 395.1 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.000646/0.0335, allocations: 480.7 kB / 395.6 MB, free: 144 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.03351, allocations: 12.03 kB / 395.6 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.03352, allocations: 7.984 kB / 395.6 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.03373, allocations: 75.45 kB / 395.7 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.03403, allocations: 123.8 kB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.03552, allocations: 2.392 MB / 398.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.03572, allocations: 63.66 kB / 398.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.03574, allocations: 23.98 kB / 398.3 MB, free: 13.33 MB / 378.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 0.0001657/0.03591, allocations: 303.9 kB / 398.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.036, allocations: 79.62 kB / 398.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.03686, allocations: 343.9 kB / 399 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.03686, allocations: 4 kB / 399 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.03686, allocations: 4 kB / 399 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.03687, allocations: 0 / 399 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.03794, allocations: 0.905 MB / 399.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.03794, allocations: 0 / 399.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.03826, allocations: 107.8 kB / 400 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.03826, allocations: 0 / 400 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.0383, allocations: 15.98 kB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.0383, allocations: 4 kB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.0383, allocations: 3.938 kB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.03893, allocations: 0.5717 MB / 400.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.03907, allocations: 111.4 kB / 400.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.03911, allocations: 19.94 kB / 400.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.03931, allocations: 19.98 kB / 400.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.0394, allocations: 44.36 kB / 400.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.03942, allocations: 8 kB / 400.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.03965, allocations: 322.8 kB / 401.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03965, allocations: 0 / 401.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006228/0.04028, allocations: 283.2 kB / 401.4 MB, free: 10.13 MB / 378.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 0.0001427/0.04042, allocations: 111.1 kB / 401.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.04143, allocations: 0.8668 MB / 402.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04144, allocations: 448 / 402.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.04162, allocations: 147.4 kB / 402.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.04211, allocations: 146.5 kB / 402.7 MB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.04425, allocations: 1.297 MB / 403.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.04437, allocations: 166.8 kB / 404.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.04462, allocations: 108.3 kB / 404.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.04473, allocations: 40.5 kB / 404.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04473, allocations: 0 / 404.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of Templates: time 0.01151/0.05624, allocations: 7.781 MB / 412 MB, free: 15.48 MB / 394.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2856838018633425]