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.001218/0.001218, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001194/0.001194, allocations: 169 kB / 23.82 MB, free: 0.7539 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.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.07684/0.07684, allocations: 18.14 MB / 278.9 MB, free: 11.14 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.743e-06/1.743e-06, allocations: 0 / 357.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.956e-05, allocations: 2.312 kB / 357.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.001819/0.001849, allocations: 1.122 MB / 358.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.003327, allocations: 1.346 MB / 359.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.003415, allocations: 4 kB / 359.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.003742, allocations: 75.42 kB / 359.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.003916, allocations: 91.53 kB / 359.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.004228, allocations: 223.5 kB / 360.2 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.004492, allocations: 255.4 kB / 360.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004611, allocations: 40.56 kB / 360.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.004735, allocations: 115.6 kB / 360.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.004919, allocations: 171.5 kB / 360.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.004963, allocations: 24 kB / 360.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.004993, allocations: 28 kB / 360.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.005092, allocations: 115.6 kB / 360.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.005159, allocations: 71.75 kB / 361 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.005355, allocations: 199.2 kB / 361.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.005358, allocations: 4 kB / 361.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00536, allocations: 0 / 361.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.005369, allocations: 3.984 kB / 361.2 MB, free: 4.98 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008495/0.006219, allocations: 0.6945 MB / 361.9 MB, free: 4.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.006254, allocations: 12.92 kB / 361.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.006325, allocations: 40.75 kB / 361.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.006763, allocations: 293.2 kB / 362.2 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.006786, allocations: 12.66 kB / 362.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.006817, allocations: 20.38 kB / 362.2 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.007008, allocations: 116.3 kB / 362.3 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.007019, allocations: 192 / 362.3 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.007036, allocations: 8.375 kB / 362.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.007045, allocations: 3.938 kB / 362.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.007199, allocations: 84.75 kB / 362.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.007891, allocations: 0.558 MB / 363 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.008174, allocations: 154.8 kB / 363.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.00826, allocations: 55.67 kB / 363.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.008275, allocations: 4 kB / 363.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.008295, allocations: 33.39 kB / 363.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.042e-06/0.008297, allocations: 7.938 kB / 363.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001024/0.009321, allocations: 429.1 kB / 363.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.009347, allocations: 55.41 kB / 363.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.009572, allocations: 330.3 kB / 364 MB, free: 1.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.00959, allocations: 29.7 kB / 364.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.00967, allocations: 195.3 kB / 364.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.009728, allocations: 87.23 kB / 364.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.009786, allocations: 51.36 kB / 364.4 MB, free: 1.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.00993, allocations: 0.5196 MB / 364.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.009996, allocations: 27.98 kB / 364.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.01006, allocations: 31.98 kB / 365 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.01032, allocations: 161.1 kB / 365.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01032, allocations: 0 / 365.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003811/0.0107, allocations: 244.9 kB / 365.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01072, allocations: 9.562 kB / 365.4 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01072, allocations: 3.938 kB / 365.4 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.01095, allocations: 71.61 kB / 365.4 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.01105, allocations: 35.98 kB / 365.5 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.01235, allocations: 1.952 MB / 367.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01247, allocations: 39.84 kB / 367.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01249, allocations: 8 kB / 367.5 MB, free: 14.3 MB / 346.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.0001324/0.01262, allocations: 194.4 kB / 367.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.01266, allocations: 39.75 kB / 367.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.0127, allocations: 42.34 kB / 367.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.0127, allocations: 0 / 367.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01271, allocations: 4 kB / 367.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01271, allocations: 3.984 kB / 367.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.0129, allocations: 232.6 kB / 368 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.0129, allocations: 8 kB / 368 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.01301, allocations: 31.91 kB / 368 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.01323, allocations: 67.56 kB / 368.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.01326, allocations: 11.98 kB / 368.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.01436, allocations: 1.952 MB / 370.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01436, allocations: 0 / 370.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.01481, allocations: 445.8 kB / 370.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.01484, allocations: 43.86 kB / 370.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01487, allocations: 8 kB / 370.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.01499, allocations: 32 kB / 370.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.01504, allocations: 19.95 kB / 370.6 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.01505, allocations: 8 kB / 370.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.01518, allocations: 223 kB / 370.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01518, allocations: 4 kB / 370.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.01538, allocations: 60 kB / 370.9 MB, free: 10.71 MB / 346.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.331e-05/0.01547, allocations: 111.2 kB / 371 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.01597, allocations: 321.7 kB / 371.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01597, allocations: 0 / 371.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.01615, allocations: 261.4 kB / 371.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.0164, allocations: 44.95 kB / 371.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.01716, allocations: 0.5999 MB / 372.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.616e-05/0.01723, allocations: 108.3 kB / 372.3 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.01731, allocations: 50.23 kB / 372.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.01736, allocations: 20.5 kB / 372.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01736, allocations: 0 / 372.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of Templates: time 0.00562/0.02298, allocations: 3.893 MB / 376.3 MB, free: 5.246 MB / 346.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.097745707258582]