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.0008972/0.0008973, allocations: 102.1 kB / 15.71 MB, free: 460 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.001019/0.001019, allocations: 174.6 kB / 16.58 MB, free: 6.402 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.521/1.521, allocations: 223.2 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3153/0.3153, allocations: 22.36 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 8 kB / 382.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4281, allocations: 55.98 MB / 438.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001239/0.4294, allocations: 0.6653 MB / 439.2 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.4307, allocations: 1.162 MB / 440.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.4308, allocations: 2.688 kB / 440.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.4312, allocations: 34.06 kB / 440.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.4313, allocations: 41.05 kB / 440.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.4315, allocations: 59.48 kB / 440.5 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.4317, allocations: 165.3 kB / 440.7 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4318, allocations: 29.59 kB / 440.7 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.432, allocations: 90.97 kB / 440.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.4321, allocations: 90.88 kB / 440.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.4322, allocations: 5.594 kB / 440.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.4322, allocations: 4.938 kB / 440.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.4323, allocations: 44.16 kB / 440.9 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.4323, allocations: 40.7 kB / 441 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.4325, allocations: 93.72 kB / 441.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4325, allocations: 0 / 441.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4325, allocations: 0 / 441.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.4325, allocations: 0 / 441.1 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.001066/0.4336, allocations: 0.517 MB / 441.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4336, allocations: 8.969 kB / 441.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.4337, allocations: 16.44 kB / 441.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.4342, allocations: 268.9 kB / 441.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4343, allocations: 9.781 kB / 441.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4343, allocations: 5.625 kB / 441.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.4346, allocations: 114.9 kB / 442 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4346, allocations: 0 / 442 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.4346, allocations: 7.953 kB / 442 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4346, allocations: 2.906 kB / 442 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.4349, allocations: 101.6 kB / 442.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.4356, allocations: 462 kB / 442.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.436, allocations: 157.1 kB / 442.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4361, allocations: 61.97 kB / 442.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4362, allocations: 6.812 kB / 442.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.4362, allocations: 34.56 kB / 442.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.4362, allocations: 0 / 442.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009685/0.4372, allocations: 407.8 kB / 443.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4372, allocations: 51.41 kB / 443.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.4377, allocations: 258.7 kB / 443.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4377, allocations: 32.3 kB / 443.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.4378, allocations: 108.7 kB / 443.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.4378, allocations: 43.94 kB / 443.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.4378, allocations: 0 / 443.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.4379, allocations: 330.8 kB / 444 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.438, allocations: 43.23 kB / 444.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.4381, allocations: 54.61 kB / 444.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.4382, allocations: 64.89 kB / 444.2 MB, free: 35.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4382, allocations: 0 / 444.2 MB, free: 35.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004064/0.4386, allocations: 230.3 kB / 444.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4387, allocations: 9.562 kB / 444.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4387, allocations: 7.891 kB / 444.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.4389, allocations: 55.55 kB / 444.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.439, allocations: 18.22 kB / 444.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.4402, allocations: 1.495 MB / 446 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4404, allocations: 46.94 kB / 446 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4404, allocations: 2.812 kB / 446 MB, free: 34.07 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 (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.0001561/0.4406, allocations: 140.7 kB / 446.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.4406, allocations: 16.78 kB / 446.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.4407, allocations: 31.72 kB / 446.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4407, allocations: 6.891 kB / 446.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4407, allocations: 0 / 446.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4407, allocations: 0 / 446.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4409, allocations: 244.5 kB / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4409, allocations: 3.328 kB / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.441, allocations: 15.56 kB / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.4412, allocations: 50.28 kB / 446.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4412, allocations: 2.875 kB / 446.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.4423, allocations: 1.501 MB / 448 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4423, allocations: 4.062 kB / 448 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.4429, allocations: 380.7 kB / 448.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.4429, allocations: 94.73 kB / 448.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4429, allocations: 6.359 kB / 448.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4432, allocations: 28.52 kB / 448.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.4432, allocations: 13.42 kB / 448.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4432, allocations: 2.719 kB / 448.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.4436, allocations: 197.6 kB / 448.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4436, allocations: 4 kB / 448.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.4439, allocations: 29.75 kB / 448.8 MB, free: 31.84 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 (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 9.87e-05/0.444, allocations: 104.4 kB / 448.9 MB, free: 31.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.4444, allocations: 255.1 kB / 449.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4444, allocations: 0 / 449.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.4447, allocations: 198.9 kB / 449.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.445, allocations: 26.7 kB / 449.4 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.4456, allocations: 427.1 kB / 449.8 MB, free: 31.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.4458, allocations: 0.7305 MB / 450.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.4459, allocations: 16.22 kB / 450.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4459, allocations: 0 / 450.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of Templates: time 0.004507/0.4504, allocations: 2.471 MB / 453 MB, free: 30.29 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_baseCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_baseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_baseCalcHelperMain.o] Error 1