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.001107/0.001107, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001162/0.001162, allocations: 177.3 kB / 15.94 MB, free: 228 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.543/1.543, allocations: 223.2 MB / 239.9 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2503/0.2503, allocations: 22.34 MB / 313.3 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 12 kB / 381.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 55.97 MB / 437.8 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001023/0.3388, allocations: 0.6721 MB / 438.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3399, allocations: 1.173 MB / 439.6 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3399, allocations: 0 / 439.6 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3402, allocations: 34.83 kB / 439.7 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3404, allocations: 41.52 kB / 439.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.3405, allocations: 53.61 kB / 439.8 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3407, allocations: 106.5 kB / 439.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.3408, allocations: 27.59 kB / 439.9 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3409, allocations: 92.53 kB / 440 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.341, allocations: 87.86 kB / 440.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3411, allocations: 5.375 kB / 440.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.3411, allocations: 3 kB / 440.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.3411, allocations: 40.45 kB / 440.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.3412, allocations: 38.8 kB / 440.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.3413, allocations: 100.7 kB / 440.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.3413, allocations: 0 / 440.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3413, allocations: 0 / 440.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.3413, allocations: 0 / 440.3 MB, free: 37.8 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.0009413/0.3423, allocations: 0.5097 MB / 440.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3423, allocations: 8.312 kB / 440.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3423, allocations: 16.09 kB / 440.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.3428, allocations: 270.6 kB / 441.1 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3428, allocations: 10.44 kB / 441.1 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3429, allocations: 17.75 kB / 441.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3431, allocations: 119 kB / 441.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3431, allocations: 0 / 441.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3431, allocations: 3.953 kB / 441.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3431, allocations: 2.844 kB / 441.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.3433, allocations: 103.8 kB / 441.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.3439, allocations: 461.7 kB / 441.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.3443, allocations: 153.9 kB / 441.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3443, allocations: 6.75 kB / 441.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.3443, allocations: 30.56 kB / 441.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3443, allocations: 0 / 441.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009094/0.3452, allocations: 398.3 kB / 442.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3453, allocations: 54.25 kB / 442.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.3457, allocations: 251 kB / 442.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3457, allocations: 29.7 kB / 442.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.3458, allocations: 113 kB / 442.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3458, allocations: 47.84 kB / 442.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.3458, allocations: 4 kB / 442.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.3459, allocations: 331.9 kB / 443.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.346, allocations: 51.48 kB / 443.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.3461, allocations: 44.08 kB / 443.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3462, allocations: 62.42 kB / 443.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3462, allocations: 4 kB / 443.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003965/0.3466, allocations: 237.5 kB / 443.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3466, allocations: 5.656 kB / 443.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3466, allocations: 0 / 443.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.3469, allocations: 60.94 kB / 443.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.347, allocations: 17.06 kB / 443.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009586/0.3479, allocations: 1.5 MB / 445.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3482, allocations: 44.42 kB / 445.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3482, allocations: 2.906 kB / 445.2 MB, free: 34.12 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.0001323/0.3483, allocations: 139.7 kB / 445.3 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3484, allocations: 16.53 kB / 445.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.3484, allocations: 28.23 kB / 445.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3484, allocations: 2.625 kB / 445.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3484, allocations: 0 / 445.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3484, allocations: 3.656 kB / 445.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.3486, allocations: 247.8 kB / 445.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3486, allocations: 3.938 kB / 445.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3488, allocations: 20.91 kB / 445.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.3489, allocations: 54.41 kB / 445.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3489, allocations: 6.969 kB / 445.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008488/0.3498, allocations: 1.51 MB / 447.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3498, allocations: 0 / 447.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.3503, allocations: 375.2 kB / 447.6 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3504, allocations: 95.17 kB / 447.6 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3504, allocations: 11.19 kB / 447.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3506, allocations: 33.33 kB / 447.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3507, allocations: 12.86 kB / 447.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3507, allocations: 0 / 447.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.351, allocations: 198.9 kB / 447.9 MB, free: 31.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.351, allocations: 0 / 447.9 MB, free: 31.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3513, allocations: 39 kB / 447.9 MB, free: 31.86 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 8.994e-05/0.3514, allocations: 99.16 kB / 448 MB, free: 31.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.3518, allocations: 258.6 kB / 448.3 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3518, allocations: 0 / 448.3 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.352, allocations: 190.8 kB / 448.5 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3523, allocations: 20.53 kB / 448.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.3527, allocations: 396.8 kB / 448.9 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3529, allocations: 0.7378 MB / 449.6 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.353, allocations: 33.17 kB / 449.7 MB, free: 30.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.353, allocations: 13.56 kB / 449.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.353, allocations: 0 / 449.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of Templates: time 0.003816/0.3568, allocations: 1.684 MB / 451.3 MB, free: 30.39 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: