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.001915/0.001915, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001667/0.001667, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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 1.515/1.515, allocations: 177.1 MB / 203.9 MB, free: 5.562 MB / 186.7 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.1087/0.1087, allocations: 18.14 MB / 278.5 MB, free: 11.29 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.814e-06/1.814e-06, allocations: 0 / 356.5 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.613e-05/4.794e-05, allocations: 2.312 kB / 356.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.00286/0.002907, allocations: 1.213 MB / 357.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.005677, allocations: 1.432 MB / 359.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.005916, allocations: 3.938 kB / 359.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.00644, allocations: 107.3 kB / 359.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.006868, allocations: 131.3 kB / 359.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.007739, allocations: 330.6 kB / 359.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000577/0.008316, allocations: 363.1 kB / 360.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.008485, allocations: 44.91 kB / 360.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.008798, allocations: 163.5 kB / 360.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.009235, allocations: 215.4 kB / 360.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.009335, allocations: 28 kB / 360.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.009402, allocations: 28 kB / 360.5 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.009596, allocations: 123.6 kB / 360.7 MB, free: 4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.009755, allocations: 87.67 kB / 360.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.01029, allocations: 342.8 kB / 361.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01029, allocations: 4 kB / 361.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.0103, allocations: 0 / 361.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.01031, allocations: 0 / 361.1 MB, free: 3.574 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002868/0.01318, allocations: 0.7931 MB / 361.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.01322, allocations: 12.92 kB / 361.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.01336, allocations: 56.7 kB / 362 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.01476, allocations: 435.8 kB / 362.4 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.01479, allocations: 16.64 kB / 362.4 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.01486, allocations: 20.38 kB / 362.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.01533, allocations: 208.7 kB / 362.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01535, allocations: 4.125 kB / 362.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.01538, allocations: 4.375 kB / 362.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01539, allocations: 11.94 kB / 362.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.0159, allocations: 232.4 kB / 362.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.01741, allocations: 0.6404 MB / 363.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.01823, allocations: 314.3 kB / 363.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.0185, allocations: 128.8 kB / 363.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.01853, allocations: 8 kB / 363.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.01857, allocations: 34.56 kB / 364 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.01857, allocations: 0 / 364 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002102/0.02067, allocations: 0.6434 MB / 364.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.02073, allocations: 59.34 kB / 364.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.02207, allocations: 0.5014 MB / 365.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.02211, allocations: 29.7 kB / 365.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.02228, allocations: 180.6 kB / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.0224, allocations: 99.12 kB / 365.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.02251, allocations: 49.7 kB / 365.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.02274, allocations: 358.7 kB / 365.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.02298, allocations: 108.2 kB / 366 MB, free: 14.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.0232, allocations: 112.4 kB / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.02577, allocations: 0.7179 MB / 366.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.02577, allocations: 0 / 366.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001062/0.02683, allocations: 487.5 kB / 367.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.02685, allocations: 7.125 kB / 367.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.02685, allocations: 0 / 367.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.02733, allocations: 125.5 kB / 367.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.02754, allocations: 35.98 kB / 367.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.03108, allocations: 2.955 MB / 370.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.03164, allocations: 79.81 kB / 370.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.03167, allocations: 4 kB / 370.5 MB, free: 9.773 MB / 298.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.000323/0.03199, allocations: 179.7 kB / 370.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.03209, allocations: 51.69 kB / 370.7 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.03222, allocations: 51.41 kB / 370.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03222, allocations: 8 kB / 370.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.03223, allocations: 0 / 370.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.03223, allocations: 0 / 370.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.03269, allocations: 289 kB / 371.1 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.03269, allocations: 4 kB / 371.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.03294, allocations: 31.92 kB / 371.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/0.03338, allocations: 121.6 kB / 371.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.03341, allocations: 11.94 kB / 371.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.03692, allocations: 2.944 MB / 374.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.03692, allocations: 3.938 kB / 374.2 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.03823, allocations: 0.6617 MB / 374.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.03832, allocations: 43.69 kB / 374.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.03837, allocations: 12 kB / 374.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/0.03893, allocations: 67.95 kB / 375 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.03902, allocations: 27.89 kB / 375 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.03904, allocations: 8 kB / 375 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.0402, allocations: 406.9 kB / 375.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0402, allocations: 0 / 375.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004143/0.04061, allocations: 79.83 kB / 375.5 MB, free: 4.527 MB / 298.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 0.0001551/0.04076, allocations: 107.2 kB / 375.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.04203, allocations: 0.5205 MB / 376.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.04203, allocations: 0 / 376.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.04269, allocations: 397.1 kB / 376.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.04317, allocations: 68.83 kB / 376.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.0448, allocations: 0.7503 MB / 377.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.04508, allocations: 215.8 kB / 377.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000194/0.04527, allocations: 74.95 kB / 377.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.04536, allocations: 24.5 kB / 377.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.04536, allocations: 0 / 377.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of Templates: time 0.01088/0.05624, allocations: 4.562 MB / 382.2 MB, free: 13.75 MB / 314.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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.700199116021395]