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.001407/0.001407, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.006903/0.006903, allocations: 165.3 kB / 23.82 MB, free: 0.7578 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.07578/0.07578, allocations: 18.14 MB / 278.9 MB, free: 11.3 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.683e-06/1.683e-06, allocations: 0 / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.853e-05, allocations: 5.125 kB / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001991/0.00202, allocations: 1.259 MB / 358.6 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003703, allocations: 1.459 MB / 360 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.003818, allocations: 8 kB / 360 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.004189, allocations: 95.38 kB / 360.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.004431, allocations: 127.3 kB / 360.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.004951, allocations: 319.2 kB / 360.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.005317, allocations: 367.1 kB / 360.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.005461, allocations: 52.89 kB / 361 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.005666, allocations: 167.4 kB / 361.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.005929, allocations: 215.4 kB / 361.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.005983, allocations: 24 kB / 361.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.663e-05/0.006019, allocations: 28 kB / 361.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.006143, allocations: 135.5 kB / 361.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.006238, allocations: 83.73 kB / 361.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.00652, allocations: 247 kB / 361.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.006523, allocations: 4 kB / 361.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006525, allocations: 0 / 361.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.00653, allocations: 3.938 kB / 361.9 MB, free: 3.25 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.001047/0.007577, allocations: 0.7916 MB / 362.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.00762, allocations: 12.92 kB / 362.7 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.007703, allocations: 48.7 kB / 362.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.008203, allocations: 351.4 kB / 363 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.008234, allocations: 8.703 kB / 363.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.008275, allocations: 20.38 kB / 363.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.008508, allocations: 128.8 kB / 363.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.008519, allocations: 192 / 363.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.008537, allocations: 8.375 kB / 363.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.008548, allocations: 7.938 kB / 363.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.008735, allocations: 96.45 kB / 363.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.009533, allocations: 0.6085 MB / 363.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.009935, allocations: 202.7 kB / 364.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.01003, allocations: 59.66 kB / 364.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.01005, allocations: 8 kB / 364.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.01007, allocations: 37.33 kB / 364.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.01008, allocations: 0 / 364.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009656/0.01104, allocations: 432.7 kB / 364.6 MB, free: 324 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.01107, allocations: 55.41 kB / 364.7 MB, free: 256 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.01142, allocations: 382.8 kB / 365.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.01144, allocations: 29.7 kB / 365.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01155, allocations: 231.3 kB / 365.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.01163, allocations: 107.1 kB / 365.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.01169, allocations: 51.36 kB / 365.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01184, allocations: 0.5274 MB / 366 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.01192, allocations: 36.27 kB / 366 MB, free: 14.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.01199, allocations: 40.47 kB / 366.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.01227, allocations: 166.2 kB / 366.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01227, allocations: 0 / 366.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004418/0.01271, allocations: 281.6 kB / 366.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.01273, allocations: 4 kB / 366.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01274, allocations: 0 / 366.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.01304, allocations: 83.28 kB / 366.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01316, allocations: 47.91 kB / 366.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.0152, allocations: 3.676 MB / 370.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01535, allocations: 47.73 kB / 370.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01536, allocations: 8 kB / 370.4 MB, free: 10.24 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.0001787/0.01554, allocations: 186.6 kB / 370.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.0156, allocations: 51.64 kB / 370.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.01565, allocations: 47.41 kB / 370.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01565, allocations: 8.031 kB / 370.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.01566, allocations: 4 kB / 370.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01567, allocations: 7.984 kB / 370.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.01592, allocations: 256.4 kB / 370.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01592, allocations: 0 / 370.9 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.01605, allocations: 27.98 kB / 371 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.01627, allocations: 83.28 kB / 371 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.01629, allocations: 11.94 kB / 371.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.01822, allocations: 3.681 MB / 374.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01823, allocations: 8 kB / 374.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.01879, allocations: 483.6 kB / 375.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.01884, allocations: 39.7 kB / 375.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01887, allocations: 11.98 kB / 375.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.01901, allocations: 27.97 kB / 375.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.01913, allocations: 27.95 kB / 375.3 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01914, allocations: 8 kB / 375.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.01936, allocations: 259.1 kB / 375.6 MB, free: 4.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01936, allocations: 0 / 375.6 MB, free: 4.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.01966, allocations: 79.89 kB / 375.7 MB, free: 4.641 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.0001484/0.01981, allocations: 107.2 kB / 375.8 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007918/0.0206, allocations: 499.5 kB / 376.3 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.02061, allocations: 4 kB / 376.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.02112, allocations: 455.1 kB / 376.7 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.02165, allocations: 56.56 kB / 376.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.02304, allocations: 0.6816 MB / 377.4 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.02317, allocations: 124.6 kB / 377.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.02332, allocations: 58.92 kB / 377.6 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.02342, allocations: 28.48 kB / 377.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02342, allocations: 0 / 377.6 MB, free: 2.512 MB / 298.7 MB Notification: Performance of Templates: time 0.01033/0.03375, allocations: 4.589 MB / 382.2 MB, free: 13.96 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.4378031250089407]