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.005861/0.005861, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001174/0.001175, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.33/1.33, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2002/0.2002, allocations: 22.36 MB / 313 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 71.89 kB / 380.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 54.94 MB / 435.7 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001902/0.2474, allocations: 1.025 MB / 436.7 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.2484, allocations: 1.198 MB / 437.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.2485, allocations: 2.906 kB / 437.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.2488, allocations: 27.08 kB / 438 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2489, allocations: 44.64 kB / 438 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.249, allocations: 64.47 kB / 438.1 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.2492, allocations: 194.1 kB / 438.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.2493, allocations: 27.36 kB / 438.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.2494, allocations: 70.77 kB / 438.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2495, allocations: 100.4 kB / 438.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.2496, allocations: 11.25 kB / 438.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.117e-05/0.2496, allocations: 5.75 kB / 438.5 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.2497, allocations: 42.09 kB / 438.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.2497, allocations: 54.95 kB / 438.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.2498, allocations: 97.3 kB / 438.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2498, allocations: 0 / 438.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2499, allocations: 0 / 438.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2499, allocations: 0 / 438.7 MB, free: 37.68 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.001016/0.2509, allocations: 0.5276 MB / 439.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2509, allocations: 14.12 kB / 439.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.251, allocations: 22.03 kB / 439.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.2514, allocations: 284.4 kB / 439.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2515, allocations: 6.531 kB / 439.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.2515, allocations: 8.406 kB / 439.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2517, allocations: 113.8 kB / 439.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2517, allocations: 6.547 kB / 439.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2517, allocations: 4 kB / 439.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2517, allocations: 6.562 kB / 439.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.252, allocations: 96.09 kB / 439.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.2525, allocations: 465.6 kB / 440.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.2529, allocations: 160.2 kB / 440.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.253, allocations: 62.2 kB / 440.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.253, allocations: 0 / 440.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.2531, allocations: 37.09 kB / 440.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.2531, allocations: 4 kB / 440.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009403/0.254, allocations: 400.7 kB / 440.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.254, allocations: 51.41 kB / 440.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.2545, allocations: 254.4 kB / 441.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.2545, allocations: 25.7 kB / 441.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.2545, allocations: 111.5 kB / 441.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2546, allocations: 55.58 kB / 441.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.2546, allocations: 25.44 kB / 441.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.2547, allocations: 326.7 kB / 441.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.2548, allocations: 51.58 kB / 441.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.523e-05/0.2548, allocations: 47.53 kB / 441.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.2558, allocations: 345.2 kB / 442.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2559, allocations: 0 / 442.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004076/0.2563, allocations: 236.1 kB / 442.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2563, allocations: 5.625 kB / 442.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2563, allocations: 0 / 442.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.2565, allocations: 54.8 kB / 442.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.2566, allocations: 22.38 kB / 442.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009452/0.2576, allocations: 1.489 MB / 443.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.2578, allocations: 43.52 kB / 443.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2578, allocations: 0 / 443.9 MB, free: 33.86 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.0001249/0.2579, allocations: 141.1 kB / 444.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.258, allocations: 16.56 kB / 444.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.258, allocations: 28.44 kB / 444.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.258, allocations: 2.938 kB / 444.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2581, allocations: 4 kB / 444.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2581, allocations: 6.984 kB / 444.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.2583, allocations: 247 kB / 444.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2583, allocations: 0 / 444.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2584, allocations: 20.56 kB / 444.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.2586, allocations: 49.36 kB / 444.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2586, allocations: 6.812 kB / 444.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008675/0.2595, allocations: 1.499 MB / 446 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2595, allocations: 0 / 446 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.26, allocations: 388.6 kB / 446.3 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.26, allocations: 96.58 kB / 446.4 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2601, allocations: 0 / 446.4 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.2603, allocations: 30.91 kB / 446.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.2604, allocations: 10.17 kB / 446.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2604, allocations: 6.109 kB / 446.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.2607, allocations: 198.3 kB / 446.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2607, allocations: 0 / 446.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.261, allocations: 33.97 kB / 446.7 MB, free: 31.61 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 7.662e-05/0.2611, allocations: 100.9 kB / 446.8 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.2615, allocations: 268.9 kB / 447.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2615, allocations: 0 / 447.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.2618, allocations: 189.4 kB / 447.2 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.2621, allocations: 29.48 kB / 447.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.2626, allocations: 422.8 kB / 447.7 MB, free: 30.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.2628, allocations: 0.734 MB / 448.4 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2628, allocations: 16.09 kB / 448.4 MB, free: 30.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2628, allocations: 0 / 448.4 MB, free: 30.2 MB / 350.1 MB Notification: Performance of Templates: time 0.003401/0.2662, allocations: 2.499 MB / 450.9 MB, free: 30.02 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)