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.001071/0.001071, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.001161/0.001161, allocations: 169 kB / 23.82 MB, free: 0.75 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.9827/0.9827, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.07585/0.07585, allocations: 18.13 MB / 278.9 MB, free: 11.33 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.303e-06/1.303e-06, allocations: 0 / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.765e-05, allocations: 5.125 kB / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.00189/0.001918, allocations: 1.256 MB / 358.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003462, allocations: 1.463 MB / 360 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.003567, allocations: 4 kB / 360 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.003923, allocations: 95.38 kB / 360.1 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.004134, allocations: 135.3 kB / 360.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.00462, allocations: 319.2 kB / 360.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.004981, allocations: 363.1 kB / 360.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005104, allocations: 48.89 kB / 361 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.005301, allocations: 175.4 kB / 361.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.005529, allocations: 211.4 kB / 361.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.005578, allocations: 28 kB / 361.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.005614, allocations: 31.94 kB / 361.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.005736, allocations: 127.6 kB / 361.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.005812, allocations: 87.67 kB / 361.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.006034, allocations: 247 kB / 361.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006036, allocations: 0 / 361.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006037, allocations: 0 / 361.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006043, allocations: 0 / 361.9 MB, free: 3.223 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.000986/0.007029, allocations: 0.7916 MB / 362.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.007063, allocations: 8.922 kB / 362.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.007143, allocations: 52.7 kB / 362.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.007588, allocations: 355.4 kB / 363.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.00761, allocations: 12.7 kB / 363.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.007642, allocations: 20.38 kB / 363.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.007864, allocations: 128.8 kB / 363.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.007881, allocations: 192 / 363.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.007897, allocations: 4.375 kB / 363.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.007908, allocations: 7.938 kB / 363.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.008087, allocations: 100.4 kB / 363.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.008836, allocations: 0.6007 MB / 363.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.009207, allocations: 207 kB / 364.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.0093, allocations: 56.31 kB / 364.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.009316, allocations: 4 kB / 364.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.009339, allocations: 49.33 kB / 364.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.183e-06/0.009341, allocations: 0 / 364.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008959/0.01024, allocations: 428.7 kB / 364.7 MB, free: 288 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.01026, allocations: 51.41 kB / 364.7 MB, free: 224 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.01054, allocations: 390.8 kB / 365.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.01056, allocations: 29.7 kB / 365.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.01066, allocations: 223.3 kB / 365.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.01073, allocations: 107.1 kB / 365.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.01079, allocations: 55.36 kB / 365.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.01092, allocations: 0.5274 MB / 366 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.01099, allocations: 32.27 kB / 366 MB, free: 14.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.01105, allocations: 40.47 kB / 366.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.0113, allocations: 162.2 kB / 366.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0113, allocations: 4 kB / 366.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003995/0.0117, allocations: 285.6 kB / 366.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01172, allocations: 7.984 kB / 366.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01172, allocations: 3.938 kB / 366.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.01198, allocations: 87.28 kB / 366.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01209, allocations: 39.92 kB / 366.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.01394, allocations: 3.673 MB / 370.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.01408, allocations: 47.78 kB / 370.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.01409, allocations: 8 kB / 370.4 MB, free: 10.2 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.0001624/0.01425, allocations: 182.6 kB / 370.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.0143, allocations: 47.7 kB / 370.6 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.01435, allocations: 51.34 kB / 370.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01435, allocations: 4 kB / 370.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01435, allocations: 0 / 370.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01436, allocations: 0 / 370.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.01459, allocations: 268.4 kB / 370.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01459, allocations: 4 kB / 370.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.01471, allocations: 27.98 kB / 371 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.01491, allocations: 83.28 kB / 371 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.01493, allocations: 11.92 kB / 371.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.01656, allocations: 3.673 MB / 374.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01656, allocations: 3.938 kB / 374.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.01707, allocations: 487.8 kB / 375.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.01711, allocations: 43.69 kB / 375.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.01714, allocations: 11.98 kB / 375.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.01727, allocations: 31.97 kB / 375.3 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.01733, allocations: 15.95 kB / 375.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.01735, allocations: 16 kB / 375.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.01761, allocations: 267.1 kB / 375.6 MB, free: 4.684 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01761, allocations: 0 / 375.6 MB, free: 4.684 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.01787, allocations: 75.89 kB / 375.7 MB, free: 4.609 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.0001081/0.01798, allocations: 107.2 kB / 375.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.01851, allocations: 0.4957 MB / 376.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01851, allocations: 0 / 376.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.01879, allocations: 451.1 kB / 376.7 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.01909, allocations: 71.09 kB / 376.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.02005, allocations: 0.6777 MB / 377.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.941e-05/0.02015, allocations: 124.6 kB / 377.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.499e-05/0.02024, allocations: 54.92 kB / 377.6 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.0203, allocations: 24.5 kB / 377.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0203, allocations: 0 / 377.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of Templates: time 0.006889/0.02719, allocations: 4.709 MB / 382.4 MB, free: 13.82 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: 2.9773757718503475]