Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.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.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 98.97 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.00133/0.00133, allocations: 174.4 kB / 16.58 MB, free: 6.418 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2876/0.2876, allocations: 22.35 MB / 314.1 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004585, allocations: 8 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4331, allocations: 55.97 MB / 438.5 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.002843/0.436, allocations: 2.516 MB / 441.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.4375, allocations: 0.9705 MB / 442 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.4378, allocations: 14.53 kB / 442 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.438, allocations: 69.05 kB / 442.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.4381, allocations: 67.42 kB / 442.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.4386, allocations: 235.6 kB / 442.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.4391, allocations: 486 kB / 442.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.4393, allocations: 167.4 kB / 443 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.4394, allocations: 126.2 kB / 443.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.4396, allocations: 152.8 kB / 443.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.4396, allocations: 13.53 kB / 443.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.4397, allocations: 13.69 kB / 443.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.4397, allocations: 59.08 kB / 443.4 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.4398, allocations: 100.2 kB / 443.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.4401, allocations: 377.5 kB / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4401, allocations: 0 / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4401, allocations: 0 / 443.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.4401, allocations: 4 kB / 443.9 MB, free: 35.88 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008358/0.441, allocations: 0.7404 MB / 444.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.441, allocations: 8.562 kB / 444.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.4411, allocations: 59.81 kB / 444.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.4416, allocations: 387.3 kB / 445.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4416, allocations: 26.03 kB / 445.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.4417, allocations: 37.25 kB / 445.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.4423, allocations: 428.4 kB / 445.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4423, allocations: 3.938 kB / 445.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.4424, allocations: 19.02 kB / 445.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.4424, allocations: 8.406 kB / 445.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.4429, allocations: 295.2 kB / 445.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.4445, allocations: 1.548 MB / 447.4 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.4452, allocations: 374.5 kB / 447.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.4455, allocations: 139.6 kB / 447.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.4455, allocations: 6.5 kB / 447.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.4456, allocations: 37.8 kB / 448 MB, free: 33.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.263e-06/0.4456, allocations: 4 kB / 448 MB, free: 33.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008062/0.4464, allocations: 424.6 kB / 448.4 MB, free: 33.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.4464, allocations: 113.5 kB / 448.5 MB, free: 32.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.4469, allocations: 410.2 kB / 448.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4469, allocations: 32.64 kB / 448.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4471, allocations: 258 kB / 449.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/0.4472, allocations: 105.6 kB / 449.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.4472, allocations: 8 kB / 449.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4473, allocations: 360.2 kB / 449.6 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.4476, allocations: 116.3 kB / 449.7 MB, free: 32.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.4478, allocations: 196.1 kB / 449.9 MB, free: 31.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.4481, allocations: 142.6 kB / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4481, allocations: 0 / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006574/0.4488, allocations: 390 kB / 450.5 MB, free: 31.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/0.4489, allocations: 143.8 kB / 450.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4489, allocations: 4 kB / 450.6 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4489, allocations: 5.406 kB / 450.6 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.4492, allocations: 73.89 kB / 450.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4492, allocations: 5.156 kB / 450.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4494, allocations: 50.98 kB / 450.7 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4495, allocations: 13.12 kB / 450.7 MB, free: 31.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.4495, allocations: 4.688 kB / 450.7 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003944/0.4499, allocations: 259.3 kB / 451 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.4499, allocations: 2.625 kB / 451 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.4499, allocations: 5.953 kB / 451 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.4501, allocations: 59.77 kB / 451.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4501, allocations: 6.047 kB / 451.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.4503, allocations: 31.88 kB / 451.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.4503, allocations: 10.69 kB / 451.1 MB, free: 31.33 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: T.y:VARIABLE(flow=false start = T.y_start fixed = true ) "Connector of Real output signal" type: Real F.y:VARIABLE(flow=false start = F.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,S.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.4506, allocations: 265.3 kB / 451.4 MB, free: 31.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.4507, allocations: 48.12 kB / 451.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.4508, allocations: 52.42 kB / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4508, allocations: 6.922 kB / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.4508, allocations: 0 / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.4508, allocations: 4 kB / 451.5 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.4513, allocations: 460.6 kB / 451.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4514, allocations: 0 / 451.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.4516, allocations: 53.5 kB / 452 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4517, allocations: 6.656 kB / 452 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4517, allocations: 6.656 kB / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4517, allocations: 0 / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4517, allocations: 0 / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.4525, allocations: 0.5773 MB / 452.6 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4526, allocations: 147.1 kB / 452.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.4527, allocations: 6.781 kB / 452.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4529, allocations: 29.05 kB / 452.8 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.4529, allocations: 18.42 kB / 452.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.453, allocations: 9.5 kB / 452.8 MB, free: 30.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.4534, allocations: 277.5 kB / 453.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4534, allocations: 3.938 kB / 453.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004624/0.4538, allocations: 139.8 kB / 453.2 MB, free: 30.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,S.y,T.y,PIp.I.y,PIe.I.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 (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.454, allocations: 108.5 kB / 453.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.4547, allocations: 431.6 kB / 453.7 MB, free: 29.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4547, allocations: 4 kB / 453.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.4549, allocations: 139.3 kB / 453.9 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.4556, allocations: 111.4 kB / 454 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4571, allocations: 0.9973 MB / 455 MB, free: 29.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4574, allocations: 0.8305 MB / 455.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4575, allocations: 30.41 kB / 455.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4575, allocations: 0 / 455.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of Templates: time 0.009362/0.4669, allocations: 5.222 MB / 461 MB, free: 27.91 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.makefile make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.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.ElecSys_generator_models.TurbineFollowsCalcHelperMain.o OMCppAES_AES.Coursework.ElecSys_generator_models.TurbineFollowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ElecSys_generator_models.TurbineFollowsCalcHelperMain.o] Error 1