Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.0009522/0.0009522, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001957/0.001957, allocations: 177 kB / 24.08 MB, free: 432 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.06423/0.06423, allocations: 18.15 MB / 279.2 MB, free: 11.17 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_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 357.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.041e-05, allocations: 9.266 kB / 357.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001503/0.001524, allocations: 1.049 MB / 358.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.002799, allocations: 1.303 MB / 360.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.002877, allocations: 0 / 360.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.003104, allocations: 55.56 kB / 360.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.00328, allocations: 63.67 kB / 360.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.003654, allocations: 171.6 kB / 360.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.003867, allocations: 207.5 kB / 360.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.00396, allocations: 33.78 kB / 360.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.719e-05/0.004057, allocations: 87.78 kB / 360.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.004202, allocations: 147.5 kB / 360.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.004232, allocations: 20 kB / 360.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.004254, allocations: 16 kB / 360.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.004356, allocations: 87.72 kB / 361 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.00443, allocations: 59.83 kB / 361.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.00461, allocations: 167.4 kB / 361.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.004612, allocations: 0 / 361.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004613, allocations: 3.938 kB / 361.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.004617, allocations: 4 kB / 361.2 MB, free: 5.117 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006059/0.005223, allocations: 0.593 MB / 361.8 MB, free: 4.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.005254, allocations: 8.922 kB / 361.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.005304, allocations: 40.75 kB / 361.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.005555, allocations: 240.2 kB / 362.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.005571, allocations: 12.38 kB / 362.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.005601, allocations: 16.33 kB / 362.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.005756, allocations: 91.17 kB / 362.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005764, allocations: 192 / 362.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.005777, allocations: 8.375 kB / 362.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.005782, allocations: 3.938 kB / 362.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.005867, allocations: 59.94 kB / 362.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.006373, allocations: 459.9 kB / 362.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.006541, allocations: 106.9 kB / 362.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.006595, allocations: 46.23 kB / 362.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.006606, allocations: 4 kB / 362.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.006628, allocations: 41.38 kB / 362.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.006629, allocations: 0 / 362.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.000688/0.007317, allocations: 329.1 kB / 363.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.00734, allocations: 51.41 kB / 363.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.007503, allocations: 292.2 kB / 363.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.00752, allocations: 33.7 kB / 363.6 MB, free: 2.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.007599, allocations: 179.3 kB / 363.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.007664, allocations: 87.25 kB / 363.9 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.007717, allocations: 47.34 kB / 363.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.007842, allocations: 0.5157 MB / 364.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.007875, allocations: 19.92 kB / 364.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.007908, allocations: 19.98 kB / 364.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.008051, allocations: 110.5 kB / 364.6 MB, free: 1.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.008052, allocations: 4 kB / 364.6 MB, free: 1.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002607/0.008313, allocations: 197.1 kB / 364.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.008324, allocations: 8 kB / 364.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.008327, allocations: 0 / 364.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.008492, allocations: 59.62 kB / 364.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.00858, allocations: 35.92 kB / 364.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.009643, allocations: 1.907 MB / 366.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.009725, allocations: 23.92 kB / 366.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.009734, allocations: 8 kB / 366.8 MB, free: 15.19 MB / 346.7 MB Warning: Assuming fixed start value for the following 6 variables: 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 (21): * Single equations (assignments): 20 * 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.0001216/0.009855, allocations: 173.9 kB / 367 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.009892, allocations: 31.8 kB / 367 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.009923, allocations: 42.11 kB / 367.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009925, allocations: 3.938 kB / 367.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.009929, allocations: 0 / 367.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.009931, allocations: 4 kB / 367.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.01009, allocations: 181 kB / 367.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01009, allocations: 192 / 367.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/0.01018, allocations: 27.98 kB / 367.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.01031, allocations: 55.62 kB / 367.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01032, allocations: 8 kB / 367.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009146/0.01123, allocations: 1.907 MB / 369.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01124, allocations: 3.984 kB / 369.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.01159, allocations: 375.2 kB / 369.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.01162, allocations: 28.03 kB / 369.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01164, allocations: 8 kB / 369.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.01173, allocations: 12 kB / 369.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.01177, allocations: 19.95 kB / 369.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01178, allocations: 11.88 kB / 369.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.01188, allocations: 205.1 kB / 369.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01188, allocations: 0 / 369.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01208, allocations: 55.95 kB / 370 MB, free: 11.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * 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 8.846e-05/0.01217, allocations: 95.25 kB / 370 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01247, allocations: 297.2 kB / 370.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.31e-07/0.01247, allocations: 4 kB / 370.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.01266, allocations: 247.6 kB / 370.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.0129, allocations: 42.5 kB / 370.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.01342, allocations: 494 kB / 371.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.01349, allocations: 100.3 kB / 371.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.01353, allocations: 21.94 kB / 371.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.01362, allocations: 90.2 kB / 371.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01362, allocations: 0 / 371.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of Templates: time 0.004752/0.01837, allocations: 3.452 MB / 374.8 MB, free: 6.996 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.898553562350571]