Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 249.4 MB, free: 3.027 MB / 190.1 MB " [Timeout remaining time 178] 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.1058/0.1058, allocations: 22.7 MB / 327.2 MB, free: 7.242 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 65.48 kB / 460.6 MB, free: 41.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 58.04 MB / 0.5065 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002072/0.1123, allocations: 1.329 MB / 0.5078 GB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1135, allocations: 1.408 MB / 0.5092 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.1136, allocations: 4 kB / 0.5092 GB, free: 3.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.114, allocations: 95.39 kB / 0.5093 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1142, allocations: 123.4 kB / 0.5094 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1145, allocations: 191.7 kB / 0.5096 GB, free: 3.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1148, allocations: 0.5146 MB / 0.5101 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.115, allocations: 52.72 kB / 0.5101 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1152, allocations: 211.3 kB / 0.5103 GB, free: 2.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1154, allocations: 275 kB / 0.5106 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1155, allocations: 24 kB / 0.5106 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.1155, allocations: 28 kB / 0.5106 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1156, allocations: 143.5 kB / 0.5108 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.1157, allocations: 139.1 kB / 0.5109 GB, free: 2.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1159, allocations: 334.4 kB / 0.5112 GB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1159, allocations: 0 / 0.5112 GB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1159, allocations: 0 / 0.5112 GB, free: 1.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1159, allocations: 0 / 0.5112 GB, free: 1.809 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00195/0.1179, allocations: 0.8775 MB / 0.5121 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1179, allocations: 12.75 kB / 0.5121 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.118, allocations: 40.66 kB / 0.5121 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.119, allocations: 498.4 kB / 0.5126 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.119, allocations: 12.7 kB / 0.5126 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.1191, allocations: 12.38 kB / 0.5126 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1194, allocations: 224.4 kB / 0.5128 GB, free: 60 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1194, allocations: 4 kB / 0.5129 GB, free: 56 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1194, allocations: 4 kB / 0.5129 GB, free: 52 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1194, allocations: 4 kB / 0.5129 GB, free: 48 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.1199, allocations: 232.4 kB / 0.5131 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.1212, allocations: 0.7577 MB / 0.5138 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.1219, allocations: 310.3 kB / 0.5141 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.1222, allocations: 140.8 kB / 0.5143 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1222, allocations: 7.875 kB / 0.5143 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1222, allocations: 34.56 kB / 0.5143 GB, free: 14.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.1222, allocations: 0 / 0.5143 GB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001922/0.1241, allocations: 0.7804 MB / 0.5151 GB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1242, allocations: 59.41 kB / 0.5151 GB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.1254, allocations: 0.5053 MB / 0.5156 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1254, allocations: 25.7 kB / 0.5156 GB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1255, allocations: 184.5 kB / 0.5158 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.1256, allocations: 99.11 kB / 0.5159 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/0.1257, allocations: 53.7 kB / 0.516 GB, free: 12.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1259, allocations: 350.8 kB / 0.5163 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1261, allocations: 112.1 kB / 0.5164 GB, free: 12.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1263, allocations: 113.3 kB / 0.5165 GB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.1286, allocations: 0.7219 MB / 0.5172 GB, free: 11.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1286, allocations: 0 / 0.5172 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009571/0.1295, allocations: 479.4 kB / 0.5177 GB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1295, allocations: 9.875 kB / 0.5177 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1296, allocations: 0 / 0.5177 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.1299, allocations: 109.6 kB / 0.5178 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1301, allocations: 39.92 kB / 0.5178 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.1333, allocations: 3.204 MB / 0.5209 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.1338, allocations: 83.88 kB / 0.521 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1338, allocations: 8 kB / 0.521 GB, free: 7.207 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: Cfb_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cfb_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cff_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process_2.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process_1.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.1341, allocations: 176.7 kB / 0.5212 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.1341, allocations: 35.77 kB / 0.5212 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1342, allocations: 51.31 kB / 0.5213 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1342, allocations: 4 kB / 0.5213 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1343, allocations: 0 / 0.5213 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1343, allocations: 3.984 kB / 0.5213 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.1347, allocations: 397.2 kB / 0.5217 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1347, allocations: 3.938 kB / 0.5217 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.135, allocations: 35.98 kB / 0.5217 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/0.1353, allocations: 105.6 kB / 0.5218 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.1353, allocations: 11.98 kB / 0.5218 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.1383, allocations: 3.208 MB / 0.525 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1383, allocations: 0 / 0.525 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1395, allocations: 0.6567 MB / 0.5256 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1396, allocations: 128.8 kB / 0.5257 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1397, allocations: 7.984 kB / 0.5257 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.1402, allocations: 75.84 kB / 0.5258 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.1403, allocations: 23.91 kB / 0.5258 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1403, allocations: 4 kB / 0.5258 GB, free: 1.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.1413, allocations: 406.9 kB / 0.5262 GB, free: 1.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 0 / 0.5262 GB, free: 1.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.1417, allocations: 75.95 kB / 0.5263 GB, free: 1.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process_1.x_scaled[1],Process_1.x_scaled[2],Process_2.x_scaled[1],Process_2.x_scaled[2],Cff_2.x_scaled[1],Cfb_1.x_scaled[1],Cfb_2.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (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 0.000126/0.1418, allocations: 107.2 kB / 0.5264 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009268/0.1427, allocations: 0.5167 MB / 0.5269 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1427, allocations: 0 / 0.5269 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.1433, allocations: 393.2 kB / 0.5273 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.1438, allocations: 67.16 kB / 0.5273 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1453, allocations: 0.7977 MB / 0.5281 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1458, allocations: 0.8146 MB / 0.5289 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.1459, allocations: 74.92 kB / 0.529 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.146, allocations: 27.44 kB / 0.529 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.146, allocations: 7.938 kB / 0.529 GB, free: 14.53 MB / 398.1 MB Notification: Performance of Templates: time 0.009656/0.1557, allocations: 4.35 MB / 0.5333 GB, free: 10.2 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.Exploiting_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.010071372613311]