Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.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_compare2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2") translateModel(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 102.6 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.001856/0.001856, allocations: 176 kB / 16.58 MB, free: 6.859 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.52/1.52, 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.3066/0.3066, allocations: 22.35 MB / 314.1 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.000423, allocations: 8 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4066, allocations: 55.98 MB / 438.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2): time 0.001984/0.4086, allocations: 1.757 MB / 440.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4097, allocations: 0.6859 MB / 441 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.4098, allocations: 6.938 kB / 441 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.4101, allocations: 41.72 kB / 441 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.4103, allocations: 56.81 kB / 441.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.4107, allocations: 159.1 kB / 441.3 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.4111, allocations: 351.4 kB / 441.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.4113, allocations: 85.81 kB / 441.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.4114, allocations: 134.3 kB / 441.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.4116, allocations: 157.5 kB / 442 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.4117, allocations: 10.66 kB / 442 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.128e-05/0.4117, allocations: 15.09 kB / 442 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.4118, allocations: 75.56 kB / 442.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.4119, allocations: 73.52 kB / 442.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.4121, allocations: 256.7 kB / 442.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4121, allocations: 0 / 442.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4121, allocations: 0 / 442.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4121, allocations: 0 / 442.4 MB, free: 36.89 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001314/0.4135, allocations: 0.6917 MB / 443.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4135, allocations: 7.656 kB / 443.1 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.4136, allocations: 43.47 kB / 443.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.4142, allocations: 371.7 kB / 443.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.4143, allocations: 19.56 kB / 443.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.4143, allocations: 20.25 kB / 443.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.4148, allocations: 304.1 kB / 443.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4148, allocations: 3.906 kB / 443.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.4149, allocations: 14.58 kB / 443.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4149, allocations: 5.375 kB / 443.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.4154, allocations: 256.3 kB / 444.1 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.4166, allocations: 0.8386 MB / 444.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.4174, allocations: 346.1 kB / 445.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.4176, allocations: 142 kB / 445.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.4177, allocations: 3.031 kB / 445.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4177, allocations: 34.56 kB / 445.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.4177, allocations: 4 kB / 445.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002613/0.4203, allocations: 1.129 MB / 446.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4204, allocations: 105.8 kB / 446.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.4209, allocations: 344.4 kB / 447 MB, free: 34.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.421, allocations: 32.42 kB / 447.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.4211, allocations: 178.3 kB / 447.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.4211, allocations: 91.44 kB / 447.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.4212, allocations: 0 / 447.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.4213, allocations: 344.7 kB / 447.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.4215, allocations: 121.4 kB / 447.8 MB, free: 33.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4218, allocations: 162.2 kB / 447.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.422, allocations: 142.5 kB / 448.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.422, allocations: 0 / 448.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001265/0.4233, allocations: 0.6353 MB / 448.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.4234, allocations: 100.6 kB / 448.8 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4234, allocations: 7.312 kB / 448.8 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.424, allocations: 184.9 kB / 449 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4241, allocations: 34.38 kB / 449 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.4279, allocations: 3.884 MB / 452.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.4283, allocations: 63.38 kB / 453 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4283, allocations: 9.312 kB / 453 MB, free: 30.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.4283, allocations: 5.25 kB / 453 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006574/0.429, allocations: 369.4 kB / 453.3 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.429, allocations: 0 / 453.3 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.4293, allocations: 119.2 kB / 453.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4294, allocations: 32.77 kB / 453.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.4316, allocations: 3.336 MB / 456.8 MB, free: 26.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4319, allocations: 49.2 kB / 456.9 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4319, allocations: 3.594 kB / 456.9 MB, free: 26.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: Process_2.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.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 (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.4322, allocations: 236.6 kB / 457.1 MB, free: 26.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.4323, allocations: 34.25 kB / 457.2 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.942e-05/0.4324, allocations: 41.11 kB / 457.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4324, allocations: 2.344 kB / 457.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4324, allocations: 3.422 kB / 457.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4324, allocations: 0 / 457.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.4329, allocations: 393.9 kB / 457.6 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4329, allocations: 192 / 457.6 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.4331, allocations: 28.36 kB / 457.6 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.4335, allocations: 190.1 kB / 457.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.4336, allocations: 6.875 kB / 457.8 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.437, allocations: 3.545 MB / 461.3 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.437, allocations: 0 / 461.3 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.4387, allocations: 0.7812 MB / 462.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.4388, allocations: 110 kB / 462.2 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.4388, allocations: 7.375 kB / 462.2 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.4391, allocations: 50.11 kB / 462.3 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4393, allocations: 21.27 kB / 462.3 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.4393, allocations: 9.094 kB / 462.3 MB, free: 22.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005001/0.4398, allocations: 267.4 kB / 462.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.4398, allocations: 0 / 462.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007883/0.4406, allocations: 136.2 kB / 462.7 MB, free: 22.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Process_1.x_scaled[1],Process_1.x_scaled[2],PI_1.FO.y,Process_2.x_scaled[1],Process_2.x_scaled[2],PI_2.FO.y) * 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 (14): * Single equations (assignments): 12 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.4407, allocations: 111 kB / 462.8 MB, free: 22.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4426, allocations: 1.063 MB / 463.9 MB, free: 22.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4426, allocations: 4 kB / 463.9 MB, free: 22.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.4431, allocations: 418.4 kB / 464.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.4437, allocations: 54.66 kB / 464.4 MB, free: 21.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4451, allocations: 0.8355 MB / 465.2 MB, free: 21.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.4456, allocations: 0.7961 MB / 466 MB, free: 20.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.4456, allocations: 22.72 kB / 466 MB, free: 20.54 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4457, allocations: 0 / 466 MB, free: 20.54 MB / 350.1 MB Notification: Performance of Templates: time 0.01187/0.4575, allocations: 6.283 MB / 472.3 MB, free: 20.08 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.makefile make -j1 -f AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.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_compare2CalcHelperMain.o OMCppAES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2CalcHelperMain.o] Error 1