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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.249/0.249, allocations: 22.34 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.0005501, allocations: 8 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3805, allocations: 55.97 MB / 437.9 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001129/0.3817, allocations: 0.6657 MB / 438.6 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3829, allocations: 1.169 MB / 439.7 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.383, allocations: 2.375 kB / 439.7 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3834, allocations: 32.94 kB / 439.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3835, allocations: 40.78 kB / 439.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.3837, allocations: 54.55 kB / 439.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.384, allocations: 175.3 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3841, allocations: 23.73 kB / 440.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3842, allocations: 86.22 kB / 440.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3844, allocations: 85.59 kB / 440.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.3845, allocations: 4.5 kB / 440.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.3845, allocations: 9.281 kB / 440.2 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.3846, allocations: 45.73 kB / 440.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.3846, allocations: 42.7 kB / 440.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3848, allocations: 92.06 kB / 440.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3848, allocations: 0 / 440.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3848, allocations: 0 / 440.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3848, allocations: 0 / 440.4 MB, free: 37.7 MB / 350.1 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.001119/0.3859, allocations: 0.5166 MB / 440.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.386, allocations: 8.219 kB / 440.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.386, allocations: 13.62 kB / 441 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.3866, allocations: 277.7 kB / 441.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3866, allocations: 9.375 kB / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3867, allocations: 5 kB / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3869, allocations: 112.9 kB / 441.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3869, allocations: 0 / 441.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3869, allocations: 11.95 kB / 441.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.387, allocations: 7.656 kB / 441.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.3872, allocations: 99.3 kB / 441.5 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.388, allocations: 462.9 kB / 441.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.3884, allocations: 162.4 kB / 442.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3885, allocations: 64.08 kB / 442.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3885, allocations: 5.672 kB / 442.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3886, allocations: 38.56 kB / 442.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3886, allocations: 0 / 442.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009716/0.3895, allocations: 390.3 kB / 442.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3896, allocations: 57.5 kB / 442.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.39, allocations: 251.5 kB / 442.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.39, allocations: 29.7 kB / 442.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.3901, allocations: 117.8 kB / 443 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.3901, allocations: 48.19 kB / 443.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.3901, allocations: 0 / 443.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.3902, allocations: 331.4 kB / 443.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.3903, allocations: 46.42 kB / 443.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.3904, allocations: 55.23 kB / 443.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3905, allocations: 56.17 kB / 443.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3905, allocations: 0 / 443.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000386/0.3909, allocations: 236.2 kB / 443.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3909, allocations: 5.656 kB / 443.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.391, allocations: 3.953 kB / 443.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.3912, allocations: 53.27 kB / 443.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.3913, allocations: 26.12 kB / 443.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.3923, allocations: 1.488 MB / 445.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3925, allocations: 45 kB / 445.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3926, allocations: 3.938 kB / 445.4 MB, free: 33.99 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.3927, allocations: 149.1 kB / 445.5 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.3928, allocations: 20.3 kB / 445.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3928, allocations: 25.14 kB / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3928, allocations: 0 / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3928, allocations: 6.969 kB / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3928, allocations: 0 / 445.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.3931, allocations: 240.6 kB / 445.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3931, allocations: 0 / 445.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3932, allocations: 19.55 kB / 445.8 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.3934, allocations: 51.12 kB / 445.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3934, allocations: 2.938 kB / 445.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.3945, allocations: 1.505 MB / 447.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3945, allocations: 0 / 447.4 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.3951, allocations: 383.7 kB / 447.8 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3951, allocations: 94.97 kB / 447.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3952, allocations: 6.844 kB / 447.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3954, allocations: 27.05 kB / 447.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3954, allocations: 18.67 kB / 447.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3954, allocations: 3.25 kB / 447.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.3958, allocations: 198.4 kB / 448.1 MB, free: 31.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.3958, allocations: 0 / 448.1 MB, free: 31.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.396, allocations: 33.53 kB / 448.1 MB, free: 31.74 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.35e-05/0.3961, allocations: 102.2 kB / 448.2 MB, free: 31.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.3966, allocations: 263.6 kB / 448.5 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3966, allocations: 0 / 448.5 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.3968, allocations: 189.5 kB / 448.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3972, allocations: 30.91 kB / 448.7 MB, free: 31.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.3977, allocations: 385.7 kB / 449.1 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.398, allocations: 0.7313 MB / 449.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.39e-05/0.398, allocations: 28.81 kB / 449.9 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.3981, allocations: 14.66 kB / 449.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3981, allocations: 0 / 449.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of Templates: time 0.004526/0.4026, allocations: 1.688 MB / 451.6 MB, free: 30.26 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)