Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_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.001389/0.001389, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001585/0.001585, allocations: 177 kB / 24.27 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 1.069/1.069, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.07793/0.07793, allocations: 18.13 MB / 279.2 MB, free: 11.37 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.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.792e-05, allocations: 2.312 kB / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.001864/0.001902, allocations: 1.111 MB / 358.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.003513, allocations: 1.353 MB / 359.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.003644, allocations: 4 kB / 359.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.004093, allocations: 67.48 kB / 359.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.004275, allocations: 95.53 kB / 359.9 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.004646, allocations: 215.5 kB / 360.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.004902, allocations: 259.3 kB / 360.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.005026, allocations: 44.55 kB / 360.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.005147, allocations: 123.6 kB / 360.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.005337, allocations: 167.6 kB / 360.7 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.005379, allocations: 24 kB / 360.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.583e-05/0.005405, allocations: 20 kB / 360.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.005506, allocations: 119.6 kB / 360.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.005577, allocations: 71.75 kB / 360.9 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005801, allocations: 203.2 kB / 361.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005804, allocations: 0 / 361.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.005805, allocations: 0 / 361.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005811, allocations: 4 kB / 361.1 MB, free: 4.316 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009431/0.006754, allocations: 0.6984 MB / 361.8 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.006796, allocations: 8.922 kB / 361.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/0.006879, allocations: 44.75 kB / 361.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.007302, allocations: 293.2 kB / 362.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.007325, allocations: 8.656 kB / 362.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.007359, allocations: 16.38 kB / 362.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.007565, allocations: 124.3 kB / 362.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.007576, allocations: 192 / 362.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.007594, allocations: 4.375 kB / 362.3 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.007611, allocations: 7.938 kB / 362.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.007773, allocations: 80.7 kB / 362.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.0085, allocations: 0.5656 MB / 362.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.008815, allocations: 151 kB / 363.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.008903, allocations: 47.67 kB / 363.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.00892, allocations: 4 kB / 363.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.008948, allocations: 49.31 kB / 363.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.542e-06/0.00895, allocations: 0 / 363.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009784/0.009928, allocations: 407 kB / 363.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.009959, allocations: 51.41 kB / 363.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.0102, allocations: 334.3 kB / 364 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01021, allocations: 33.7 kB / 364 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.0103, allocations: 199.2 kB / 364.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.01037, allocations: 91.22 kB / 364.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.01043, allocations: 51.36 kB / 364.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01057, allocations: 0.5196 MB / 364.8 MB, free: 372 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.01064, allocations: 31.98 kB / 364.9 MB, free: 340 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.0107, allocations: 28.8 kB / 364.9 MB, free: 312 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.01094, allocations: 155.2 kB / 365.1 MB, free: 152 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01094, allocations: 4 kB / 365.1 MB, free: 148 kB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003934/0.01134, allocations: 256.9 kB / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01135, allocations: 7.281 kB / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01136, allocations: 4 kB / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.0116, allocations: 63.61 kB / 365.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.01171, allocations: 39.98 kB / 365.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.01292, allocations: 1.956 MB / 367.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.01304, allocations: 43.88 kB / 367.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01306, allocations: 4 kB / 367.4 MB, free: 13.65 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 variables: Cff.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.01321, allocations: 194.4 kB / 367.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.01326, allocations: 35.75 kB / 367.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.01331, allocations: 46.34 kB / 367.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01331, allocations: 0 / 367.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01332, allocations: 4 kB / 367.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01332, allocations: 3.984 kB / 367.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.01353, allocations: 228.4 kB / 367.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01353, allocations: 0 / 367.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.01365, allocations: 39.91 kB / 368 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.01382, allocations: 71.75 kB / 368 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01384, allocations: 7.984 kB / 368 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.01486, allocations: 1.956 MB / 370 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01486, allocations: 4.031 kB / 370 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.01533, allocations: 445.4 kB / 370.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.01537, allocations: 43.67 kB / 370.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01539, allocations: 8 kB / 370.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.01552, allocations: 27.97 kB / 370.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.01558, allocations: 23.95 kB / 370.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.01559, allocations: 8 kB / 370.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.01573, allocations: 223 kB / 370.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01573, allocations: 0 / 370.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.01595, allocations: 64 kB / 370.8 MB, free: 10.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2],Cff.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.01606, allocations: 107.2 kB / 370.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.01648, allocations: 325.4 kB / 371.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01648, allocations: 4 kB / 371.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.01667, allocations: 257.4 kB / 371.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.01695, allocations: 49.14 kB / 371.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/0.01776, allocations: 0.5844 MB / 372.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.035e-05/0.01783, allocations: 112.3 kB / 372.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.667e-05/0.01791, allocations: 50.23 kB / 372.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.01797, allocations: 24.48 kB / 372.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01797, allocations: 0 / 372.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of Templates: time 0.005541/0.02351, allocations: 3.779 MB / 376.1 MB, free: 4.699 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1130072611849755]