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.0009979/0.0009979, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001137/0.001137, allocations: 177 kB / 24.28 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 0.9767/0.9767, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.06467/0.06467, allocations: 18.13 MB / 279.2 MB, free: 11.4 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.643e-06/1.643e-06, allocations: 0 / 357.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.148e-05, allocations: 5.406 kB / 357.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001944/0.001976, allocations: 1.049 MB / 358.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003463, allocations: 1.303 MB / 359.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.003571, allocations: 4 kB / 359.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.0039, allocations: 51.62 kB / 359.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.004051, allocations: 63.67 kB / 359.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.004339, allocations: 179.5 kB / 359.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.004562, allocations: 207.5 kB / 360.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.004674, allocations: 29.64 kB / 360.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.004787, allocations: 99.69 kB / 360.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.004959, allocations: 135.6 kB / 360.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.004996, allocations: 20 kB / 360.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.465e-05/0.005021, allocations: 20 kB / 360.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.005113, allocations: 91.7 kB / 360.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.005175, allocations: 63.81 kB / 360.6 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.005685, allocations: 163.4 kB / 360.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.00569, allocations: 3.938 kB / 360.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.005692, allocations: 4 kB / 360.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.0057, allocations: 0 / 360.7 MB, free: 4.688 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008435/0.006543, allocations: 0.632 MB / 361.4 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.006584, allocations: 12.92 kB / 361.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.006653, allocations: 36.75 kB / 361.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.00703, allocations: 264.2 kB / 361.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.007053, allocations: 8.375 kB / 361.7 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.007084, allocations: 12.38 kB / 361.7 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.00728, allocations: 106.7 kB / 361.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.007293, allocations: 4.141 kB / 361.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.007309, allocations: 8.375 kB / 361.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.007319, allocations: 3.938 kB / 361.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.00745, allocations: 64.94 kB / 361.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.008102, allocations: 0.5071 MB / 362.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.00832, allocations: 123 kB / 362.5 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.008407, allocations: 47.67 kB / 362.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.008423, allocations: 4 kB / 362.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.008447, allocations: 33.39 kB / 362.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.008448, allocations: 4 kB / 362.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009412/0.00939, allocations: 387.5 kB / 363 MB, free: 2.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.009419, allocations: 59.39 kB / 363 MB, free: 2.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.009626, allocations: 292.3 kB / 363.3 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009645, allocations: 25.7 kB / 363.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.009754, allocations: 191.3 kB / 363.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.009815, allocations: 79.28 kB / 363.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.009872, allocations: 47.36 kB / 363.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01001, allocations: 0.5117 MB / 364.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.01007, allocations: 27.98 kB / 364.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.01013, allocations: 31.91 kB / 364.2 MB, free: 1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.01034, allocations: 132 kB / 364.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01034, allocations: 0 / 364.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000389/0.01073, allocations: 228.9 kB / 364.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01075, allocations: 4 kB / 364.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01075, allocations: 0 / 364.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.011, allocations: 67.61 kB / 364.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01111, allocations: 35.92 kB / 364.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01245, allocations: 1.96 MB / 366.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01257, allocations: 39.89 kB / 366.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01258, allocations: 7.938 kB / 366.7 MB, free: 14.39 MB / 298.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.0001903/0.01277, allocations: 173.9 kB / 366.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.01282, allocations: 39.78 kB / 366.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.01287, allocations: 30.12 kB / 366.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01287, allocations: 4 kB / 366.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.01288, allocations: 0 / 366.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01289, allocations: 7.922 kB / 366.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.01311, allocations: 208.5 kB / 367.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01311, allocations: 0 / 367.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.01322, allocations: 23.98 kB / 367.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/0.01341, allocations: 75.8 kB / 367.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.01343, allocations: 7.922 kB / 367.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.01482, allocations: 1.952 MB / 369.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01483, allocations: 4.031 kB / 369.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.01529, allocations: 414.4 kB / 369.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.01532, allocations: 31.78 kB / 369.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01535, allocations: 7.938 kB / 369.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01546, allocations: 23.97 kB / 369.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.01554, allocations: 24.16 kB / 369.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.01555, allocations: 8 kB / 369.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.01573, allocations: 205.1 kB / 369.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01573, allocations: 0 / 369.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.01603, allocations: 59.95 kB / 369.9 MB, free: 10.92 MB / 298.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 0.0001601/0.01619, allocations: 103.2 kB / 370 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.01664, allocations: 317.2 kB / 370.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.01664, allocations: 0 / 370.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.01683, allocations: 261.3 kB / 370.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.0171, allocations: 39.61 kB / 370.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.01776, allocations: 493.2 kB / 371.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.01782, allocations: 100.5 kB / 371.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.0179, allocations: 41.91 kB / 371.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.01795, allocations: 20.5 kB / 371.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01795, allocations: 3.938 kB / 371.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of Templates: time 0.005191/0.02314, allocations: 3.306 MB / 374.6 MB, free: 6.195 MB / 298.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: 3.023379772901535]