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.0009131/0.0009131, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002151, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001005/0.001005, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002148, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08021/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.06264/0.06264, allocations: 18.14 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009919/0.07256, allocations: 6.773 MB / 268.9 MB, free: 6.352 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.142e-06/1.142e-06, allocations: 0 / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.451e-05, allocations: 2.312 kB / 270.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001297/0.001311, allocations: 1.011 MB / 271.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.002392, allocations: 1.264 MB / 272.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.002457, allocations: 8 kB / 272.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.002626, allocations: 35.77 kB / 272.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.00272, allocations: 47.7 kB / 272.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.00295, allocations: 115.6 kB / 272.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003085, allocations: 131.7 kB / 272.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.003165, allocations: 22.27 kB / 272.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.003287, allocations: 103.7 kB / 273 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.003404, allocations: 87.75 kB / 273.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.003431, allocations: 16 kB / 273.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.003449, allocations: 12 kB / 273.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.003503, allocations: 39.86 kB / 273.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.00354, allocations: 23.94 kB / 273.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003659, allocations: 87.66 kB / 273.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.003671, allocations: 0 / 273.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003671, allocations: 3.938 kB / 273.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.003683, allocations: 0 / 273.3 MB, free: 1.879 MB / 266.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.0005687/0.004251, allocations: 391.8 kB / 273.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.004277, allocations: 8.031 kB / 273.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.004312, allocations: 20.92 kB / 273.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.004504, allocations: 182.2 kB / 273.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.004521, allocations: 8.281 kB / 273.9 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.004541, allocations: 16.33 kB / 273.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.004648, allocations: 73.03 kB / 274 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.004656, allocations: 192 / 274 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.004664, allocations: 384 / 274 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004668, allocations: 3.938 kB / 274 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.004736, allocations: 31.92 kB / 274 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.005032, allocations: 261.8 kB / 274.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.005207, allocations: 134.9 kB / 274.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.005238, allocations: 20.86 kB / 274.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.00525, allocations: 7.938 kB / 274.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.005266, allocations: 30.56 kB / 274.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.005267, allocations: 0 / 274.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003823/0.005649, allocations: 177.2 kB / 274.6 MB, free: 440 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.005678, allocations: 55.41 kB / 274.7 MB, free: 372 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.005769, allocations: 171.1 kB / 274.9 MB, free: 188 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.005781, allocations: 29.92 kB / 274.9 MB, free: 152 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.005815, allocations: 104 kB / 275 MB, free: 44 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.106/0.1118, allocations: 47.02 kB / 275 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.1119, allocations: 27.56 kB / 275.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.1119, allocations: 331.8 kB / 275.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.112, allocations: 15.25 kB / 275.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.112, allocations: 9.531 kB / 275.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1121, allocations: 72.62 kB / 275.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1121, allocations: 0 / 275.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002407/0.1124, allocations: 107.5 kB / 275.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1124, allocations: 9.406 kB / 275.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1124, allocations: 3.453 kB / 275.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.1126, allocations: 36.97 kB / 275.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1126, allocations: 22.3 kB / 275.7 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006948/0.1133, allocations: 1.266 MB / 276.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.1134, allocations: 8.891 kB / 276.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1134, allocations: 6.938 kB / 276.9 MB, free: 1.836 MB / 266.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.676e-05/0.1135, allocations: 132 kB / 277.1 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.1135, allocations: 10.11 kB / 277.1 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.1136, allocations: 23.48 kB / 277.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.1136, allocations: 1.406 kB / 277.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1136, allocations: 2 kB / 277.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1136, allocations: 0.75 kB / 277.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1137, allocations: 115.2 kB / 277.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1137, allocations: 2.094 kB / 277.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.1138, allocations: 17.84 kB / 277.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.1138, allocations: 23.34 kB / 277.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.1139, allocations: 36.5 kB / 277.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.114, allocations: 1.891 kB / 277.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005748/0.1145, allocations: 1.272 MB / 278.6 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1145, allocations: 0 / 278.6 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1148, allocations: 278.5 kB / 278.8 MB, free: 16.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1148, allocations: 6.078 kB / 278.8 MB, free: 16.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1149, allocations: 9.703 kB / 278.9 MB, free: 16.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1149, allocations: 10.41 kB / 278.9 MB, free: 16.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1149, allocations: 3.469 kB / 278.9 MB, free: 16.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.115, allocations: 47.22 kB / 278.9 MB, free: 16.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.115, allocations: 0.9375 kB / 278.9 MB, free: 16.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.1152, allocations: 29.89 kB / 278.9 MB, free: 16.27 MB / 282.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 7.829e-05/0.1153, allocations: 80.7 kB / 279 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.1157, allocations: 187.9 kB / 279.2 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.1157, allocations: 4.609 kB / 279.2 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1158, allocations: 164.9 kB / 279.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.116, allocations: 31.5 kB / 279.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.1164, allocations: 315.4 kB / 279.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.507e-05/0.1165, allocations: 82.08 kB / 279.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.1165, allocations: 13.48 kB / 279.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1166, allocations: 66.45 kB / 279.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1166, allocations: 2.094 kB / 279.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of Templates: time 0.004113/0.1207, allocations: 2.176 MB / 282 MB, free: 15.61 MB / 282.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.6825604755431414]