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.001423/0.001424, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001737/0.001737, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1972/0.1972, allocations: 22.35 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 59.89 kB / 380.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3003, allocations: 54.94 MB / 435.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002006/0.3024, allocations: 1.035 MB / 436.3 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3034, allocations: 1.194 MB / 437.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.3035, allocations: 7.281 kB / 437.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3038, allocations: 28.7 kB / 437.5 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3039, allocations: 33.42 kB / 437.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.3041, allocations: 66.16 kB / 437.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.3043, allocations: 204.5 kB / 437.8 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.3044, allocations: 29.09 kB / 437.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.3045, allocations: 89.02 kB / 437.9 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3046, allocations: 95.69 kB / 438 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3047, allocations: 13.16 kB / 438 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.3047, allocations: 10.59 kB / 438 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.3048, allocations: 53.83 kB / 438.1 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.3048, allocations: 54.2 kB / 438.1 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.305, allocations: 131 kB / 438.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.305, allocations: 4 kB / 438.3 MB, free: 37.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.305, allocations: 0 / 438.3 MB, free: 37.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.305, allocations: 0 / 438.3 MB, free: 37.79 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.001069/0.3061, allocations: 0.5268 MB / 438.8 MB, free: 37.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3061, allocations: 10.75 kB / 438.8 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.3062, allocations: 21.19 kB / 438.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.3066, allocations: 282.5 kB / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3067, allocations: 15.23 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3067, allocations: 5.875 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3069, allocations: 111.6 kB / 439.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3069, allocations: 0 / 439.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3069, allocations: 7 kB / 439.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3069, allocations: 3.938 kB / 439.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.3071, allocations: 98.92 kB / 439.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.3077, allocations: 458.3 kB / 439.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.3081, allocations: 162.9 kB / 439.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3082, allocations: 62.03 kB / 440 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3082, allocations: 2.375 kB / 440 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.3082, allocations: 34.56 kB / 440 MB, free: 36.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3082, allocations: 0 / 440 MB, free: 36.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000937/0.3092, allocations: 396 kB / 440.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.3092, allocations: 57.5 kB / 440.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.3096, allocations: 254.1 kB / 440.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3097, allocations: 29.7 kB / 440.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3097, allocations: 112.9 kB / 440.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.3098, allocations: 52.88 kB / 440.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3098, allocations: 26.75 kB / 440.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.3099, allocations: 327.8 kB / 441.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.31, allocations: 55.97 kB / 441.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.463e-05/0.3101, allocations: 51.73 kB / 441.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.311, allocations: 335.7 kB / 441.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3111, allocations: 3.938 kB / 441.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003883/0.3114, allocations: 239.2 kB / 441.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3115, allocations: 3.969 kB / 441.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3115, allocations: 7.719 kB / 441.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.3117, allocations: 53.84 kB / 442 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.3118, allocations: 17.7 kB / 442 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009663/0.3127, allocations: 1.599 MB / 443.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.313, allocations: 35.22 kB / 443.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.313, allocations: 2.688 kB / 443.6 MB, free: 33.88 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.0001294/0.3131, allocations: 139.5 kB / 443.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.3132, allocations: 14.03 kB / 443.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.3132, allocations: 27.62 kB / 443.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3132, allocations: 6.781 kB / 443.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3132, allocations: 0 / 443.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3133, allocations: 0 / 443.8 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3134, allocations: 247.4 kB / 444.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3135, allocations: 0 / 444.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3136, allocations: 15.34 kB / 444.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.3137, allocations: 51.98 kB / 444.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3138, allocations: 10.06 kB / 444.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/0.3146, allocations: 1.613 MB / 445.8 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3147, allocations: 0 / 445.8 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.3152, allocations: 381.5 kB / 446.1 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.3152, allocations: 86.98 kB / 446.2 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3152, allocations: 10.02 kB / 446.2 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3155, allocations: 30.19 kB / 446.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.3155, allocations: 14.64 kB / 446.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.3155, allocations: 2.844 kB / 446.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.3159, allocations: 193.2 kB / 446.5 MB, free: 31.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3159, allocations: 4 kB / 446.5 MB, free: 31.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3162, allocations: 42.72 kB / 446.5 MB, free: 31.52 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.516e-05/0.3163, allocations: 101.5 kB / 446.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.3167, allocations: 267 kB / 446.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3167, allocations: 3.938 kB / 446.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.3169, allocations: 196.4 kB / 447.1 MB, free: 31.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3173, allocations: 19.75 kB / 447.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.3178, allocations: 400.2 kB / 447.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.3179, allocations: 0.7318 MB / 448.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.318, allocations: 30.12 kB / 448.2 MB, free: 30.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.318, allocations: 15.31 kB / 448.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.318, allocations: 0 / 448.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of Templates: time 0.003987/0.322, allocations: 1.85 MB / 450.1 MB, free: 30.01 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)