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.001581/0.001581, allocations: 77.88 kB / 21.46 MB, free: 3.043 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.001833/0.001833, allocations: 163.2 kB / 24.85 MB, free: 9.199 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.112/1.112, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.06924/0.06924, allocations: 18.13 MB / 280 MB, free: 11.18 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 1.603e-06/1.603e-06, allocations: 0 / 358.6 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.561e-05, allocations: 2.312 kB / 358.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.001832/0.001858, allocations: 1.103 MB / 359.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003382, allocations: 1.353 MB / 361 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.00349, allocations: 4 kB / 361 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.003876, allocations: 67.5 kB / 361.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.004064, allocations: 99.52 kB / 361.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.004412, allocations: 215.5 kB / 361.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.004677, allocations: 259.4 kB / 361.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004808, allocations: 44.53 kB / 361.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.004959, allocations: 119.6 kB / 361.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.005159, allocations: 167.6 kB / 362 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.0052, allocations: 24 kB / 362 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.00523, allocations: 24 kB / 362 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.005336, allocations: 115.6 kB / 362.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.0054, allocations: 71.75 kB / 362.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005609, allocations: 211.2 kB / 362.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005612, allocations: 0 / 362.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005613, allocations: 0 / 362.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005617, allocations: 0 / 362.4 MB, free: 3.66 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.0008343/0.006451, allocations: 0.6477 MB / 363.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.006487, allocations: 8.922 kB / 363.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.006553, allocations: 40.75 kB / 363.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.006922, allocations: 265.3 kB / 363.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.006943, allocations: 8.656 kB / 363.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.006972, allocations: 20.38 kB / 363.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.007136, allocations: 104.3 kB / 363.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.007148, allocations: 4.188 kB / 363.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.007162, allocations: 4.375 kB / 363.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.00717, allocations: 7.938 kB / 363.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.007297, allocations: 64.98 kB / 363.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.007945, allocations: 0.4918 MB / 364.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.008189, allocations: 138.9 kB / 364.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.008252, allocations: 51.66 kB / 364.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.008267, allocations: 4 kB / 364.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.008289, allocations: 33.39 kB / 364.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.008291, allocations: 7.938 kB / 364.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007867/0.009077, allocations: 355.9 kB / 364.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.009108, allocations: 51.41 kB / 364.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.009313, allocations: 326.2 kB / 365 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.009335, allocations: 29.7 kB / 365 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.009428, allocations: 203.2 kB / 365.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.009496, allocations: 91.19 kB / 365.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.00956, allocations: 59.33 kB / 365.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.009743, allocations: 0.5118 MB / 365.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.009797, allocations: 23.98 kB / 365.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.009844, allocations: 27.97 kB / 365.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01003, allocations: 131.2 kB / 366.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01004, allocations: 0 / 366.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003263/0.01036, allocations: 216.9 kB / 366.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01037, allocations: 11.94 kB / 366.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01038, allocations: 0 / 366.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.01056, allocations: 59.62 kB / 366.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.01066, allocations: 35.98 kB / 366.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.0117, allocations: 1.906 MB / 368.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.0118, allocations: 27.91 kB / 368.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01182, allocations: 8 kB / 368.3 MB, free: 13.41 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.0001419/0.01196, allocations: 190.4 kB / 368.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.012, allocations: 35.81 kB / 368.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.01205, allocations: 42.3 kB / 368.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01205, allocations: 7.984 kB / 368.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.01206, allocations: 192 / 368.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01206, allocations: 0 / 368.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01225, allocations: 201 kB / 368.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01226, allocations: 0 / 368.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01236, allocations: 35.86 kB / 368.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.01252, allocations: 51.64 kB / 368.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.01254, allocations: 11.98 kB / 368.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000979/0.01352, allocations: 1.91 MB / 370.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01352, allocations: 0 / 370.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.01393, allocations: 417.4 kB / 371.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.01396, allocations: 31.73 kB / 371.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01399, allocations: 8 kB / 371.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.0141, allocations: 20.02 kB / 371.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.01415, allocations: 19.91 kB / 371.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.01415, allocations: 4 kB / 371.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.01428, allocations: 222.9 kB / 371.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01428, allocations: 0 / 371.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.0145, allocations: 60 kB / 371.6 MB, free: 9.98 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.0001043/0.0146, allocations: 107.2 kB / 371.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.01494, allocations: 309.4 kB / 372 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01494, allocations: 0 / 372 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.01511, allocations: 253.4 kB / 372.2 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01538, allocations: 44.89 kB / 372.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.01616, allocations: 0.5844 MB / 372.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.01623, allocations: 108.3 kB / 373 MB, free: 8.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.741e-05/0.0163, allocations: 22.28 kB / 373 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.01641, allocations: 106.2 kB / 373.1 MB, free: 8.359 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01641, allocations: 0 / 373.1 MB, free: 8.359 MB / 298.7 MB Notification: Performance of Templates: time 0.005996/0.02241, allocations: 4.041 MB / 377.1 MB, free: 4.348 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.156451093032956]