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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.000889, allocations: 90.44 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006386/0.006387, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2311/0.2311, allocations: 22.34 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003586, allocations: 12 kB / 382.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 55.98 MB / 438.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001395/0.3204, allocations: 0.9962 MB / 439.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.3221, allocations: 1.393 MB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3222, allocations: 3 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.3226, allocations: 74.59 kB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3228, allocations: 121 kB / 441.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3231, allocations: 182.1 kB / 441.3 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.3236, allocations: 0.489 MB / 441.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3237, allocations: 72.27 kB / 441.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3239, allocations: 184.1 kB / 442.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.3242, allocations: 224.3 kB / 442.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.3243, allocations: 11.84 kB / 442.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.551e-05/0.3243, allocations: 11.56 kB / 442.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3244, allocations: 106.1 kB / 442.4 MB, free: 37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3245, allocations: 156.7 kB / 442.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3248, allocations: 305.9 kB / 442.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3248, allocations: 0 / 442.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3248, allocations: 0 / 442.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3248, allocations: 0 / 442.9 MB, free: 36.77 MB / 350.1 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.002079/0.3269, allocations: 0.83 MB / 443.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.327, allocations: 15.31 kB / 443.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.327, allocations: 37.84 kB / 443.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3281, allocations: 497.3 kB / 444.2 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3281, allocations: 12.2 kB / 444.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.3282, allocations: 22.91 kB / 444.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.3285, allocations: 217.4 kB / 444.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3286, allocations: 2.906 kB / 444.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3286, allocations: 4 kB / 444.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.3286, allocations: 3.031 kB / 444.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.329, allocations: 235.2 kB / 444.7 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3301, allocations: 0.762 MB / 445.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.3307, allocations: 324.7 kB / 445.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.3309, allocations: 141.8 kB / 445.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3309, allocations: 6.531 kB / 445.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.331, allocations: 34.56 kB / 446 MB, free: 35.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.166e-06/0.331, allocations: 0 / 446 MB, free: 35.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002182/0.3332, allocations: 0.7879 MB / 446.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3332, allocations: 58.19 kB / 446.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3343, allocations: 0.5141 MB / 447.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3343, allocations: 29.7 kB / 447.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3344, allocations: 175.3 kB / 447.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/0.3345, allocations: 96.83 kB / 447.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.3346, allocations: 34.02 kB / 447.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.3347, allocations: 351.8 kB / 448 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3349, allocations: 108.1 kB / 448.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.335, allocations: 112 kB / 448.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.3371, allocations: 0.7316 MB / 449 MB, free: 33.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3371, allocations: 0 / 449 MB, free: 33.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008081/0.3379, allocations: 477.2 kB / 449.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3379, allocations: 6.531 kB / 449.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.338, allocations: 0 / 449.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.3383, allocations: 105 kB / 449.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3385, allocations: 40.94 kB / 449.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.3405, allocations: 3.006 MB / 452.6 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.341, allocations: 83.12 kB / 452.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.341, allocations: 5.344 kB / 452.7 MB, free: 30.55 MB / 350.1 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.0002178/0.3412, allocations: 187.9 kB / 452.8 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.3413, allocations: 35.84 kB / 452.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.3414, allocations: 54.88 kB / 452.9 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3414, allocations: 2.969 kB / 452.9 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3414, allocations: 0 / 452.9 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3414, allocations: 3.328 kB / 452.9 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.3418, allocations: 390.5 kB / 453.3 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3418, allocations: 0 / 453.3 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.342, allocations: 37.58 kB / 453.4 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.3423, allocations: 110.6 kB / 453.5 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.3423, allocations: 9.641 kB / 453.5 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.3442, allocations: 2.997 MB / 456.5 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3442, allocations: 0 / 456.5 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.3452, allocations: 0.6645 MB / 457.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.3452, allocations: 122.1 kB / 457.3 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.3453, allocations: 7.906 kB / 457.3 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.3458, allocations: 72.7 kB / 457.3 MB, free: 26.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.3459, allocations: 26.53 kB / 457.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3459, allocations: 5.25 kB / 457.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009619/0.3469, allocations: 412.6 kB / 457.8 MB, free: 26.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3469, allocations: 0 / 457.8 MB, free: 26.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.3473, allocations: 78.94 kB / 457.8 MB, free: 26.61 MB / 350.1 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.0001302/0.3474, allocations: 116.1 kB / 458 MB, free: 26.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.3482, allocations: 0.5412 MB / 458.5 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3482, allocations: 3.938 kB / 458.5 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.3487, allocations: 396.2 kB / 458.9 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3492, allocations: 58.88 kB / 458.9 MB, free: 25.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3506, allocations: 0.8944 MB / 459.8 MB, free: 25.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3509, allocations: 0.8211 MB / 460.7 MB, free: 24.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.3511, allocations: 67.89 kB / 460.7 MB, free: 24.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.3512, allocations: 25.81 kB / 460.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3512, allocations: 1.125 kB / 460.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of Templates: time 0.009332/0.3606, allocations: 3.819 MB / 464.6 MB, free: 24.41 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1)