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.001913/0.001913, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002128/0.002128, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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.1193/0.1193, allocations: 18.14 MB / 278.5 MB, free: 11.3 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.603e-06/1.603e-06, allocations: 0 / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.932e-05, allocations: 2.312 kB / 356.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.002509/0.002538, allocations: 1.034 MB / 357.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.004609, allocations: 1.28 MB / 358.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.004702, allocations: 7.938 kB / 358.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.005052, allocations: 55.62 kB / 358.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.005269, allocations: 67.61 kB / 359 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.005709, allocations: 171.6 kB / 359.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.006018, allocations: 203.5 kB / 359.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.006143, allocations: 29.66 kB / 359.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.006313, allocations: 99.7 kB / 359.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.006581, allocations: 135.7 kB / 359.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.006634, allocations: 20 kB / 359.6 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.299e-05/0.006677, allocations: 16 kB / 359.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.006824, allocations: 91.7 kB / 359.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.006922, allocations: 63.77 kB / 359.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.007248, allocations: 231.2 kB / 360 MB, free: 4.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007251, allocations: 4 kB / 360 MB, free: 4.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.007252, allocations: 0 / 360 MB, free: 4.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.007259, allocations: 0 / 360 MB, free: 4.676 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.001405/0.008665, allocations: 0.6434 MB / 360.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.008702, allocations: 12.86 kB / 360.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.008791, allocations: 32.8 kB / 360.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.009369, allocations: 235.7 kB / 360.9 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.009396, allocations: 16.36 kB / 360.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.009449, allocations: 20.31 kB / 361 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.00973, allocations: 114.7 kB / 361.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.009748, allocations: 4.141 kB / 361.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.009772, allocations: 8.375 kB / 361.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.009781, allocations: 7.938 kB / 361.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.01007, allocations: 95.92 kB / 361.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.01128, allocations: 0.5384 MB / 361.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.01161, allocations: 131 kB / 361.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.01177, allocations: 63.67 kB / 361.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.0118, allocations: 7.938 kB / 361.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.01184, allocations: 37.38 kB / 362 MB, free: 2.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.01184, allocations: 0 / 362 MB, free: 2.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001881/0.01372, allocations: 433 kB / 362.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.01377, allocations: 51.41 kB / 362.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.01433, allocations: 348.3 kB / 362.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.01436, allocations: 33.64 kB / 362.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.01452, allocations: 187.3 kB / 363 MB, free: 1.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.01463, allocations: 91.27 kB / 363.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01473, allocations: 55.36 kB / 363.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0006931/0.01542, allocations: 0.5157 MB / 363.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.01554, allocations: 35.98 kB / 363.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01566, allocations: 50.83 kB / 363.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.01608, allocations: 175.9 kB / 363.9 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01608, allocations: 4 kB / 363.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000698/0.01678, allocations: 260.9 kB / 364.2 MB, free: 308 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01679, allocations: 4 kB / 364.2 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.0168, allocations: 3.984 kB / 364.2 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003884/0.01719, allocations: 75.61 kB / 364.3 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.01738, allocations: 27.98 kB / 364.3 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.0197, allocations: 2.07 MB / 366.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.01993, allocations: 39.84 kB / 366.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.01996, allocations: 8 kB / 366.4 MB, free: 13.95 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.0002573/0.02022, allocations: 185.7 kB / 366.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.0203, allocations: 35.8 kB / 366.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.0204, allocations: 38.11 kB / 366.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.02041, allocations: 4 kB / 366.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.02041, allocations: 0 / 366.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.02042, allocations: 3.984 kB / 366.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.02078, allocations: 228.5 kB / 366.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.02078, allocations: 0 / 366.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.02097, allocations: 27.92 kB / 366.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/0.02131, allocations: 79.61 kB / 367 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.02134, allocations: 3.938 kB / 367 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.02359, allocations: 2.074 MB / 369.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02359, allocations: 0 / 369.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.02453, allocations: 471.6 kB / 369.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.02461, allocations: 35.78 kB / 369.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.02465, allocations: 11.94 kB / 369.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.02488, allocations: 19.97 kB / 369.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.02496, allocations: 23.89 kB / 369.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.02497, allocations: 4 kB / 369.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004449/0.02542, allocations: 245.1 kB / 369.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02542, allocations: 0 / 369.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000326/0.02574, allocations: 55.95 kB / 369.9 MB, free: 10.23 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.0001506/0.02589, allocations: 103.2 kB / 370 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007103/0.0266, allocations: 345.2 kB / 370.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02661, allocations: 4 kB / 370.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.02733, allocations: 271.6 kB / 370.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.02773, allocations: 44.11 kB / 370.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02873, allocations: 0.4945 MB / 371.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.02893, allocations: 161.3 kB / 371.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.02907, allocations: 37.91 kB / 371.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.02914, allocations: 24.5 kB / 371.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02914, allocations: 0 / 371.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of Templates: time 0.008508/0.03765, allocations: 3.287 MB / 374.7 MB, free: 5.41 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: 4.699386570020579]