Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007956/0.0007957, allocations: 102.7 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.0009598/0.0009596, allocations: 175.5 kB / 16.58 MB, free: 6.398 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.539/1.539, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2933/0.2933, allocations: 22.36 MB / 314.1 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 8 kB / 382.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4594, allocations: 55.99 MB / 438.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.0015/0.461, allocations: 0.7446 MB / 439.3 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.4624, allocations: 1.215 MB / 440.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.4625, allocations: 6.188 kB / 440.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.4629, allocations: 48.3 kB / 440.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.4631, allocations: 52.33 kB / 440.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.4632, allocations: 92.25 kB / 440.7 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.4635, allocations: 242.3 kB / 440.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.4637, allocations: 33.48 kB / 441 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.4639, allocations: 134.9 kB / 441.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4641, allocations: 144.5 kB / 441.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.4641, allocations: 8.688 kB / 441.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-05/0.4642, allocations: 14.53 kB / 441.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.4643, allocations: 75.88 kB / 441.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.4643, allocations: 51.3 kB / 441.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.4645, allocations: 162.4 kB / 441.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4645, allocations: 0 / 441.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4645, allocations: 0 / 441.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4645, allocations: 3.938 kB / 441.6 MB, free: 37.48 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00137/0.4659, allocations: 0.6376 MB / 442.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.466, allocations: 9.156 kB / 442.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.466, allocations: 27.84 kB / 442.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.4667, allocations: 358 kB / 442.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4667, allocations: 9.875 kB / 442.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.4668, allocations: 16.44 kB / 442.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.4671, allocations: 158.9 kB / 442.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4671, allocations: 3.375 kB / 442.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.4671, allocations: 7.953 kB / 442.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.4672, allocations: 2.625 kB / 442.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.4675, allocations: 172.9 kB / 443 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.4684, allocations: 0.6262 MB / 443.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.4688, allocations: 217.9 kB / 443.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.469, allocations: 114.4 kB / 443.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.469, allocations: 2.938 kB / 443.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4691, allocations: 34.56 kB / 443.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.4691, allocations: 0 / 443.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001592/0.4707, allocations: 0.6384 MB / 444.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4707, allocations: 59.06 kB / 444.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.4713, allocations: 340.3 kB / 445 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4714, allocations: 29.45 kB / 445 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.4714, allocations: 144 kB / 445.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.4715, allocations: 74.44 kB / 445.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.4715, allocations: 3.938 kB / 445.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.4716, allocations: 340.9 kB / 445.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4718, allocations: 85.86 kB / 445.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4719, allocations: 99.28 kB / 445.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.4721, allocations: 106.2 kB / 445.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4721, allocations: 0 / 445.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006488/0.4728, allocations: 394 kB / 446.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4728, allocations: 9.234 kB / 446.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4728, allocations: 0 / 446.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.4731, allocations: 95.83 kB / 446.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4733, allocations: 29.38 kB / 446.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.4748, allocations: 1.739 MB / 448.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.4751, allocations: 50.61 kB / 448.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4752, allocations: 9.688 kB / 448.1 MB, free: 33.28 MB / 350.1 MB Warning: Assuming fixed start value for the following 6 variables: M.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] HF.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 (21): * Single equations (assignments): 20 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.4754, allocations: 166.8 kB / 448.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.4754, allocations: 23.7 kB / 448.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.4755, allocations: 39.41 kB / 448.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4755, allocations: 2.969 kB / 448.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4755, allocations: 0 / 448.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4755, allocations: 2.938 kB / 448.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.4759, allocations: 321.3 kB / 448.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4759, allocations: 4 kB / 448.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.4761, allocations: 31.25 kB / 448.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.4763, allocations: 100.5 kB / 448.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.4764, allocations: 3.906 kB / 448.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.4777, allocations: 1.736 MB / 450.6 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4777, allocations: 3.938 kB / 450.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/0.4785, allocations: 0.5585 MB / 451.1 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.4786, allocations: 102.5 kB / 451.2 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.4786, allocations: 6.625 kB / 451.2 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.4789, allocations: 46.03 kB / 451.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.479, allocations: 19.7 kB / 451.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.479, allocations: 3.375 kB / 451.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.4795, allocations: 278.8 kB / 451.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4795, allocations: 3.938 kB / 451.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000312/0.4799, allocations: 62.03 kB / 451.6 MB, free: 30.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.48, allocations: 98.77 kB / 451.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.4806, allocations: 377.9 kB / 452.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4806, allocations: 4 kB / 452.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.481, allocations: 252.6 kB / 452.3 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4814, allocations: 35.78 kB / 452.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.4823, allocations: 0.6521 MB / 453 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4826, allocations: 0.7633 MB / 453.8 MB, free: 29.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.4827, allocations: 19.12 kB / 453.8 MB, free: 29.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4827, allocations: 0 / 453.8 MB, free: 29.23 MB / 350.1 MB Notification: Performance of Templates: time 0.006244/0.489, allocations: 3.666 MB / 457.5 MB, free: 28.99 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.IMC_scheme_1dofCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.IMC_scheme_1dofCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.IMC_scheme_1dofCalcHelperMain.o] Error 1