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.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.0007489/0.0007489, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.001974, allocations: 440 kB / 10.41 MB, free: 284 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.0009775/0.0009775, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002254, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.046/1.046, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08966/1.136, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.06269/0.06269, allocations: 18.13 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0116/0.0743, allocations: 6.793 MB / 269.1 MB, free: 6.238 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.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 1.493e-06/1.493e-06, allocations: 0 / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.195e-05, allocations: 2.312 kB / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.00179/0.001812, allocations: 1.291 MB / 271.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003248, allocations: 1.482 MB / 273.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.003321, allocations: 4 kB / 273.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.003474, allocations: 95.33 kB / 273.4 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.003631, allocations: 127.3 kB / 273.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.004039, allocations: 307.2 kB / 273.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.004267, allocations: 359.1 kB / 274.2 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.004342, allocations: 58.84 kB / 274.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.004533, allocations: 265.5 kB / 274.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.004721, allocations: 215.4 kB / 274.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.004756, allocations: 28 kB / 274.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.004786, allocations: 28 kB / 274.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.00486, allocations: 99.69 kB / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.004911, allocations: 63.75 kB / 274.9 MB, free: 364 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.005063, allocations: 219.1 kB / 275.1 MB, free: 144 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.005069, allocations: 4 kB / 275.1 MB, free: 140 kB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00507, allocations: 0 / 275.1 MB, free: 140 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.005075, allocations: 0 / 275.1 MB, free: 140 kB / 266.7 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.1317/0.1367, allocations: 0.6531 MB / 275.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1368, allocations: 11.28 kB / 275.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.1368, allocations: 36.94 kB / 275.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1372, allocations: 298.1 kB / 276.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1372, allocations: 12.23 kB / 276.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1372, allocations: 23.39 kB / 276.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1374, allocations: 127 kB / 276.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1374, allocations: 1.594 kB / 276.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1374, allocations: 5.75 kB / 276.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1374, allocations: 7.281 kB / 276.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1376, allocations: 66.84 kB / 276.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.1381, allocations: 415.5 kB / 276.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.1384, allocations: 222.2 kB / 277 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.1384, allocations: 41.92 kB / 277 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1384, allocations: 7.594 kB / 277 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.1385, allocations: 35.11 kB / 277.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.012e-06/0.1385, allocations: 2.5 kB / 277.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006737/0.1391, allocations: 338.5 kB / 277.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.539e-05/0.1391, allocations: 55.56 kB / 277.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1393, allocations: 304 kB / 277.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1394, allocations: 30.86 kB / 277.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1394, allocations: 136.2 kB / 277.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.1394, allocations: 99.62 kB / 278 MB, free: 2.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.1395, allocations: 43.95 kB / 278 MB, free: 2.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.1396, allocations: 349.6 kB / 278.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.1396, allocations: 27.52 kB / 278.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.1396, allocations: 29.28 kB / 278.4 MB, free: 2.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1398, allocations: 144.7 kB / 278.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1398, allocations: 1.281 kB / 278.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002842/0.1401, allocations: 204.4 kB / 278.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1401, allocations: 10.5 kB / 278.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1401, allocations: 0 / 278.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.1403, allocations: 79.12 kB / 278.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1404, allocations: 41.58 kB / 278.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.1414, allocations: 2.519 MB / 281.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1415, allocations: 38.12 kB / 281.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1415, allocations: 7.562 kB / 281.5 MB, free: 15.96 MB / 282.7 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.0001262/0.1417, allocations: 144.2 kB / 281.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.1417, allocations: 27.14 kB / 281.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.1418, allocations: 49.03 kB / 281.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1418, allocations: 4.281 kB / 281.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1418, allocations: 2.5 kB / 281.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1418, allocations: 5.438 kB / 281.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.142, allocations: 179.8 kB / 281.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.142, allocations: 3.875 kB / 281.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1421, allocations: 36 kB / 281.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1421, allocations: 41.47 kB / 282 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.1423, allocations: 68.56 kB / 282 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1423, allocations: 11.05 kB / 282 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.1435, allocations: 2.525 MB / 284.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1435, allocations: 0.7969 kB / 284.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.1439, allocations: 395.5 kB / 284.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.144, allocations: 10.33 kB / 285 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1441, allocations: 19.88 kB / 285 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1441, allocations: 25.95 kB / 285 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1441, allocations: 7.859 kB / 285 MB, free: 13.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1443, allocations: 130.5 kB / 285.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1443, allocations: 0 / 285.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.1445, allocations: 75.19 kB / 285.2 MB, free: 13.15 MB / 282.7 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 8.223e-05/0.1446, allocations: 90.38 kB / 285.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.145, allocations: 363.7 kB / 285.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.145, allocations: 8.469 kB / 285.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1454, allocations: 331.2 kB / 286 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.1458, allocations: 281.7 kB / 286.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.147, allocations: 0.6743 MB / 286.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.953e-05/0.147, allocations: 125.3 kB / 287.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.1471, allocations: 31.98 kB / 287.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1473, allocations: 100.4 kB / 287.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1473, allocations: 1.406 kB / 287.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of Templates: time 0.007771/0.155, allocations: 5.319 MB / 292.5 MB, free: 10.54 MB / 282.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8706471882760525]