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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2197/0.2197, allocations: 22.35 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 380.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3325, allocations: 54.95 MB / 435.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002253/0.3348, allocations: 0.9694 MB / 436.7 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3361, allocations: 1.201 MB / 437.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.3362, allocations: 0 / 437.9 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.3365, allocations: 41.06 kB / 438 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.3366, allocations: 44.41 kB / 438 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.3368, allocations: 65.17 kB / 438.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.337, allocations: 206.9 kB / 438.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3371, allocations: 30.25 kB / 438.3 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3372, allocations: 84.11 kB / 438.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3374, allocations: 96.47 kB / 438.5 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.3374, allocations: 10.53 kB / 438.5 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.3375, allocations: 15.56 kB / 438.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.3375, allocations: 53.08 kB / 438.6 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.3376, allocations: 61.72 kB / 438.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.3378, allocations: 131 kB / 438.7 MB, free: 38.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3378, allocations: 0 / 438.7 MB, free: 38.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3378, allocations: 0 / 438.7 MB, free: 38.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3378, allocations: 0 / 438.7 MB, free: 38.06 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.001061/0.3388, allocations: 0.5235 MB / 439.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3389, allocations: 10.88 kB / 439.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.339, allocations: 14.06 kB / 439.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.3395, allocations: 291.4 kB / 439.6 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3395, allocations: 7.125 kB / 439.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3395, allocations: 10.06 kB / 439.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.3397, allocations: 106.9 kB / 439.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3398, allocations: 0 / 439.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3398, allocations: 6.75 kB / 439.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3398, allocations: 4 kB / 439.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.34, allocations: 112.6 kB / 439.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.3406, allocations: 464.1 kB / 440.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.341, allocations: 154.9 kB / 440.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3411, allocations: 66.84 kB / 440.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3411, allocations: 0 / 440.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.3411, allocations: 33.41 kB / 440.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.3412, allocations: 0 / 440.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009423/0.3421, allocations: 399.1 kB / 440.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.3421, allocations: 63.22 kB / 441 MB, free: 36.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.3426, allocations: 241.4 kB / 441.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3426, allocations: 25.7 kB / 441.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3426, allocations: 117.2 kB / 441.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.3427, allocations: 44.77 kB / 441.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.3427, allocations: 30.53 kB / 441.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.3428, allocations: 327.6 kB / 441.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.3429, allocations: 47.94 kB / 441.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.343, allocations: 52.94 kB / 441.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.344, allocations: 332.6 kB / 442.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.344, allocations: 3.938 kB / 442.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000408/0.3444, allocations: 236.3 kB / 442.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3445, allocations: 7.844 kB / 442.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3445, allocations: 0 / 442.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.3447, allocations: 55.47 kB / 442.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.3448, allocations: 24.95 kB / 442.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.3459, allocations: 1.602 MB / 444.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3461, allocations: 32 kB / 444.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3462, allocations: 10.72 kB / 444.1 MB, free: 34.15 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.0001486/0.3463, allocations: 137.7 kB / 444.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.3464, allocations: 13.94 kB / 444.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.3464, allocations: 26.44 kB / 444.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3464, allocations: 3.938 kB / 444.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3464, allocations: 2.875 kB / 444.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3464, allocations: 0 / 444.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3467, allocations: 250.3 kB / 444.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3467, allocations: 4 kB / 444.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3468, allocations: 15.92 kB / 444.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.3469, allocations: 62.03 kB / 444.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.347, allocations: 2.75 kB / 444.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009456/0.3479, allocations: 1.602 MB / 446.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3479, allocations: 3.938 kB / 446.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.3484, allocations: 374.7 kB / 446.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.3485, allocations: 90.83 kB / 446.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3485, allocations: 6.188 kB / 446.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3487, allocations: 24.59 kB / 446.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.3488, allocations: 21.23 kB / 446.8 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3488, allocations: 2.75 kB / 446.8 MB, free: 31.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003614/0.3492, allocations: 199 kB / 446.9 MB, free: 31.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3492, allocations: 0 / 446.9 MB, free: 31.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3495, allocations: 40.81 kB / 447 MB, free: 31.8 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 9.012e-05/0.3496, allocations: 98.5 kB / 447.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.35, allocations: 273.2 kB / 447.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.35, allocations: 0 / 447.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.3503, allocations: 186.4 kB / 447.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3506, allocations: 27 kB / 447.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.3512, allocations: 362.2 kB / 447.9 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3514, allocations: 0.7367 MB / 448.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.3515, allocations: 28.38 kB / 448.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3516, allocations: 13.38 kB / 448.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3516, allocations: 0 / 448.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of Templates: time 0.004738/0.3563, allocations: 1.886 MB / 450.6 MB, free: 30.32 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)