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.001018/0.001018, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001047/0.001047, allocations: 177 kB / 24.28 MB, free: 284 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 0.963/0.963, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.1035/0.1035, allocations: 18.14 MB / 279.2 MB, free: 11.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.944e-06/1.944e-06, allocations: 0 / 357.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.957e-05, allocations: 5.406 kB / 357.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002015/0.002045, allocations: 1.244 MB / 358.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.003833, allocations: 1.47 MB / 360 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.003995, allocations: 0 / 360 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.004384, allocations: 95.39 kB / 360.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.004644, allocations: 131.3 kB / 360.2 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.00516, allocations: 319.2 kB / 360.5 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.005593, allocations: 363.1 kB / 360.9 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.005737, allocations: 52.88 kB / 360.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.00595, allocations: 167.5 kB / 361.1 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.006213, allocations: 211.4 kB / 361.3 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.006271, allocations: 28 kB / 361.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.00632, allocations: 32 kB / 361.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.006452, allocations: 135.5 kB / 361.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.006535, allocations: 87.67 kB / 361.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.006933, allocations: 247.1 kB / 361.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.006937, allocations: 3.938 kB / 361.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006938, allocations: 0 / 361.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.006944, allocations: 0 / 361.8 MB, free: 3.605 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.001081/0.008025, allocations: 0.7877 MB / 362.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.008079, allocations: 8.922 kB / 362.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.008197, allocations: 52.7 kB / 362.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.008753, allocations: 355.4 kB / 363 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.008784, allocations: 12.7 kB / 363 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.008823, allocations: 16.38 kB / 363 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.009048, allocations: 128.8 kB / 363.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.009061, allocations: 192 / 363.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.009078, allocations: 8.375 kB / 363.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.00909, allocations: 7.938 kB / 363.2 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.009287, allocations: 100.4 kB / 363.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.01009, allocations: 0.6008 MB / 363.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.01058, allocations: 206.8 kB / 364.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.0107, allocations: 52.33 kB / 364.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.01072, allocations: 4 kB / 364.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.01075, allocations: 49.31 kB / 364.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.01075, allocations: 0 / 364.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001316/0.01207, allocations: 432.7 kB / 364.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.01212, allocations: 51.41 kB / 364.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.0126, allocations: 386.8 kB / 365 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.01263, allocations: 29.7 kB / 365 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.0128, allocations: 227.4 kB / 365.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.01292, allocations: 103.1 kB / 365.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.01302, allocations: 55.36 kB / 365.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.01322, allocations: 0.5274 MB / 366 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.01334, allocations: 32.27 kB / 366 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.01344, allocations: 36.48 kB / 366 MB, free: 15.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.01371, allocations: 166.2 kB / 366.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01371, allocations: 0 / 366.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004783/0.01419, allocations: 285.6 kB / 366.5 MB, free: 14.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01421, allocations: 4 kB / 366.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01421, allocations: 0 / 366.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.01452, allocations: 87.27 kB / 366.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01465, allocations: 47.86 kB / 366.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.01693, allocations: 3.672 MB / 370.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.0171, allocations: 55.84 kB / 370.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01711, allocations: 4 kB / 370.3 MB, free: 10.59 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.0001857/0.0173, allocations: 186.5 kB / 370.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.01735, allocations: 51.64 kB / 370.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.01741, allocations: 47.41 kB / 370.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01741, allocations: 4 kB / 370.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.01742, allocations: 0 / 370.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01742, allocations: 4.031 kB / 370.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.01767, allocations: 264.3 kB / 370.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01767, allocations: 3.984 kB / 370.9 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.0178, allocations: 27.98 kB / 370.9 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.01804, allocations: 83.3 kB / 371 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.01807, allocations: 7.938 kB / 371 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.01987, allocations: 3.681 MB / 374.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01987, allocations: 3.938 kB / 374.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.02041, allocations: 479.7 kB / 375.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.02046, allocations: 43.69 kB / 375.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.02048, allocations: 12.03 kB / 375.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.02063, allocations: 31.95 kB / 375.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.0207, allocations: 23.95 kB / 375.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.02071, allocations: 8 kB / 375.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.02091, allocations: 263.1 kB / 375.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02091, allocations: 0 / 375.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.02121, allocations: 75.89 kB / 375.6 MB, free: 5.008 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.0001193/0.02133, allocations: 107.2 kB / 375.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005517/0.02188, allocations: 0.4918 MB / 376.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02188, allocations: 0 / 376.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.02222, allocations: 459.1 kB / 376.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.02256, allocations: 66.98 kB / 376.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.02352, allocations: 0.6816 MB / 377.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.02361, allocations: 128.6 kB / 377.5 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.927e-05/0.02371, allocations: 50.92 kB / 377.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.02377, allocations: 24.5 kB / 377.6 MB, free: 2.875 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02377, allocations: 4 kB / 377.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of Templates: time 0.006792/0.03056, allocations: 4.582 MB / 382.2 MB, free: 14.33 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2496023890562356]