Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digital.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.PI_loop_analogue_digital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digital") translateModel(AES.Coursework.Tuning_brushup.PI_loop_analogue_digital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digital") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 100.5 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.001599/0.001599, allocations: 176 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.542/1.542, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2938/0.2938, allocations: 22.35 MB / 314.1 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004349, allocations: 8 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4443, allocations: 55.98 MB / 438.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.PI_loop_analogue_digital): time 0.002129/0.4465, allocations: 1.658 MB / 440.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4476, allocations: 0.6618 MB / 440.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4477, allocations: 2.938 kB / 440.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.448, allocations: 36.75 kB / 440.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.4482, allocations: 51.23 kB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.4486, allocations: 123.3 kB / 441.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.4489, allocations: 291.1 kB / 441.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.449, allocations: 67.97 kB / 441.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4492, allocations: 116.2 kB / 441.5 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.4494, allocations: 152 kB / 441.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.4495, allocations: 8.594 kB / 441.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.4495, allocations: 11.5 kB / 441.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.4496, allocations: 68.31 kB / 441.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.4497, allocations: 60.95 kB / 441.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.4499, allocations: 202.5 kB / 442 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4499, allocations: 0 / 442 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4499, allocations: 0 / 442 MB, free: 37.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4499, allocations: 0 / 442 MB, free: 37.1 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001261/0.4512, allocations: 0.6958 MB / 442.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4512, allocations: 13.45 kB / 442.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.4513, allocations: 32.59 kB / 442.8 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.4519, allocations: 337.3 kB / 443.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4519, allocations: 16.73 kB / 443.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.452, allocations: 16.69 kB / 443.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.4524, allocations: 257 kB / 443.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4524, allocations: 10.86 kB / 443.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4524, allocations: 12 kB / 443.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4524, allocations: 5.75 kB / 443.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.4529, allocations: 203.7 kB / 443.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.4539, allocations: 0.7103 MB / 444.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.4545, allocations: 274.3 kB / 444.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.4547, allocations: 137.5 kB / 444.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4548, allocations: 2.875 kB / 444.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.4551, allocations: 199.7 kB / 444.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.4551, allocations: 0 / 444.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002011/0.4571, allocations: 0.9594 MB / 445.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4572, allocations: 142.5 kB / 446 MB, free: 34.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.4577, allocations: 313.8 kB / 446.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4577, allocations: 32.67 kB / 446.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.4578, allocations: 160.7 kB / 446.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.4579, allocations: 78.25 kB / 446.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.4579, allocations: 6.969 kB / 446.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.458, allocations: 342.4 kB / 446.9 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.4582, allocations: 112 kB / 447.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.4584, allocations: 139.5 kB / 447.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.4586, allocations: 184 kB / 447.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4586, allocations: 0 / 447.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008994/0.4596, allocations: 0.5249 MB / 447.9 MB, free: 33.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.4597, allocations: 159.8 kB / 448 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4597, allocations: 7.406 kB / 448.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.46, allocations: 94.09 kB / 448.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4602, allocations: 37.97 kB / 448.2 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.4622, allocations: 1.938 MB / 450.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.4625, allocations: 55.14 kB / 450.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.4625, allocations: 5.719 kB / 450.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.4625, allocations: 5.656 kB / 450.2 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006131/0.4631, allocations: 408.3 kB / 450.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4631, allocations: 2.188 kB / 450.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.4633, allocations: 63.77 kB / 450.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4634, allocations: 35.2 kB / 450.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4646, allocations: 1.673 MB / 452.4 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4648, allocations: 47.52 kB / 452.4 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4648, allocations: 7.562 kB / 452.4 MB, free: 30.07 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: Process_d.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_d.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_a.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_a.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: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.PI_d.xfb,PI_d.xfb,$PRE.PI_d.ulin,PI_d.ulin,$PRE.PI_d.ulino,PI_d.ulino,$PRE.PI_d.u,PI_d.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.4651, allocations: 278.1 kB / 452.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.4652, allocations: 28.17 kB / 452.7 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.4652, allocations: 38.05 kB / 452.7 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4653, allocations: 6.047 kB / 452.8 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4653, allocations: 3.953 kB / 452.8 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4653, allocations: 0 / 452.8 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.4656, allocations: 352.6 kB / 453.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4656, allocations: 4 kB / 453.1 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.4657, allocations: 27.27 kB / 453.1 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.4661, allocations: 194.4 kB / 453.3 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.4662, allocations: 9.953 kB / 453.3 MB, free: 29.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.4682, allocations: 2.48 MB / 455.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4682, allocations: 8.047 kB / 455.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.4694, allocations: 0.7118 MB / 456.5 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.4695, allocations: 105.3 kB / 456.6 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.4695, allocations: 9.219 kB / 456.6 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4698, allocations: 46.84 kB / 456.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.4699, allocations: 18.48 kB / 456.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4699, allocations: 6.531 kB / 456.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004133/0.4703, allocations: 243.2 kB / 457 MB, free: 26.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4703, allocations: 0 / 457 MB, free: 26.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000517/0.4709, allocations: 108.7 kB / 457.1 MB, free: 26.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process_a.x_scaled[1],Process_a.x_scaled[2],PI_a.FO.y,Process_d.x_scaled[1],Process_d.x_scaled[2]) * Number of discrete variables: 5 ($whenCondition1,PI_d.xfb,PI_d.ulin,PI_d.ulino,PI_d.u) * Number of discrete states: 5 (PI_d.u,PI_d.ulino,PI_d.ulin,PI_d.xfb,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.471, allocations: 104.8 kB / 457.2 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.4722, allocations: 0.952 MB / 458.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4722, allocations: 3.938 kB / 458.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.4728, allocations: 383.1 kB / 458.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.4731, allocations: 47.03 kB / 458.5 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.4743, allocations: 0.718 MB / 459.3 MB, free: 25.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.4745, allocations: 0.7837 MB / 460 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.4746, allocations: 16.94 kB / 460.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.4746, allocations: 0 / 460.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01057/0.4852, allocations: 4.79 MB / 464.8 MB, free: 24.25 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digital.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digital.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.PI_loop_analogue_digitalCalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digitalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.PI_loop_analogue_digitalCalcHelperMain.o] Error 1