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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001765/0.001765, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2026/0.2026, allocations: 22.37 MB / 312.3 MB, free: 12.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.84 kB / 380.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 54.94 MB / 435 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002016/0.2829, allocations: 1.033 MB / 436.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2839, allocations: 1.2 MB / 437.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.284, allocations: 0 / 437.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.2843, allocations: 30.47 kB / 437.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.2844, allocations: 35.64 kB / 437.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.2846, allocations: 68.62 kB / 437.4 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.2848, allocations: 191.2 kB / 437.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2849, allocations: 33.67 kB / 437.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.285, allocations: 80.91 kB / 437.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.2851, allocations: 83.98 kB / 437.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.2851, allocations: 5.031 kB / 437.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.396e-05/0.2852, allocations: 7.125 kB / 437.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.2853, allocations: 50.47 kB / 437.9 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.2853, allocations: 56.77 kB / 437.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2854, allocations: 129.6 kB / 438 MB, free: 37.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2854, allocations: 2.156 kB / 438 MB, free: 37.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2855, allocations: 0 / 438 MB, free: 37.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2855, allocations: 4 kB / 438 MB, free: 37.82 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.00106/0.2865, allocations: 0.5187 MB / 438.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2866, allocations: 11.81 kB / 438.6 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.2866, allocations: 19.41 kB / 438.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.2871, allocations: 291.6 kB / 438.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2871, allocations: 3.188 kB / 438.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2872, allocations: 10.16 kB / 438.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2874, allocations: 113.3 kB / 439 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2874, allocations: 0 / 439 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2874, allocations: 2.688 kB / 439 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2874, allocations: 3.469 kB / 439 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.2877, allocations: 100.3 kB / 439.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.2883, allocations: 466 kB / 439.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.2886, allocations: 153.1 kB / 439.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2888, allocations: 72.19 kB / 439.8 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2888, allocations: 4 kB / 439.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2888, allocations: 34.5 kB / 439.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2888, allocations: 0 / 439.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009415/0.2898, allocations: 399.7 kB / 440.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2898, allocations: 57.91 kB / 440.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.2902, allocations: 253.8 kB / 440.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2902, allocations: 25.7 kB / 440.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.2903, allocations: 113.1 kB / 440.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2903, allocations: 48.98 kB / 440.7 MB, free: 36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.2904, allocations: 25.94 kB / 440.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.2904, allocations: 331.4 kB / 441 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.2905, allocations: 47.36 kB / 441.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.2906, allocations: 49.89 kB / 441.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2916, allocations: 338.7 kB / 441.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2917, allocations: 0 / 441.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004052/0.2921, allocations: 239.6 kB / 441.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2921, allocations: 9.562 kB / 441.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2921, allocations: 0 / 441.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.2923, allocations: 55.72 kB / 441.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.2924, allocations: 18.94 kB / 441.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.2934, allocations: 1.492 MB / 443.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2936, allocations: 32.22 kB / 443.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2937, allocations: 7.344 kB / 443.3 MB, free: 34.02 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.000131/0.2938, allocations: 144.7 kB / 443.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.2938, allocations: 15.44 kB / 443.5 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.2939, allocations: 30.38 kB / 443.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2939, allocations: 0 / 443.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2939, allocations: 2.594 kB / 443.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2939, allocations: 3.938 kB / 443.5 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2941, allocations: 243.2 kB / 443.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2941, allocations: 3.375 kB / 443.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2942, allocations: 12.91 kB / 443.8 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.2944, allocations: 60.5 kB / 443.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2944, allocations: 0 / 443.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008353/0.2952, allocations: 1.5 MB / 445.3 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2953, allocations: 0 / 445.3 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.2958, allocations: 388 kB / 445.7 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.2958, allocations: 94.52 kB / 445.8 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2958, allocations: 10.78 kB / 445.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.2961, allocations: 26.45 kB / 445.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.2961, allocations: 16.95 kB / 445.8 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2961, allocations: 2.938 kB / 445.8 MB, free: 31.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003383/0.2965, allocations: 197.7 kB / 446 MB, free: 31.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 0 / 446 MB, free: 31.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.2968, allocations: 34.09 kB / 446.1 MB, free: 31.77 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.316e-05/0.2969, allocations: 101.8 kB / 446.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.2973, allocations: 252.1 kB / 446.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2973, allocations: 0 / 446.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.2975, allocations: 203.1 kB / 446.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2978, allocations: 25.22 kB / 446.6 MB, free: 31.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.2984, allocations: 391.1 kB / 447 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2985, allocations: 0.7296 MB / 447.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.2986, allocations: 32.92 kB / 447.8 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.2986, allocations: 15.16 kB / 447.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2986, allocations: 0 / 447.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of Templates: time 0.003951/0.3026, allocations: 1.773 MB / 449.6 MB, free: 30.26 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)