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.0008525/0.0008525, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.001486/0.001486, allocations: 173 kB / 24.16 MB, free: 332 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.037/1.037, allocations: 177.1 MB / 204.6 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.06859/0.06859, allocations: 18.13 MB / 279.2 MB, free: 11.21 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 3.346e-06/3.346e-06, allocations: 0.75 kB / 304.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.897e-05, allocations: 4.5 kB / 304.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.00298/0.003009, allocations: 1.105 MB / 305.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.005584, allocations: 1.372 MB / 307 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.005739, allocations: 2.531 kB / 307 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.006175, allocations: 72.86 kB / 307.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.006379, allocations: 87.39 kB / 307.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.006833, allocations: 214.8 kB / 307.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.007198, allocations: 264.5 kB / 307.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.007318, allocations: 43.39 kB / 307.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.007502, allocations: 122.2 kB / 307.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.007768, allocations: 166.2 kB / 307.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.007817, allocations: 20 kB / 308 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.08e-05/0.007848, allocations: 24 kB / 308 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.00798, allocations: 114.1 kB / 308.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.008065, allocations: 76.97 kB / 308.2 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.008304, allocations: 204.1 kB / 308.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.008309, allocations: 0 / 308.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00831, allocations: 3.938 kB / 308.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.008315, allocations: 0 / 308.4 MB, free: 14.1 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.0007704/0.009085, allocations: 0.5214 MB / 308.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.00912, allocations: 12.92 kB / 308.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.009174, allocations: 28.91 kB / 308.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.009509, allocations: 258.4 kB / 309.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.009529, allocations: 12.66 kB / 309.2 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.009559, allocations: 12.38 kB / 309.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.009723, allocations: 111.2 kB / 309.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.009734, allocations: 4.188 kB / 309.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.009748, allocations: 8.375 kB / 309.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.009755, allocations: 3.938 kB / 309.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.00987, allocations: 64.94 kB / 309.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.01042, allocations: 377.4 kB / 309.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.01069, allocations: 174.9 kB / 309.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.01075, allocations: 40.84 kB / 310 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.01077, allocations: 4 kB / 310 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01079, allocations: 34.56 kB / 310 MB, free: 12.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.213e-06/0.01079, allocations: 0 / 310 MB, free: 12.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007931/0.01158, allocations: 321.2 kB / 310.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.01162, allocations: 55.41 kB / 310.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01181, allocations: 255 kB / 310.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01184, allocations: 37.64 kB / 310.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.01189, allocations: 117.1 kB / 310.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.01197, allocations: 87.2 kB / 310.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.01204, allocations: 49.67 kB / 310.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.01215, allocations: 342.8 kB / 311.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.0122, allocations: 18.83 kB / 311.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.01225, allocations: 19.98 kB / 311.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.01243, allocations: 130.6 kB / 311.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01243, allocations: 0 / 311.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003243/0.01275, allocations: 178.4 kB / 311.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.01278, allocations: 4 kB / 311.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01279, allocations: 3.938 kB / 311.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.01303, allocations: 55.62 kB / 311.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01313, allocations: 39.92 kB / 311.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.01423, allocations: 1.343 MB / 313 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01435, allocations: 23.92 kB / 313.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01436, allocations: 8 kB / 313.1 MB, free: 9.141 MB / 282.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.0002062/0.01457, allocations: 145.8 kB / 313.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.01461, allocations: 23.98 kB / 313.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.01467, allocations: 46.34 kB / 313.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01468, allocations: 7.922 kB / 313.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.01469, allocations: 4 kB / 313.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01469, allocations: 3.984 kB / 313.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.01491, allocations: 157.7 kB / 313.5 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01491, allocations: 0 / 313.5 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01503, allocations: 31.98 kB / 313.5 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.01518, allocations: 51.83 kB / 313.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.0152, allocations: 11.98 kB / 313.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008732/0.01608, allocations: 1.334 MB / 314.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01608, allocations: 3.938 kB / 314.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.01648, allocations: 371.8 kB / 315.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.01652, allocations: 39.73 kB / 315.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.01655, allocations: 7.984 kB / 315.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01665, allocations: 12 kB / 315.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.0167, allocations: 16.14 kB / 315.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01672, allocations: 16 kB / 315.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01683, allocations: 92.64 kB / 315.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01683, allocations: 0 / 315.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.01707, allocations: 71.89 kB / 315.5 MB, free: 6.562 MB / 282.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.0001393/0.01721, allocations: 80.42 kB / 315.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.01757, allocations: 227.5 kB / 315.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.01757, allocations: 4 kB / 315.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.01775, allocations: 195.3 kB / 316 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.01801, allocations: 46.08 kB / 316 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.01882, allocations: 0.5855 MB / 316.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.01889, allocations: 112.9 kB / 316.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.01896, allocations: 30.27 kB / 316.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.01906, allocations: 79.36 kB / 316.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01906, allocations: 0 / 316.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of Templates: time 0.006069/0.02513, allocations: 3.907 MB / 320.7 MB, free: 1.277 MB / 282.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.0040711481124163]