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: "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008963/0.0008965, allocations: 99.62 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.000887/0.0008871, allocations: 177.3 kB / 15.95 MB, free: 216 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.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1885/0.1885, allocations: 22.35 MB / 313.3 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 8 kB / 381.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3065, allocations: 55.97 MB / 437.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.0008277/0.3074, allocations: 0.6623 MB / 438.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008733/0.3083, allocations: 1.175 MB / 439.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.3083, allocations: 3.938 kB / 439.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3085, allocations: 29.58 kB / 439.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3087, allocations: 41.28 kB / 439.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3088, allocations: 54.02 kB / 439.9 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3089, allocations: 111.5 kB / 440 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.309, allocations: 24.84 kB / 440 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3091, allocations: 87.62 kB / 440.1 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3093, allocations: 81.58 kB / 440.2 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3093, allocations: 9.75 kB / 440.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.3093, allocations: 5.969 kB / 440.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.3094, allocations: 39.77 kB / 440.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.3094, allocations: 43.36 kB / 440.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.365e-05/0.3095, allocations: 101.7 kB / 440.3 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.3095, allocations: 0 / 440.3 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3095, allocations: 0 / 440.3 MB, free: 37.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3095, allocations: 0 / 440.3 MB, free: 37.47 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.0008411/0.3104, allocations: 0.5118 MB / 440.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.3104, allocations: 8.844 kB / 440.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.3104, allocations: 44.58 kB / 440.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.3105, allocations: 13.59 kB / 440.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.3109, allocations: 275.6 kB / 441.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3109, allocations: 7.031 kB / 441.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.311, allocations: 8.984 kB / 441.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3111, allocations: 112.1 kB / 441.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3112, allocations: 3.953 kB / 441.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3112, allocations: 4 kB / 441.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3112, allocations: 6.781 kB / 441.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3114, allocations: 98.64 kB / 441.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.3119, allocations: 465.7 kB / 441.9 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.3122, allocations: 156.2 kB / 442 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3123, allocations: 0 / 442 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.3123, allocations: 41.53 kB / 442.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.3123, allocations: 0 / 442.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008205/0.3131, allocations: 396.7 kB / 442.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.3131, allocations: 51.41 kB / 442.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.3135, allocations: 255.8 kB / 442.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3135, allocations: 32.73 kB / 442.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.3136, allocations: 112.5 kB / 442.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3136, allocations: 48.42 kB / 443 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.3136, allocations: 0 / 443 MB, free: 35.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.3137, allocations: 325.1 kB / 443.3 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.3138, allocations: 53.31 kB / 443.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.3138, allocations: 48.8 kB / 443.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.897e-05/0.314, allocations: 61.95 kB / 443.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.314, allocations: 0 / 443.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003616/0.3143, allocations: 234.2 kB / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.3143, allocations: 7.25 kB / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3144, allocations: 3.953 kB / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.3146, allocations: 59.66 kB / 443.7 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.3146, allocations: 20.09 kB / 443.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/0.3155, allocations: 1.495 MB / 445.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3157, allocations: 40.98 kB / 445.3 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3157, allocations: 6.594 kB / 445.3 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 (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.0001145/0.3159, allocations: 143.5 kB / 445.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3159, allocations: 14.25 kB / 445.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.3159, allocations: 26.95 kB / 445.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.316, allocations: 3.938 kB / 445.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.316, allocations: 6.781 kB / 445.5 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.316, allocations: 7.922 kB / 445.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3162, allocations: 248.1 kB / 445.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3162, allocations: 0 / 445.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3163, allocations: 14.44 kB / 445.7 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.3164, allocations: 52.95 kB / 445.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3164, allocations: 3.328 kB / 445.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007876/0.3172, allocations: 1.518 MB / 447.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3172, allocations: 0 / 447.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.3177, allocations: 379.7 kB / 447.7 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3177, allocations: 90.73 kB / 447.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3178, allocations: 14.72 kB / 447.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.318, allocations: 25.52 kB / 447.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.318, allocations: 14.31 kB / 447.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3181, allocations: 3 kB / 447.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.3184, allocations: 197.1 kB / 448 MB, free: 31.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3184, allocations: 0 / 448 MB, free: 31.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000241/0.3186, allocations: 33.62 kB / 448.1 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 (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 0.0005833/0.3192, allocations: 0.9052 MB / 449 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3196, allocations: 264.1 kB / 449.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3196, allocations: 0 / 449.2 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.3198, allocations: 196.5 kB / 449.4 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.32, allocations: 15.48 kB / 449.4 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3221, allocations: 1.276 MB / 450.7 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3222, allocations: 0.7328 MB / 451.4 MB, free: 29.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.968e-05/0.3223, allocations: 31.34 kB / 451.5 MB, free: 29.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.3224, allocations: 40.2 kB / 451.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3224, allocations: 0 / 451.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.078/1.4, allocations: 3.416 MB / 454.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001144/1.401, allocations: 184.5 kB / 455.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.954, allocations: 0 / 455.1 MB, free: 28.54 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Tuning_brushup_MSL_loop_base_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Tuning_brushup_MSL_loop_base.fmu > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) Environment - environmentSimulation: