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.0009293/0.0009292, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006799/0.006799, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.226/0.226, allocations: 22.35 MB / 313.8 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 12 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3015, allocations: 55.98 MB / 438.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.0009383/0.3025, allocations: 0.6865 MB / 439.3 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3037, allocations: 1.187 MB / 440.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3038, allocations: 3.031 kB / 440.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3041, allocations: 26.53 kB / 440.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.3042, allocations: 40.8 kB / 440.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.3044, allocations: 67.38 kB / 440.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.3046, allocations: 190.3 kB / 440.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.3047, allocations: 28.25 kB / 440.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.3048, allocations: 72.47 kB / 440.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3049, allocations: 87.05 kB / 441 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.305, allocations: 6.062 kB / 441 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.305, allocations: 3.938 kB / 441 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3051, allocations: 49.62 kB / 441 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.3051, allocations: 76.17 kB / 441.1 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3053, allocations: 126.8 kB / 441.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.3053, allocations: 0 / 441.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3053, allocations: 0 / 441.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3053, allocations: 3.938 kB / 441.2 MB, free: 37.54 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.0009596/0.3063, allocations: 0.5072 MB / 441.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3063, allocations: 13.41 kB / 441.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3064, allocations: 14.78 kB / 441.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.307, allocations: 288.5 kB / 442 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.307, allocations: 3.375 kB / 442 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.307, allocations: 12.84 kB / 442 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3073, allocations: 116.2 kB / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3073, allocations: 0 / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3073, allocations: 2.812 kB / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3073, allocations: 4 kB / 442.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.3076, allocations: 106.6 kB / 442.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.3083, allocations: 458.1 kB / 442.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.3087, allocations: 157.9 kB / 442.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3089, allocations: 63.95 kB / 442.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3089, allocations: 0 / 442.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3089, allocations: 36.67 kB / 443 MB, free: 36.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.3089, allocations: 4 kB / 443 MB, free: 36.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009923/0.3099, allocations: 405.8 kB / 443.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.31, allocations: 51.41 kB / 443.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.3104, allocations: 249.3 kB / 443.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3104, allocations: 28.39 kB / 443.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.3105, allocations: 116.2 kB / 443.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3105, allocations: 53.22 kB / 443.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3106, allocations: 17.06 kB / 443.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.3106, allocations: 329.8 kB / 444.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3107, allocations: 43.55 kB / 444.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3109, allocations: 58.61 kB / 444.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3119, allocations: 339.1 kB / 444.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3119, allocations: 0 / 444.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000433/0.3124, allocations: 241.9 kB / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3124, allocations: 10.03 kB / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3124, allocations: 0 / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.3126, allocations: 55.36 kB / 444.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.3127, allocations: 17.91 kB / 444.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.3138, allocations: 1.491 MB / 446.4 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.314, allocations: 40.62 kB / 446.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3141, allocations: 4 kB / 446.5 MB, free: 33.74 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 (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.0001384/0.3142, allocations: 143.8 kB / 446.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.3142, allocations: 13.75 kB / 446.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.3143, allocations: 23.98 kB / 446.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3143, allocations: 6.797 kB / 446.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3143, allocations: 0 / 446.7 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3143, allocations: 7.938 kB / 446.7 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3146, allocations: 242 kB / 446.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3146, allocations: 3.938 kB / 446.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3147, allocations: 17.88 kB / 446.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.3149, allocations: 57.47 kB / 447 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3149, allocations: 2.938 kB / 447 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009145/0.3158, allocations: 1.502 MB / 448.5 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3159, allocations: 2.938 kB / 448.5 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.3164, allocations: 377.5 kB / 448.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.3164, allocations: 98.02 kB / 449 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3165, allocations: 2.906 kB / 449 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3167, allocations: 32.12 kB / 449 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.3168, allocations: 10.44 kB / 449 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3168, allocations: 2.812 kB / 449 MB, free: 31.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003799/0.3172, allocations: 200.6 kB / 449.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3172, allocations: 0 / 449.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.3175, allocations: 33.34 kB / 449.2 MB, free: 31.5 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 (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 8.448e-05/0.3176, allocations: 102.2 kB / 449.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004412/0.318, allocations: 260.9 kB / 449.6 MB, free: 31.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3181, allocations: 4 kB / 449.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.3183, allocations: 198.6 kB / 449.8 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3186, allocations: 24.55 kB / 449.8 MB, free: 31.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.3192, allocations: 411.4 kB / 450.2 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3194, allocations: 0.725 MB / 450.9 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.38e-05/0.3195, allocations: 32.45 kB / 451 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3195, allocations: 13.28 kB / 451 MB, free: 30.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3195, allocations: 0 / 451 MB, free: 30.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005177/0.3247, allocations: 1.739 MB / 452.7 MB, free: 29.99 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)