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.0009928/0.0009928, 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.0009889/0.0009889, allocations: 170.6 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.109 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.265/0.265, allocations: 29.4 MB / 291.2 MB, free: 2.43 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.212e-06/1.212e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.316e-05, allocations: 7.078 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005205/0.005219, allocations: 5.645 MB / 322.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.008245, allocations: 2.286 MB / 324.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.008587, allocations: 35.75 kB / 324.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.009264, allocations: 282.1 kB / 325.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.009837, allocations: 441.3 kB / 325.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.01052, allocations: 0.5651 MB / 326.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.0113, allocations: 1.174 MB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.01187, allocations: 0.6231 MB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006184/0.01249, allocations: 0.6312 MB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.0129, allocations: 382.8 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.01298, allocations: 87.94 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.01338, allocations: 419 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.01355, allocations: 291 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.01373, allocations: 271.3 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007159/0.01445, allocations: 0.8291 MB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01445, allocations: 3.938 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01445, allocations: 0 / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.01446, allocations: 0 / 330.8 MB, free: 1.973 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001163/0.01562, allocations: 1.079 MB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01566, allocations: 11.98 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.01648, allocations: 272.5 kB / 332.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.01705, allocations: 497.8 kB / 332.6 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.01709, allocations: 53.67 kB / 332.7 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.01717, allocations: 68.42 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.01778, allocations: 0.6157 MB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.0178, allocations: 12.12 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.01784, allocations: 28.38 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.01788, allocations: 41.23 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.01822, allocations: 241 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.02052, allocations: 2.149 MB / 335.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.02104, allocations: 403.5 kB / 336.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.02116, allocations: 95.25 kB / 336.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.02119, allocations: 24.38 kB / 336.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.02121, allocations: 39.06 kB / 336.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=59): time 1.603e-06/0.02121, allocations: 0 / 336.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.001499/0.02271, allocations: 1.025 MB / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.02276, allocations: 141 kB / 337.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.02301, allocations: 431.2 kB / 338 MB, free: 10.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.02304, allocations: 41.7 kB / 338 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.02316, allocations: 305.8 kB / 338.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.02339, allocations: 234 kB / 338.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.02351, allocations: 118.2 kB / 338.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.02363, allocations: 390.6 kB / 339 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.02374, allocations: 70.28 kB / 339.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.02393, allocations: 262 kB / 339.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.02425, allocations: 331.5 kB / 339.7 MB, free: 8.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02425, allocations: 0 / 339.7 MB, free: 8.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000449/0.0247, allocations: 387.3 kB / 340.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.02472, allocations: 8 kB / 340.1 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02473, allocations: 4 kB / 340.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.0249, allocations: 52.11 kB / 340.1 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.02537, allocations: 200.4 kB / 340.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.02662, allocations: 1.536 MB / 341.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02679, allocations: 31.98 kB / 341.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.02682, allocations: 16 kB / 341.9 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001844/0.02701, allocations: 171 kB / 342.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001718/0.02718, allocations: 258 kB / 342.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002823/0.02746, allocations: 332.6 kB / 342.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.02746, allocations: 0 / 342.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0004167/0.02788, allocations: 383.4 kB / 343 MB, free: 5.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.02789, allocations: 8 kB / 343 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02789, allocations: 4 kB / 343 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.02802, allocations: 52.05 kB / 343.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.02842, allocations: 199.6 kB / 343.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007637/0.02919, allocations: 1.536 MB / 344.8 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.02935, allocations: 31.98 kB / 344.8 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.02938, allocations: 19.98 kB / 344.9 MB, free: 3.082 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 0.0001131/0.02949, allocations: 222 kB / 345.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.02957, allocations: 59.89 kB / 345.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.02999, allocations: 371.6 kB / 345.5 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.03, allocations: 12 kB / 345.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.03, allocations: 0 / 345.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.03, allocations: 3.984 kB / 345.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.03138, allocations: 1.196 MB / 346.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.03138, allocations: 8 kB / 346.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.03167, allocations: 124.6 kB / 346.8 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.03179, allocations: 59.67 kB / 346.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.03182, allocations: 16 kB / 346.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007215/0.03254, allocations: 1.513 MB / 348.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.03255, allocations: 11.94 kB / 348.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.03345, allocations: 0.7283 MB / 349.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.03357, allocations: 87.47 kB / 349.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.03361, allocations: 20 kB / 349.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.0338, allocations: 31.98 kB / 349.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.03389, allocations: 75.7 kB / 349.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.03392, allocations: 20 kB / 349.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.03406, allocations: 196.3 kB / 349.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03406, allocations: 0 / 349.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005418/0.0346, allocations: 248 kB / 349.8 MB, free: 13.79 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.0001091/0.03471, allocations: 104.4 kB / 349.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007478/0.03546, allocations: 0.7356 MB / 350.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.03547, allocations: 8.125 kB / 350.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.03572, allocations: 294.1 kB / 351 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.03619, allocations: 171.1 kB / 351.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.03806, allocations: 1.536 MB / 352.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.0382, allocations: 188.1 kB / 352.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.03844, allocations: 84.73 kB / 352.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.0387, allocations: 163.3 kB / 353.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0387, allocations: 0 / 353.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of Templates: time 0.01129/0.04999, allocations: 9.013 MB / 362.1 MB, free: 1.453 MB / 330.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9446463547647]