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.0009509/0.0009509, allocations: 77.09 kB / 20.67 MB, free: 3.82 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.001029/0.001029, allocations: 177 kB / 24.08 MB, free: 424 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.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.06367/0.06367, allocations: 18.13 MB / 279.2 MB, free: 11.16 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.483e-06/1.483e-06, allocations: 0 / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.709e-05, allocations: 5.266 kB / 357.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.00167/0.001697, allocations: 1.104 MB / 358.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003066, allocations: 1.346 MB / 360.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.003149, allocations: 11.88 kB / 360.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.003452, allocations: 71.55 kB / 360.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.003605, allocations: 95.52 kB / 360.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.003898, allocations: 215.4 kB / 360.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.004109, allocations: 263.4 kB / 360.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004214, allocations: 40.53 kB / 360.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004326, allocations: 115.7 kB / 361 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.004493, allocations: 175.6 kB / 361.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.004528, allocations: 20 kB / 361.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.854e-05/0.004556, allocations: 24 kB / 361.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.004652, allocations: 119.6 kB / 361.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.004715, allocations: 67.75 kB / 361.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.004907, allocations: 207.2 kB / 361.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004908, allocations: 0 / 361.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004909, allocations: 0 / 361.6 MB, free: 3.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.004912, allocations: 0 / 361.6 MB, free: 3.641 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.0007247/0.005637, allocations: 0.6515 MB / 362.3 MB, free: 2.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.005674, allocations: 8.922 kB / 362.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.005732, allocations: 40.75 kB / 362.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.006092, allocations: 273.3 kB / 362.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.006108, allocations: 8.656 kB / 362.6 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.006135, allocations: 16.38 kB / 362.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.006282, allocations: 104.4 kB / 362.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006293, allocations: 192 / 362.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.006305, allocations: 4.375 kB / 362.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.006314, allocations: 7.938 kB / 362.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.006421, allocations: 64.98 kB / 362.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.006979, allocations: 0.4918 MB / 363.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.007208, allocations: 138.9 kB / 363.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.007271, allocations: 47.66 kB / 363.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.007286, allocations: 7.938 kB / 363.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.007309, allocations: 45.39 kB / 363.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.00731, allocations: 0 / 363.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007603/0.00807, allocations: 355.1 kB / 363.9 MB, free: 1.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.008092, allocations: 51.41 kB / 363.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.008277, allocations: 322.2 kB / 364.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.008293, allocations: 25.7 kB / 364.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.008379, allocations: 211.2 kB / 364.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.00844, allocations: 95.19 kB / 364.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.008495, allocations: 51.34 kB / 364.6 MB, free: 484 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.008636, allocations: 0.5157 MB / 365.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.008684, allocations: 27.98 kB / 365.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.008726, allocations: 32.72 kB / 365.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.008895, allocations: 123.3 kB / 365.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008897, allocations: 0 / 365.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003019/0.009199, allocations: 224.9 kB / 365.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.009211, allocations: 4 kB / 365.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009217, allocations: 3.984 kB / 365.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.009394, allocations: 55.64 kB / 365.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.009483, allocations: 39.92 kB / 365.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009637/0.01045, allocations: 1.914 MB / 367.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.01054, allocations: 19.89 kB / 367.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01055, allocations: 8 kB / 367.6 MB, free: 13.37 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.0001331/0.01068, allocations: 186.5 kB / 367.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.01073, allocations: 35.81 kB / 367.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.01077, allocations: 54.22 kB / 367.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01077, allocations: 7.984 kB / 367.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01078, allocations: 192 / 367.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01078, allocations: 4 kB / 367.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.01096, allocations: 193 kB / 368 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01096, allocations: 0 / 368 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/0.01106, allocations: 27.98 kB / 368.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.01119, allocations: 59.61 kB / 368.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.0112, allocations: 4 kB / 368.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008709/0.01207, allocations: 1.907 MB / 370 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01207, allocations: 4 kB / 370 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.01245, allocations: 413.3 kB / 370.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.01248, allocations: 35.73 kB / 370.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.0125, allocations: 15.92 kB / 370.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.0126, allocations: 16.03 kB / 370.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.01264, allocations: 15.91 kB / 370.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.01265, allocations: 11.98 kB / 370.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.01276, allocations: 218.9 kB / 370.7 MB, free: 10 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01276, allocations: 0 / 370.7 MB, free: 10 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01295, allocations: 60 kB / 370.8 MB, free: 9.945 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 8.179e-05/0.01303, allocations: 99.25 kB / 370.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.01333, allocations: 313.4 kB / 371.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01333, allocations: 0 / 371.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.01349, allocations: 253.4 kB / 371.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01373, allocations: 43.88 kB / 371.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.01441, allocations: 0.5844 MB / 372.1 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.01447, allocations: 112.3 kB / 372.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.01453, allocations: 22.28 kB / 372.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01463, allocations: 102.2 kB / 372.3 MB, free: 8.332 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01463, allocations: 0 / 372.3 MB, free: 8.332 MB / 298.7 MB Notification: Performance of Templates: time 0.005386/0.02002, allocations: 3.952 MB / 376.3 MB, free: 4.418 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: 2.8883706629276276]