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.0009338/0.0009338, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.00144/0.00144, allocations: 173 kB / 24.17 MB, free: 336 kB / 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.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.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.0928/0.0928, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.673e-06/1.673e-06, allocations: 0 / 304.6 MB, free: 488 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.896e-05, allocations: 2.312 kB / 304.6 MB, free: 484 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002728/0.002747, allocations: 1.284 MB / 305.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.00499, allocations: 1.474 MB / 307.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.00512, allocations: 4.875 kB / 307.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.005539, allocations: 102.4 kB / 307.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.005843, allocations: 125.1 kB / 307.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.006544, allocations: 334.2 kB / 307.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.007008, allocations: 362.7 kB / 308.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.007161, allocations: 57.77 kB / 308.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.007392, allocations: 158.6 kB / 308.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.007677, allocations: 215.4 kB / 308.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.007722, allocations: 24 kB / 308.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/0.007753, allocations: 28 kB / 308.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.00786, allocations: 135.5 kB / 308.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.007929, allocations: 87.67 kB / 308.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.00815, allocations: 239 kB / 309.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.008152, allocations: 0 / 309.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.008153, allocations: 0 / 309.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.008158, allocations: 0 / 309.2 MB, free: 13.27 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.0007749/0.008933, allocations: 0.6224 MB / 309.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.008966, allocations: 8.922 kB / 309.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.009023, allocations: 36.91 kB / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.009409, allocations: 292.8 kB / 310.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.009432, allocations: 12.7 kB / 310.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.009465, allocations: 24.31 kB / 310.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.009639, allocations: 120.2 kB / 310.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.009649, allocations: 192 / 310.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.009664, allocations: 16.31 kB / 310.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.009671, allocations: 7.938 kB / 310.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.009787, allocations: 72.53 kB / 310.4 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.01033, allocations: 417.3 kB / 310.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.01062, allocations: 218.8 kB / 311 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.01068, allocations: 44.83 kB / 311 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.0107, allocations: 4 kB / 311 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.01072, allocations: 43.81 kB / 311.1 MB, free: 11.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 9.32e-07/0.01072, allocations: 0 / 311.1 MB, free: 11.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006834/0.01141, allocations: 338.3 kB / 311.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.01144, allocations: 51.41 kB / 311.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.01164, allocations: 299.4 kB / 311.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01166, allocations: 29.7 kB / 311.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.01172, allocations: 137.5 kB / 311.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.01178, allocations: 99.14 kB / 312 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.01183, allocations: 45.67 kB / 312 MB, free: 10.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.01193, allocations: 358.7 kB / 312.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.01198, allocations: 27.09 kB / 312.4 MB, free: 9.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.01202, allocations: 20.56 kB / 312.4 MB, free: 9.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.0122, allocations: 148.9 kB / 312.6 MB, free: 9.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.0122, allocations: 3.938 kB / 312.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002864/0.01249, allocations: 193.9 kB / 312.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.0125, allocations: 11.94 kB / 312.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01251, allocations: 7.984 kB / 312.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.01272, allocations: 71.3 kB / 312.9 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01282, allocations: 43.92 kB / 312.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.01428, allocations: 2.517 MB / 315.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01439, allocations: 27.95 kB / 315.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.0144, allocations: 11.97 kB / 315.5 MB, free: 6.578 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.0001519/0.01456, allocations: 137.4 kB / 315.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.0146, allocations: 35.91 kB / 315.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.01464, allocations: 47.41 kB / 315.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01464, allocations: 4 kB / 315.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01465, allocations: 0 / 315.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01465, allocations: 7.922 kB / 315.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.01483, allocations: 177.6 kB / 315.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01484, allocations: 4 kB / 315.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.01494, allocations: 35.92 kB / 315.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.01511, allocations: 75.3 kB / 316 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01513, allocations: 4 kB / 316 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.01638, allocations: 2.531 MB / 318.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01638, allocations: 4 kB / 318.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.0168, allocations: 401.1 kB / 318.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.01684, allocations: 43.67 kB / 319 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.01687, allocations: 11.97 kB / 319 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01698, allocations: 23.98 kB / 319 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.01704, allocations: 15.97 kB / 319 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.01705, allocations: 4 kB / 319 MB, free: 2.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.01717, allocations: 132.7 kB / 319.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01717, allocations: 0 / 319.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.01739, allocations: 71.95 kB / 319.2 MB, free: 2.59 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 0.0001246/0.01751, allocations: 88.36 kB / 319.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.01797, allocations: 354.9 kB / 319.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.01797, allocations: 4 kB / 319.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.01822, allocations: 341.7 kB / 320 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01848, allocations: 69.33 kB / 320.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007808/0.01926, allocations: 0.6576 MB / 320.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.782e-05/0.01934, allocations: 132.6 kB / 320.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.0194, allocations: 22.97 kB / 320.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01951, allocations: 87.36 kB / 320.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01951, allocations: 4 kB / 320.9 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of Templates: time 0.006572/0.02608, allocations: 4.763 MB / 325.7 MB, free: 12.05 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.917989562265575]