Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.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.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008635, allocations: 102.2 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.0009826/0.0009827, allocations: 175.4 kB / 16.58 MB, free: 6.121 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.53/1.53, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2897/0.2897, allocations: 22.35 MB / 314.1 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4133, allocations: 55.98 MB / 438.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag): time 0.0015/0.4149, allocations: 0.868 MB / 439.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4166, allocations: 1.314 MB / 440.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.4167, allocations: 2.469 kB / 440.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.4171, allocations: 74.03 kB / 440.8 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.4173, allocations: 89.27 kB / 440.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.4176, allocations: 135.4 kB / 441 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.418, allocations: 393.7 kB / 441.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.4182, allocations: 50.25 kB / 441.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.4184, allocations: 206.8 kB / 441.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.4187, allocations: 210.6 kB / 441.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.4188, allocations: 11.44 kB / 441.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.4188, allocations: 9.156 kB / 441.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.419, allocations: 103 kB / 442 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.419, allocations: 64.89 kB / 442.1 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.4193, allocations: 215.3 kB / 442.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4193, allocations: 3.938 kB / 442.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4193, allocations: 0 / 442.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4193, allocations: 2.562 kB / 442.3 MB, free: 37.3 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001869/0.4212, allocations: 0.7732 MB / 443 MB, free: 36.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.4212, allocations: 12.47 kB / 443.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.4213, allocations: 33.44 kB / 443.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.4223, allocations: 448.3 kB / 443.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4223, allocations: 10.38 kB / 443.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.4224, allocations: 23.66 kB / 443.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.4227, allocations: 199.3 kB / 443.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4227, allocations: 0 / 443.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.4228, allocations: 14.72 kB / 443.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.4228, allocations: 6.906 kB / 443.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.4232, allocations: 212.2 kB / 444 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4243, allocations: 0.7063 MB / 444.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.4249, allocations: 310 kB / 445 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.4251, allocations: 123.3 kB / 445.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4251, allocations: 2.531 kB / 445.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4252, allocations: 33.75 kB / 445.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.4252, allocations: 0 / 445.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001273/0.4264, allocations: 0.5927 MB / 445.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4265, allocations: 58.25 kB / 445.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/0.4274, allocations: 477.2 kB / 446.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4274, allocations: 28.64 kB / 446.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4275, allocations: 168.8 kB / 446.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.4276, allocations: 82.59 kB / 446.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.4276, allocations: 6.594 kB / 446.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4278, allocations: 342.2 kB / 446.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4279, allocations: 102.1 kB / 447 MB, free: 34.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.4281, allocations: 142.9 kB / 447.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.4283, allocations: 132.7 kB / 447.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4283, allocations: 0 / 447.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006591/0.429, allocations: 422 kB / 447.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.429, allocations: 2.938 kB / 447.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.429, allocations: 2.969 kB / 447.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/0.4293, allocations: 58.55 kB / 447.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.4295, allocations: 49.86 kB / 447.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.4308, allocations: 1.546 MB / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.4311, allocations: 74.83 kB / 449.4 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.4312, allocations: 9.5 kB / 449.4 MB, free: 32.9 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] H.x_scaled[1]: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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 26 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.4314, allocations: 182.5 kB / 449.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.4315, allocations: 30.56 kB / 449.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4316, allocations: 52.23 kB / 449.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4316, allocations: 6.781 kB / 449.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.4316, allocations: 0 / 449.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4316, allocations: 3 kB / 449.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.432, allocations: 378 kB / 450 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4321, allocations: 3.938 kB / 450 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4323, allocations: 29.77 kB / 450.1 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.4324, allocations: 62.11 kB / 450.1 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.4325, allocations: 14.14 kB / 450.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.4336, allocations: 1.544 MB / 451.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4336, allocations: 0 / 451.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.4345, allocations: 0.5878 MB / 452.3 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.4345, allocations: 119 kB / 452.4 MB, free: 30.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.4346, allocations: 10.05 kB / 452.4 MB, free: 30.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.435, allocations: 65.52 kB / 452.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.4351, allocations: 21.56 kB / 452.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4351, allocations: 5.25 kB / 452.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007597/0.4359, allocations: 378.9 kB / 452.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4359, allocations: 0 / 452.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.4362, allocations: 61.81 kB / 452.9 MB, free: 30.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],H.x_scaled[1],H.x_scaled[2],M.x_scaled[1],K.x_scaled[1],C.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 (19): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.4363, allocations: 116.4 kB / 453 MB, free: 30.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.437, allocations: 405.6 kB / 453.4 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.437, allocations: 0 / 453.4 MB, free: 30.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.4374, allocations: 254.9 kB / 453.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.4378, allocations: 60 kB / 453.7 MB, free: 29.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.4391, allocations: 0.8328 MB / 454.6 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4395, allocations: 0.8085 MB / 455.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.4396, allocations: 25.38 kB / 455.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4396, allocations: 0 / 455.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of Templates: time 0.008619/0.4482, allocations: 4.829 MB / 460.2 MB, free: 28.43 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.makefile make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.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.Typical_control_structures.FF_compensation_simple_lead_lagCalcHelperMain.o OMCppAES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lagCalcHelperMain.o] Error 1