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.001709/0.001709, allocations: 111.2 kB / 16.46 MB, free: 6.508 MB / 14.72 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.001958/0.001958, allocations: 215.2 kB / 19.43 MB, free: 3.648 MB / 14.72 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.599/1.599, allocations: 230.5 MB / 252.8 MB, free: 9.172 MB / 206.1 MB " [Timeout remaining time 178] 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.1033/0.1033, allocations: 22.93 MB / 331.8 MB, free: 13.82 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.89 kB / 466.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3844, allocations: 59.24 MB / 0.5135 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.002394/0.3868, allocations: 1.144 MB / 0.5146 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3886, allocations: 1.353 MB / 0.5159 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3887, allocations: 2.625 kB / 0.5159 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.3891, allocations: 75.95 kB / 0.516 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3893, allocations: 79.88 kB / 0.516 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3896, allocations: 140.5 kB / 0.5162 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.3901, allocations: 389 kB / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3903, allocations: 38.27 kB / 0.5166 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.3905, allocations: 165.5 kB / 0.5167 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.3908, allocations: 214.3 kB / 0.517 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.3909, allocations: 22.03 kB / 0.517 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.3909, allocations: 22.72 kB / 0.517 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3911, allocations: 108 kB / 0.5171 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3912, allocations: 120.6 kB / 0.5172 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.3915, allocations: 272.3 kB / 0.5175 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3915, allocations: 0 / 0.5175 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3915, allocations: 0 / 0.5175 GB, free: 8.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3915, allocations: 1.562 kB / 0.5175 GB, free: 8.719 MB / 382.1 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.00184/0.3934, allocations: 0.761 MB / 0.5182 GB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3934, allocations: 13.84 kB / 0.5182 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.3935, allocations: 31.03 kB / 0.5183 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.3945, allocations: 424.2 kB / 0.5187 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3945, allocations: 10.12 kB / 0.5187 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3945, allocations: 14.09 kB / 0.5187 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.3949, allocations: 197.7 kB / 0.5189 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3949, allocations: 5.922 kB / 0.5189 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3949, allocations: 5.438 kB / 0.5189 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3949, allocations: 3.562 kB / 0.5189 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.3953, allocations: 200 kB / 0.5191 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3965, allocations: 0.6895 MB / 0.5198 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.3971, allocations: 266.5 kB / 0.52 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3973, allocations: 123.7 kB / 0.5201 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.3973, allocations: 3.469 kB / 0.5201 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3973, allocations: 36.34 kB / 0.5202 GB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.3973, allocations: 0 / 0.5202 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001905/0.3992, allocations: 0.6909 MB / 0.5208 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.3992, allocations: 54.98 kB / 0.5209 GB, free: 6.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.4002, allocations: 412.8 kB / 0.5213 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4002, allocations: 30.89 kB / 0.5213 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.4003, allocations: 153.9 kB / 0.5215 GB, free: 6.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.4003, allocations: 87.02 kB / 0.5215 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.4004, allocations: 47.53 kB / 0.5216 GB, free: 6.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.4005, allocations: 345.5 kB / 0.5219 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.4007, allocations: 107.1 kB / 0.522 GB, free: 6.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.401, allocations: 105 kB / 0.5221 GB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.4032, allocations: 0.7132 MB / 0.5228 GB, free: 5.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4032, allocations: 3.938 kB / 0.5228 GB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007996/0.404, allocations: 443.9 kB / 0.5232 GB, free: 5.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.404, allocations: 9.469 kB / 0.5233 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.404, allocations: 0 / 0.5233 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.4043, allocations: 91.41 kB / 0.5233 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.4045, allocations: 42.09 kB / 0.5234 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.4061, allocations: 1.846 MB / 0.5252 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.4065, allocations: 77.17 kB / 0.5253 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.4066, allocations: 4.594 kB / 0.5253 GB, free: 4 MB / 382.1 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.0001953/0.4068, allocations: 171 kB / 0.5254 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.4068, allocations: 31.44 kB / 0.5255 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.4069, allocations: 45.39 kB / 0.5255 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4069, allocations: 3.531 kB / 0.5255 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.4069, allocations: 1.406 kB / 0.5255 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4069, allocations: 3.938 kB / 0.5255 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.4073, allocations: 364.8 kB / 0.5259 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4073, allocations: 0 / 0.5259 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.4075, allocations: 32.62 kB / 0.5259 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.4078, allocations: 91.19 kB / 0.526 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.4078, allocations: 13.34 kB / 0.526 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.4093, allocations: 1.854 MB / 0.5278 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4093, allocations: 0 / 0.5278 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.4104, allocations: 0.6125 MB / 0.5284 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.4104, allocations: 115.8 kB / 0.5285 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.4105, allocations: 12.52 kB / 0.5285 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.4109, allocations: 56.17 kB / 0.5286 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.411, allocations: 23.59 kB / 0.5286 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.411, allocations: 8.156 kB / 0.5286 GB, free: 1.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008845/0.4119, allocations: 327.4 kB / 0.5289 GB, free: 1.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4119, allocations: 0.6875 kB / 0.5289 GB, free: 1.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.4123, allocations: 60.97 kB / 0.529 GB, free: 1.34 MB / 382.1 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.0001131/0.4124, allocations: 102.6 kB / 0.5291 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.4132, allocations: 405.3 kB / 0.5295 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4132, allocations: 4.438 kB / 0.5295 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.4137, allocations: 265.9 kB / 0.5297 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.4141, allocations: 49.03 kB / 0.5298 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.4155, allocations: 0.6904 MB / 0.5304 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.416, allocations: 0.7941 MB / 0.5312 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.4162, allocations: 65.28 kB / 0.5313 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.4162, allocations: 20.12 kB / 0.5313 GB, free: 15.77 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4162, allocations: 0 / 0.5313 GB, free: 15.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01073/0.427, allocations: 3.586 MB / 0.5348 GB, free: 15.18 MB / 398.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.235704032704234] Failed to read output from testmodel.py, exit status != 0: 0.4363950043916702 0.45196586400000005 0.057154959000000005 Calling exit ...