Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.0008969/0.0008969, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009967/0.0009967, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9935/0.9935, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06251/0.06251, allocations: 18.13 MB / 278.9 MB, free: 11.32 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.527e-05, allocations: 2.312 kB / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001685/0.001711, allocations: 0.9716 MB / 358.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002938, allocations: 1.256 MB / 359.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.002995, allocations: 3.938 kB / 359.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.003217, allocations: 35.72 kB / 359.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.003331, allocations: 51.75 kB / 359.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.003512, allocations: 107.7 kB / 359.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003648, allocations: 143.6 kB / 359.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.003719, allocations: 21.62 kB / 359.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.003784, allocations: 59.81 kB / 359.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003891, allocations: 83.81 kB / 360 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.003916, allocations: 8 kB / 360 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.003932, allocations: 12 kB / 360 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.00399, allocations: 55.81 kB / 360.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.004027, allocations: 35.84 kB / 360.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.00414, allocations: 107.6 kB / 360.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004142, allocations: 0 / 360.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004143, allocations: 0 / 360.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.004147, allocations: 0 / 360.2 MB, free: 4.855 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005176/0.004664, allocations: 0.5076 MB / 360.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004697, allocations: 12.92 kB / 360.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.004741, allocations: 20.84 kB / 360.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.00498, allocations: 220.9 kB / 361 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004994, allocations: 384 / 361 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.005015, allocations: 12.38 kB / 361 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.005146, allocations: 72.88 kB / 361.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.005173, allocations: 192 / 361.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.005191, allocations: 12.38 kB / 361.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.005199, allocations: 3.938 kB / 361.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.005304, allocations: 39.95 kB / 361.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.005714, allocations: 395.5 kB / 361.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.005909, allocations: 103 kB / 361.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.005954, allocations: 31.69 kB / 361.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.005964, allocations: 11.92 kB / 361.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.005981, allocations: 33.39 kB / 361.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.005982, allocations: 0 / 361.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004741/0.006456, allocations: 217.3 kB / 361.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.006479, allocations: 55.41 kB / 362 MB, free: 2.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.006603, allocations: 233.8 kB / 362.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.006615, allocations: 25.7 kB / 362.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.00667, allocations: 166.8 kB / 362.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.006706, allocations: 51.59 kB / 362.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.006743, allocations: 31.38 kB / 362.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.006849, allocations: 0.5001 MB / 363 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.006879, allocations: 16 kB / 363 MB, free: 1.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.006908, allocations: 19.98 kB / 363 MB, free: 1.898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.007023, allocations: 82.22 kB / 363.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007024, allocations: 0 / 363.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001921/0.007216, allocations: 141.2 kB / 363.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.007229, allocations: 11.94 kB / 363.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.007233, allocations: 0 / 363.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.007384, allocations: 39.64 kB / 363.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.007436, allocations: 23.92 kB / 363.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009125/0.008349, allocations: 1.846 MB / 365.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.008412, allocations: 15.98 kB / 365.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.008419, allocations: 8.031 kB / 365.1 MB, free: 15.6 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/0.008519, allocations: 169 kB / 365.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.008546, allocations: 23.89 kB / 365.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.008567, allocations: 21.47 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008569, allocations: 4 kB / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.008572, allocations: 0 / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008574, allocations: 0 / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.0087, allocations: 172.5 kB / 365.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008702, allocations: 0 / 365.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.008756, allocations: 19.98 kB / 365.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.008857, allocations: 39.58 kB / 365.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.008867, allocations: 4 kB / 365.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007505/0.009618, allocations: 1.838 MB / 367.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.009619, allocations: 7.938 kB / 367.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.009877, allocations: 307.3 kB / 367.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.009897, allocations: 23.78 kB / 367.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.00991, allocations: 7.984 kB / 367.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.009978, allocations: 19.92 kB / 367.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.01002, allocations: 11.98 kB / 367.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.01002, allocations: 8.031 kB / 367.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.0101, allocations: 176.2 kB / 368 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0101, allocations: 0 / 368 MB, free: 12.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.01027, allocations: 35.95 kB / 368 MB, free: 12.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.658e-05/0.01034, allocations: 91.25 kB / 368.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.01061, allocations: 261 kB / 368.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01061, allocations: 4 kB / 368.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.01074, allocations: 229.5 kB / 368.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.01093, allocations: 23.92 kB / 368.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.0113, allocations: 314.5 kB / 368.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.01134, allocations: 79.81 kB / 369 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.01139, allocations: 25.31 kB / 369 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.01142, allocations: 12.5 kB / 369 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01142, allocations: 7.938 kB / 369 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Templates: time 0.003537/0.01496, allocations: 2.157 MB / 371.2 MB, free: 9.273 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.834932141005993]