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.0009479/0.0009479, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0009108/0.0009108, allocations: 173 kB / 24.17 MB, free: 336 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.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.06642/0.06642, 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.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 1.643e-06/1.643e-06, allocations: 0 / 304.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.944e-05, allocations: 2.859 kB / 304.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00206/0.002089, allocations: 0.982 MB / 305.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.003855, allocations: 1.261 MB / 306.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.003935, allocations: 0 / 306.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.004247, allocations: 43.56 kB / 306.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.004465, allocations: 38.27 kB / 306.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.004743, allocations: 118.9 kB / 307 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004935, allocations: 144.4 kB / 307.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.005025, allocations: 21.78 kB / 307.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.005145, allocations: 63.47 kB / 307.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.005307, allocations: 77.02 kB / 307.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.005342, allocations: 11.25 kB / 307.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.076e-05/0.005362, allocations: 10.91 kB / 307.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.00544, allocations: 55.34 kB / 307.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.005487, allocations: 36.36 kB / 307.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.005642, allocations: 107.4 kB / 307.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005644, allocations: 4 kB / 307.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.005646, allocations: 0 / 307.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.005651, allocations: 0 / 307.5 MB, free: 14.77 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.0005913/0.006243, allocations: 366 kB / 307.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.006282, allocations: 16.34 kB / 307.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.006331, allocations: 15.72 kB / 307.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.006597, allocations: 194.4 kB / 308.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.006618, allocations: 9.312 kB / 308.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.006641, allocations: 4.984 kB / 308.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.006782, allocations: 74.55 kB / 308.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.006791, allocations: 192 / 308.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.006801, allocations: 8.984 kB / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006809, allocations: 7.938 kB / 308.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.00688, allocations: 26.38 kB / 308.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.007242, allocations: 253.7 kB / 308.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.007447, allocations: 132.2 kB / 308.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.007484, allocations: 22.12 kB / 308.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.007497, allocations: 11.92 kB / 308.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.007518, allocations: 39.17 kB / 308.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.00752, allocations: 0 / 308.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004599/0.007979, allocations: 174.3 kB / 308.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.008007, allocations: 55.41 kB / 308.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.008222, allocations: 165.2 kB / 309 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.008237, allocations: 25.7 kB / 309 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.008278, allocations: 108.2 kB / 309.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.008314, allocations: 46.58 kB / 309.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.008354, allocations: 28.23 kB / 309.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.008435, allocations: 331.5 kB / 309.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.008463, allocations: 16 kB / 309.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.008487, allocations: 14.11 kB / 309.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.008594, allocations: 72.42 kB / 309.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.008596, allocations: 0 / 309.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00017/0.008766, allocations: 111.1 kB / 309.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.008779, allocations: 6.5 kB / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008785, allocations: 0 / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.008946, allocations: 43.59 kB / 309.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.009001, allocations: 19.98 kB / 309.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008691/0.00987, allocations: 1.244 MB / 311.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.00993, allocations: 19.92 kB / 311.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.009936, allocations: 0 / 311.1 MB, free: 11.15 MB / 282.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.0001145/0.01005, allocations: 133.4 kB / 311.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01008, allocations: 15.92 kB / 311.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.01011, allocations: 21.47 kB / 311.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01011, allocations: 4 kB / 311.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01012, allocations: 0 / 311.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01012, allocations: 0 / 311.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.01024, allocations: 113.8 kB / 311.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01025, allocations: 7.984 kB / 311.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.0103, allocations: 12 kB / 311.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.01041, allocations: 35.66 kB / 311.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01042, allocations: 7.922 kB / 311.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006236/0.01105, allocations: 1.259 MB / 312.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01105, allocations: 0 / 312.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.01128, allocations: 278.9 kB / 313 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.0113, allocations: 19.89 kB / 313 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01131, allocations: 8 kB / 313 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.01138, allocations: 8 kB / 313 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.01141, allocations: 7.969 kB / 313 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01142, allocations: 7.938 kB / 313 MB, free: 9.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.01146, allocations: 57.89 kB / 313.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01146, allocations: 0 / 313.1 MB, free: 9.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.01163, allocations: 35.94 kB / 313.1 MB, free: 8.984 MB / 282.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 9.227e-05/0.01173, allocations: 76.36 kB / 313.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.01196, allocations: 187.3 kB / 313.4 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.01196, allocations: 0 / 313.4 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.01208, allocations: 163.4 kB / 313.5 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.01225, allocations: 26 kB / 313.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.01265, allocations: 315.2 kB / 313.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.0127, allocations: 88.5 kB / 313.9 MB, free: 8.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.01274, allocations: 9.156 kB / 313.9 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.0128, allocations: 67.36 kB / 314 MB, free: 7.988 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01281, allocations: 0 / 314 MB, free: 7.988 MB / 282.7 MB Notification: Performance of Templates: time 0.004476/0.01728, allocations: 2.161 MB / 316.2 MB, free: 5.859 MB / 282.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.938424427062273]