Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.001023/0.001023, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001912/0.001912, allocations: 177 kB / 24.08 MB, free: 432 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.036/1.036, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.0645/0.0645, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 357.8 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.9e-05, allocations: 5.266 kB / 357.8 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001935/0.001964, allocations: 0.9677 MB / 358.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003367, allocations: 1.248 MB / 360 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.003505, allocations: 4 kB / 360 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.003811, allocations: 39.7 kB / 360 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.003938, allocations: 43.77 kB / 360.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.004188, allocations: 115.7 kB / 360.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.004361, allocations: 135.7 kB / 360.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.004502, allocations: 29.61 kB / 360.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.004627, allocations: 63.8 kB / 360.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.00477, allocations: 79.77 kB / 360.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.004798, allocations: 12 kB / 360.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.004818, allocations: 12 kB / 360.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.004891, allocations: 55.81 kB / 360.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.004932, allocations: 27.92 kB / 360.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.005071, allocations: 107.5 kB / 360.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.005073, allocations: 0 / 360.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005074, allocations: 0 / 360.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.005078, allocations: 4 kB / 360.7 MB, free: 4.586 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000562/0.00564, allocations: 495.8 kB / 361.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.005677, allocations: 8.922 kB / 361.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.005722, allocations: 24.84 kB / 361.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.005961, allocations: 204.9 kB / 361.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.005985, allocations: 4.375 kB / 361.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.006008, allocations: 8.375 kB / 361.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.006157, allocations: 77.02 kB / 361.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006168, allocations: 192 / 361.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.006178, allocations: 4.375 kB / 361.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.006188, allocations: 3.938 kB / 361.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.006263, allocations: 35.97 kB / 361.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.006702, allocations: 352.1 kB / 361.9 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.006895, allocations: 91 kB / 362 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.007255, allocations: 31.61 kB / 362 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.007267, allocations: 4.219 kB / 362 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.007293, allocations: 37.33 kB / 362.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.007294, allocations: 4 kB / 362.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005221/0.007816, allocations: 193.1 kB / 362.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.007846, allocations: 51.41 kB / 362.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.007991, allocations: 229.8 kB / 362.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.008009, allocations: 33.7 kB / 362.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.008084, allocations: 158.7 kB / 362.7 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.008129, allocations: 55.58 kB / 362.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.008175, allocations: 35.34 kB / 362.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.008348, allocations: 0.5039 MB / 363.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.008383, allocations: 11.98 kB / 363.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.008407, allocations: 11.94 kB / 363.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.008518, allocations: 78.55 kB / 363.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00852, allocations: 0 / 363.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002192/0.008739, allocations: 129.2 kB / 363.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.008755, allocations: 4 kB / 363.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.008763, allocations: 3.938 kB / 363.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.008945, allocations: 39.64 kB / 363.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.009005, allocations: 24 kB / 363.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.01023, allocations: 1.8 MB / 365.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.01031, allocations: 15.98 kB / 365.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01032, allocations: 0 / 365.4 MB, free: 15.55 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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 (12): * Single equations (assignments): 11 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.01049, allocations: 176.4 kB / 365.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.01053, allocations: 19.91 kB / 365.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.01057, allocations: 21.45 kB / 365.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01057, allocations: 4 kB / 365.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.01058, allocations: 0 / 365.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01058, allocations: 0 / 365.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01075, allocations: 149.1 kB / 365.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01076, allocations: 0 / 365.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.01082, allocations: 15.98 kB / 365.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.01095, allocations: 39.59 kB / 365.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01096, allocations: 4.047 kB / 365.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008941/0.01186, allocations: 1.804 MB / 367.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01186, allocations: 0 / 367.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01214, allocations: 311.3 kB / 367.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.01216, allocations: 15.84 kB / 368 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01218, allocations: 4 kB / 368 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.01227, allocations: 11.98 kB / 368 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.01232, allocations: 11.92 kB / 368 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01232, allocations: 0 / 368 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.118e-05/0.01241, allocations: 172.1 kB / 368.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01241, allocations: 4 kB / 368.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01261, allocations: 35.95 kB / 368.2 MB, free: 12.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.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 (9): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.01273, allocations: 99.25 kB / 368.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.01306, allocations: 249.4 kB / 368.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.01306, allocations: 0 / 368.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.01322, allocations: 222.1 kB / 368.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01345, allocations: 24.2 kB / 368.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.01386, allocations: 314.6 kB / 369.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.01424, allocations: 87.81 kB / 369.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.01428, allocations: 17.12 kB / 369.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.01435, allocations: 82.2 kB / 369.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01435, allocations: 0 / 369.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Templates: time 0.004127/0.01848, allocations: 2.215 MB / 371.5 MB, free: 9.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9449450438842177]