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.0009649/0.0009649, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002241, 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.001047/0.001047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.00243, 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 0.9211/0.9211, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.04, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.07735/0.07735, allocations: 18.12 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01082/0.08817, allocations: 6.781 MB / 268.9 MB, free: 6.34 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.223e-06/1.223e-06, allocations: 0 / 270.3 MB, free: 4.887 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.987e-05, allocations: 2.312 kB / 270.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001602/0.001622, allocations: 1.279 MB / 271.6 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.002959, allocations: 1.478 MB / 273.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.003038, allocations: 7.938 kB / 273.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.003248, allocations: 103.3 kB / 273.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.003416, allocations: 131.3 kB / 273.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.003863, allocations: 303.3 kB / 273.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.00411, allocations: 359.1 kB / 274 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004213, allocations: 54.84 kB / 274 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.004425, allocations: 269.5 kB / 274.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.004611, allocations: 211.4 kB / 274.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.004652, allocations: 28 kB / 274.5 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.004683, allocations: 31.94 kB / 274.5 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.004765, allocations: 103.6 kB / 274.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.004828, allocations: 59.81 kB / 274.7 MB, free: 484 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.005, allocations: 211.1 kB / 274.9 MB, free: 272 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.005012, allocations: 4 kB / 274.9 MB, free: 268 kB / 266.7 MB Notification: Performance of FrontEnd: time 4e-07/0.005012, allocations: 0 / 274.9 MB, free: 268 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.005022, allocations: 0 / 274.9 MB, free: 268 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.1053/0.1103, allocations: 0.6604 MB / 275.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1103, allocations: 9 kB / 275.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.1104, allocations: 37.28 kB / 275.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.1108, allocations: 295 kB / 275.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1108, allocations: 11.17 kB / 275.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1109, allocations: 22.09 kB / 275.9 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1111, allocations: 125.8 kB / 276.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1111, allocations: 1.719 kB / 276.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1111, allocations: 9.938 kB / 276.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1111, allocations: 8.219 kB / 276.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1112, allocations: 66.83 kB / 276.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.1119, allocations: 413.6 kB / 276.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1122, allocations: 215.8 kB / 276.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.1123, allocations: 44.86 kB / 276.8 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1123, allocations: 5.469 kB / 276.8 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.1123, allocations: 43.23 kB / 276.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.1123, allocations: 0 / 276.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008128/0.1131, allocations: 331.5 kB / 277.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.1131, allocations: 55.69 kB / 277.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1133, allocations: 302.7 kB / 277.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1134, allocations: 30.7 kB / 277.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1134, allocations: 136.8 kB / 277.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.1135, allocations: 103.5 kB / 277.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.1135, allocations: 45.27 kB / 277.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.1136, allocations: 351.5 kB / 278.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1136, allocations: 24.67 kB / 278.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.1137, allocations: 34 kB / 278.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1139, allocations: 136.9 kB / 278.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1139, allocations: 1.875 kB / 278.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003477/0.1142, allocations: 211.1 kB / 278.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1143, allocations: 13.28 kB / 278.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1143, allocations: 0.6562 kB / 278.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.1145, allocations: 74.75 kB / 278.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1146, allocations: 43.33 kB / 278.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.1158, allocations: 2.525 MB / 281.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.116, allocations: 29.84 kB / 281.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.116, allocations: 7.375 kB / 281.3 MB, free: 15.95 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.0001452/0.1161, allocations: 145.2 kB / 281.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.1162, allocations: 27.3 kB / 281.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.1162, allocations: 53.98 kB / 281.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1162, allocations: 3.922 kB / 281.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1162, allocations: 7.531 kB / 281.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1162, allocations: 6.625 kB / 281.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.1165, allocations: 174.4 kB / 281.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1165, allocations: 0 / 281.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1166, allocations: 35.05 kB / 281.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1167, allocations: 44.69 kB / 281.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.1168, allocations: 69.69 kB / 281.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1169, allocations: 9.375 kB / 281.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.1183, allocations: 2.522 MB / 284.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1183, allocations: 1.188 kB / 284.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.1187, allocations: 402 kB / 284.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1188, allocations: 10.03 kB / 284.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1189, allocations: 18.48 kB / 284.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.119, allocations: 24.16 kB / 284.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.119, allocations: 10.23 kB / 284.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1191, allocations: 127.5 kB / 284.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1191, allocations: 0 / 284.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000294/0.1194, allocations: 72.41 kB / 285 MB, free: 13.14 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 9.517e-05/0.1195, allocations: 88.58 kB / 285.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.12, allocations: 361.5 kB / 285.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.12, allocations: 11.27 kB / 285.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.1202, allocations: 325.5 kB / 285.8 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.0002945/0.1205, allocations: 84.06 kB / 285.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1216, allocations: 0.6689 MB / 286.5 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.1217, allocations: 121.5 kB / 286.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.322e-05/0.1218, allocations: 31.67 kB / 286.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.1219, allocations: 89.81 kB / 286.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1219, allocations: 1.312 kB / 286.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Templates: time 0.007846/0.1297, allocations: 4.788 MB / 291.5 MB, free: 11 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.682653095573187]