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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07563/0.07563, allocations: 17.69 MB / 33.64 MB, free: 1.613 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009923, allocations: 177.5 kB / 38.92 MB, free: 8.246 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 249.5 MB, free: 2.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 101.8 kB / 302.2 MB, free: 4.41 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007091/0.0007095, allocations: 15.94 kB / 366.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3078, allocations: 51.99 MB / 418.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00132/0.3091, allocations: 0.6638 MB / 419.6 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3108, allocations: 1.211 MB / 420.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.311, allocations: 0 / 420.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.3114, allocations: 31.84 kB / 420.8 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.3116, allocations: 35.84 kB / 420.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.3118, allocations: 51.91 kB / 420.9 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.312, allocations: 163.7 kB / 421.1 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3121, allocations: 33.42 kB / 421.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3123, allocations: 79.67 kB / 421.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3124, allocations: 75.72 kB / 421.3 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.3124, allocations: 8 kB / 421.3 MB, free: 22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.116e-05/0.3125, allocations: 4 kB / 421.3 MB, free: 22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.3126, allocations: 43.88 kB / 421.3 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.3127, allocations: 77.36 kB / 421.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3128, allocations: 123.5 kB / 421.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3128, allocations: 0 / 421.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3128, allocations: 0 / 421.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3128, allocations: 3.938 kB / 421.5 MB, free: 21.75 MB / 298.7 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.001151/0.314, allocations: 0.5027 MB / 422 MB, free: 21.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.314, allocations: 8.031 kB / 422 MB, free: 21.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.3141, allocations: 16.75 kB / 422.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.3147, allocations: 287.9 kB / 422.3 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3147, allocations: 8.375 kB / 422.3 MB, free: 20.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3147, allocations: 12.38 kB / 422.4 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3149, allocations: 105.9 kB / 422.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.315, allocations: 3.984 kB / 422.5 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.315, allocations: 4 kB / 422.5 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.315, allocations: 4 kB / 422.5 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.3152, allocations: 103.9 kB / 422.6 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.316, allocations: 464.4 kB / 423 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.3164, allocations: 158.4 kB / 423.2 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3166, allocations: 68.81 kB / 423.2 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.729e-05/0.3167, allocations: 0 / 423.2 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3167, allocations: 30.56 kB / 423.3 MB, free: 19.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3167, allocations: 4 kB / 423.3 MB, free: 19.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.00108/0.3178, allocations: 403.5 kB / 423.7 MB, free: 19.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3179, allocations: 59.34 kB / 423.7 MB, free: 19.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.3183, allocations: 250.6 kB / 424 MB, free: 19.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3184, allocations: 25.7 kB / 424 MB, free: 19.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.3185, allocations: 116 kB / 424.1 MB, free: 18.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.3185, allocations: 39.39 kB / 424.2 MB, free: 18.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.3185, allocations: 4 kB / 424.2 MB, free: 18.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3187, allocations: 326.8 kB / 424.5 MB, free: 18.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3188, allocations: 55.95 kB / 424.5 MB, free: 18.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.3189, allocations: 47.97 kB / 424.6 MB, free: 18.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.32, allocations: 336.5 kB / 424.9 MB, free: 18.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.32, allocations: 0 / 424.9 MB, free: 18.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000451/0.3205, allocations: 234.2 kB / 425.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3205, allocations: 4 kB / 425.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3205, allocations: 3.984 kB / 425.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.3208, allocations: 52.81 kB / 425.2 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3209, allocations: 31.92 kB / 425.2 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.3222, allocations: 1.488 MB / 426.7 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3224, allocations: 51.83 kB / 426.8 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3224, allocations: 0 / 426.8 MB, free: 16.12 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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.0001906/0.3226, allocations: 141.5 kB / 426.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.3226, allocations: 19.81 kB / 426.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.3227, allocations: 25.39 kB / 426.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3227, allocations: 4 kB / 427 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3227, allocations: 7.938 kB / 427 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3227, allocations: 3.938 kB / 427 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.323, allocations: 249.5 kB / 427.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.323, allocations: 0 / 427.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3231, allocations: 19.98 kB / 427.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.3232, allocations: 52.75 kB / 427.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3233, allocations: 4 kB / 427.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/0.3242, allocations: 1.499 MB / 428.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3242, allocations: 0 / 428.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.3247, allocations: 372.5 kB / 429.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.3248, allocations: 100.8 kB / 429.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3248, allocations: 7.984 kB / 429.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.325, allocations: 28.03 kB / 429.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.3251, allocations: 15.97 kB / 429.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3251, allocations: 4 kB / 429.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003374/0.3255, allocations: 196.2 kB / 429.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3255, allocations: 4 kB / 429.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.3257, allocations: 31.94 kB / 429.5 MB, free: 13.14 MB / 298.7 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.000104/0.3258, allocations: 99.25 kB / 429.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.3263, allocations: 258.7 kB / 429.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3263, allocations: 0 / 429.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3265, allocations: 198.5 kB / 430.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3268, allocations: 23.92 kB / 430.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.3273, allocations: 383.4 kB / 430.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3275, allocations: 0.7322 MB / 431.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.78e-05/0.3276, allocations: 33.06 kB / 431.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3276, allocations: 15.44 kB / 431.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3276, allocations: 0 / 431.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of Templates: time 0.003758/0.3314, allocations: 1.687 MB / 432.9 MB, free: 9.645 MB / 298.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)