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.001771/0.001771, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002243/0.002243, allocations: 161.7 kB / 24.27 MB, free: 172 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.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3022/0.3022, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 1.493e-06/1.493e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.18e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.008426/0.008458, allocations: 5.124 MB / 374 MB, free: 6.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005142/0.0136, allocations: 2.159 MB / 376.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007767/0.01438, allocations: 35.75 kB / 376.2 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.01555, allocations: 278.1 kB / 376.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.01666, allocations: 353.7 kB / 376.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.01805, allocations: 0.5223 MB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.01941, allocations: 1.022 MB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009489/0.02036, allocations: 0.5409 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009007/0.02126, allocations: 0.561 MB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.02179, allocations: 322.9 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.02191, allocations: 80 kB / 379.9 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.02258, allocations: 319.1 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.02283, allocations: 219.2 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.02314, allocations: 243.3 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.02475, allocations: 1.106 MB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.02476, allocations: 4 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02476, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.02477, allocations: 0 / 381.7 MB, free: 14.39 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.002326/0.0271, allocations: 1.053 MB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.02714, allocations: 19.92 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.02821, allocations: 252.1 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.02938, allocations: 0.5662 MB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.02944, allocations: 41.69 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.02956, allocations: 64.31 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.03115, allocations: 0.8194 MB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.03117, allocations: 4.141 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.03124, allocations: 24.38 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/0.03131, allocations: 37.23 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.03267, allocations: 0.6297 MB / 385.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004859/0.03752, allocations: 2.545 MB / 387.8 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.03896, allocations: 0.5976 MB / 388.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.03948, allocations: 223.2 kB / 388.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.03953, allocations: 8.5 kB / 388.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.03959, allocations: 39.25 kB / 388.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 4.849e-06/0.03959, allocations: 3.984 kB / 388.6 MB, free: 7.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001841/0.04143, allocations: 0.7191 MB / 389.4 MB, free: 6.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.04156, allocations: 137 kB / 389.5 MB, free: 6.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008564/0.04241, allocations: 0.4949 MB / 390 MB, free: 5.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.04248, allocations: 41.69 kB / 390 MB, free: 5.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.04284, allocations: 356.8 kB / 390.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.04304, allocations: 178.6 kB / 390.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.04325, allocations: 110.3 kB / 390.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.0435, allocations: 366.8 kB / 391 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.04403, allocations: 211.4 kB / 391.2 MB, free: 4.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.04473, allocations: 401.5 kB / 391.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.04587, allocations: 0.5377 MB / 392.2 MB, free: 3.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04587, allocations: 0 / 392.2 MB, free: 3.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002049/0.04792, allocations: 0.7982 MB / 393 MB, free: 2.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.04795, allocations: 11.94 kB / 393 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.04796, allocations: 8 kB / 393 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/0.04867, allocations: 149 kB / 393.1 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.0493, allocations: 131.8 kB / 393.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.05295, allocations: 2.29 MB / 395.5 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.0535, allocations: 67.84 kB / 395.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.05356, allocations: 27.98 kB / 395.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007708/0.05433, allocations: 365.4 kB / 396 MB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006296/0.05496, allocations: 380.9 kB / 396.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001072/0.05603, allocations: 0.5298 MB / 396.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.05604, allocations: 4 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001581/0.05762, allocations: 0.7045 MB / 397.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.05764, allocations: 8 kB / 397.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.05765, allocations: 4 kB / 397.6 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.058, allocations: 105.2 kB / 397.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.05856, allocations: 131.8 kB / 397.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.06119, allocations: 2.091 MB / 399.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.06172, allocations: 67.7 kB / 400 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.06177, allocations: 23.98 kB / 400 MB, free: 11.34 MB / 378.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.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 (59): * Single equations (assignments): 58 * 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.000273/0.06204, allocations: 216 kB / 400.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.06219, allocations: 75.62 kB / 400.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.06364, allocations: 0.5662 MB / 400.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.06365, allocations: 4 kB / 400.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.06366, allocations: 3.984 kB / 400.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.06367, allocations: 8 kB / 400.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.06595, allocations: 1.128 MB / 402 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.06595, allocations: 0 / 402 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.06654, allocations: 107.9 kB / 402.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.06655, allocations: 4 kB / 402.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.0666, allocations: 16 kB / 402.1 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.06661, allocations: 7.922 kB / 402.2 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.06661, allocations: 0 / 402.2 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.06845, allocations: 0.92 MB / 403.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.06868, allocations: 107.4 kB / 403.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.06875, allocations: 12 kB / 403.2 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.06914, allocations: 39.91 kB / 403.2 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.06925, allocations: 36.42 kB / 403.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.06929, allocations: 16 kB / 403.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005962/0.06989, allocations: 354.8 kB / 403.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06989, allocations: 0 / 403.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009934/0.07088, allocations: 283.2 kB / 403.9 MB, free: 7.387 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.0001734/0.07106, allocations: 110.7 kB / 404 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.07348, allocations: 1.058 MB / 405.1 MB, free: 6.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.07348, allocations: 3.938 kB / 405.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.0741, allocations: 246.7 kB / 405.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.07502, allocations: 153.2 kB / 405.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.07792, allocations: 1.4 MB / 406.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.07835, allocations: 346.7 kB / 407.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.07877, allocations: 112.3 kB / 407.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.07892, allocations: 44.5 kB / 407.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.07893, allocations: 0 / 407.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of Templates: time 0.01632/0.09524, allocations: 7.67 MB / 415 MB, free: 12.28 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9041188129922375]