Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.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_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 99.52 kB / 15.71 MB, free: 452 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.001042/0.001043, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.567/1.567, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.236/0.236, allocations: 22.35 MB / 314.1 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.0004241, allocations: 11.98 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4306, allocations: 55.97 MB / 438.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002068/0.4328, allocations: 1.434 MB / 440 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.4339, allocations: 0.642 MB / 440.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.434, allocations: 2.281 kB / 440.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.4344, allocations: 67.64 kB / 440.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.4346, allocations: 81.48 kB / 440.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.435, allocations: 118.6 kB / 440.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.4353, allocations: 218.5 kB / 441.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4354, allocations: 31.88 kB / 441.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.4356, allocations: 115.5 kB / 441.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.4358, allocations: 135.3 kB / 441.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.4359, allocations: 12.22 kB / 441.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.436, allocations: 67.14 kB / 441.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.4361, allocations: 63.22 kB / 441.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.4361, allocations: 50.05 kB / 441.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.4364, allocations: 163.4 kB / 441.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4364, allocations: 0 / 441.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4364, allocations: 0 / 441.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4364, allocations: 0 / 441.7 MB, free: 37.21 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001115/0.4375, allocations: 0.6038 MB / 442.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4376, allocations: 14.34 kB / 442.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.4376, allocations: 22.31 kB / 442.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.4381, allocations: 307.3 kB / 442.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4382, allocations: 5.156 kB / 442.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.4382, allocations: 9.469 kB / 442.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.4385, allocations: 154.2 kB / 442.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4385, allocations: 11 kB / 442.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.4385, allocations: 4 kB / 442.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4385, allocations: 2.906 kB / 442.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.4388, allocations: 136 kB / 443 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.4395, allocations: 0.5031 MB / 443.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.44, allocations: 192.8 kB / 443.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4401, allocations: 105.5 kB / 443.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.4401, allocations: 3.062 kB / 443.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.4404, allocations: 189.6 kB / 444 MB, free: 35.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.4404, allocations: 0 / 444 MB, free: 35.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001178/0.4416, allocations: 0.569 MB / 444.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4416, allocations: 83.44 kB / 444.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.4421, allocations: 312.2 kB / 444.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4421, allocations: 28.61 kB / 444.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.4422, allocations: 135.6 kB / 445.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.4423, allocations: 55.25 kB / 445.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.4423, allocations: 6.812 kB / 445.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.4424, allocations: 331.5 kB / 445.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4425, allocations: 88.27 kB / 445.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4426, allocations: 88.98 kB / 445.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4428, allocations: 120.9 kB / 445.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4428, allocations: 0 / 445.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005516/0.4434, allocations: 396.2 kB / 446.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.4434, allocations: 35.7 kB / 446.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4434, allocations: 6.875 kB / 446.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.4436, allocations: 50.56 kB / 446.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.4438, allocations: 20.38 kB / 446.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4449, allocations: 1.497 MB / 447.7 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.4451, allocations: 42.67 kB / 447.8 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4451, allocations: 6.031 kB / 447.8 MB, free: 32.98 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: C.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: 7 ($whenCondition1,SP.a,SP.b,SP.last,$PRE.SP.nextEvent,SP.nextEvent,SP.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0002294/0.4454, allocations: 206.7 kB / 448 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.4454, allocations: 19.44 kB / 448 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.4455, allocations: 34.5 kB / 448 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4455, allocations: 0 / 448 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4455, allocations: 10.84 kB / 448.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4455, allocations: 0 / 448.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.4458, allocations: 292.3 kB / 448.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4458, allocations: 3.938 kB / 448.3 MB, free: 32.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4459, allocations: 18.53 kB / 448.4 MB, free: 32.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001399/0.446, allocations: 51.3 kB / 448.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.4461, allocations: 13.97 kB / 448.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009628/0.447, allocations: 1.498 MB / 449.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4471, allocations: 0 / 449.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.4478, allocations: 0.5408 MB / 450.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.4479, allocations: 97.64 kB / 450.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.4479, allocations: 9.719 kB / 450.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4481, allocations: 31.41 kB / 450.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.4482, allocations: 17.45 kB / 450.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.4482, allocations: 5.344 kB / 450.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.4487, allocations: 244 kB / 450.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4487, allocations: 0 / 450.9 MB, free: 30.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.449, allocations: 69.38 kB / 450.9 MB, free: 30.62 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],C.x_scaled[1]) * Number of discrete variables: 6 ($whenCondition1,SP.a,SP.b,SP.last,SP.nextEvent,SP.nextEventScaled) * Number of discrete states: 6 (SP.nextEvent,SP.last,SP.nextEventScaled,SP.b,SP.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002187/0.4492, allocations: 128.5 kB / 451.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006752/0.4499, allocations: 437.6 kB / 451.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4499, allocations: 0 / 451.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.4503, allocations: 320.3 kB / 451.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4506, allocations: 32.89 kB / 451.8 MB, free: 30.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.4515, allocations: 0.5611 MB / 452.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.4518, allocations: 0.7611 MB / 453.2 MB, free: 28.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.4518, allocations: 18.14 kB / 453.2 MB, free: 28.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4518, allocations: 0 / 453.2 MB, free: 28.96 MB / 350.1 MB Notification: Performance of Templates: time 0.006234/0.458, allocations: 3.529 MB / 456.7 MB, free: 28.69 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.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_SPtimeTableCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTableCalcHelperMain.o] Error 1