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.001043/0.001043, allocations: 77.88 kB / 21.46 MB, free: 3.039 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.004469/0.004469, allocations: 165.6 kB / 24.85 MB, free: 8.887 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 0.972/0.972, allocations: 177.2 MB / 205.3 MB, free: 5.477 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.1008/0.1008, allocations: 18.14 MB / 280 MB, free: 11.14 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.222e-06/1.222e-06, allocations: 0 / 358.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.729e-05, allocations: 2.312 kB / 358.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001879/0.001906, allocations: 1.24 MB / 359.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.003487, allocations: 1.455 MB / 361.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.003601, allocations: 0 / 361.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.003926, allocations: 99.33 kB / 361.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.004133, allocations: 127.3 kB / 361.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.00457, allocations: 331.2 kB / 361.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.005132, allocations: 363.1 kB / 362.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.005268, allocations: 48.83 kB / 362.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.005435, allocations: 167.6 kB / 362.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.005671, allocations: 215.4 kB / 362.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.005716, allocations: 28 kB / 362.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.307e-05/0.005749, allocations: 28 kB / 362.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.005852, allocations: 131.5 kB / 362.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.005919, allocations: 87.67 kB / 362.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.006132, allocations: 243 kB / 363.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006135, allocations: 0 / 363.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006136, allocations: 0 / 363.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006141, allocations: 0 / 363.1 MB, free: 2.949 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.0008348/0.006976, allocations: 0.7448 MB / 363.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.007011, allocations: 8.922 kB / 363.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.007086, allocations: 52.7 kB / 363.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.007473, allocations: 315.4 kB / 364.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.007495, allocations: 16.7 kB / 364.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.007523, allocations: 20.38 kB / 364.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.007687, allocations: 112.8 kB / 364.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007699, allocations: 4.125 kB / 364.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.007713, allocations: 8.375 kB / 364.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007721, allocations: 7.938 kB / 364.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.007847, allocations: 76.5 kB / 364.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.008475, allocations: 0.5271 MB / 365 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.008772, allocations: 185.9 kB / 365.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.008838, allocations: 55.59 kB / 365.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.008852, allocations: 4 kB / 365.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.008875, allocations: 41.39 kB / 365.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.008876, allocations: 0 / 365.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007838/0.00966, allocations: 376.7 kB / 365.6 MB, free: 292 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.009687, allocations: 59.39 kB / 365.7 MB, free: 220 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.009938, allocations: 374.6 kB / 366 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.009962, allocations: 29.7 kB / 366.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.01016, allocations: 235.3 kB / 366.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.01024, allocations: 103.1 kB / 366.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.0103, allocations: 51.34 kB / 366.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.01047, allocations: 0.5273 MB / 367 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.01052, allocations: 32.19 kB / 367 MB, free: 14.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.01057, allocations: 32.42 kB / 367 MB, free: 14.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.01076, allocations: 142.2 kB / 367.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01077, allocations: 4 kB / 367.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003561/0.01112, allocations: 253.6 kB / 367.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01114, allocations: 4 kB / 367.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01114, allocations: 0 / 367.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.01137, allocations: 75.28 kB / 367.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01147, allocations: 43.92 kB / 367.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.01358, allocations: 3.615 MB / 371.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.01371, allocations: 31.81 kB / 371.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.01372, allocations: 4 kB / 371.2 MB, free: 10.38 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.0001725/0.01389, allocations: 186.5 kB / 371.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.01395, allocations: 43.77 kB / 371.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.01401, allocations: 51.39 kB / 371.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01401, allocations: 4 kB / 371.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.01402, allocations: 7.938 kB / 371.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01402, allocations: 0 / 371.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.01426, allocations: 213 kB / 371.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.01426, allocations: 0 / 371.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.01439, allocations: 31.98 kB / 371.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.01458, allocations: 79.22 kB / 371.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01459, allocations: 8 kB / 371.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.01617, allocations: 3.608 MB / 375.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01617, allocations: 0 / 375.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.01666, allocations: 455.7 kB / 375.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.01671, allocations: 39.7 kB / 375.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.01673, allocations: 15.92 kB / 375.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.01686, allocations: 12 kB / 375.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.01692, allocations: 23.95 kB / 376 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01693, allocations: 4 kB / 376 MB, free: 5.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.01709, allocations: 251 kB / 376.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01709, allocations: 3.938 kB / 376.2 MB, free: 5.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01738, allocations: 75.95 kB / 376.3 MB, free: 5 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.0004119/0.01779, allocations: 110 kB / 376.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.01825, allocations: 487.4 kB / 376.9 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01825, allocations: 4 kB / 376.9 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.01851, allocations: 443.2 kB / 377.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01881, allocations: 61.41 kB / 377.4 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.01966, allocations: 0.6778 MB / 378 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.518e-05/0.01974, allocations: 124.5 kB / 378.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.01981, allocations: 30.97 kB / 378.2 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.01994, allocations: 110.2 kB / 378.3 MB, free: 2.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01994, allocations: 0 / 378.3 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Templates: time 0.007186/0.02713, allocations: 4.911 MB / 383.2 MB, free: 13.98 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.1224358868785203]