Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.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_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") translateModel(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.000968, allocations: 99.75 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.001452/0.001452, allocations: 175 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.534/1.534, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2839/0.2839, allocations: 22.36 MB / 314.1 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 15.98 kB / 382.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4343, allocations: 55.97 MB / 438.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.001096/0.4354, allocations: 0.6998 MB / 439.3 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4366, allocations: 1.18 MB / 440.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.4366, allocations: 6.438 kB / 440.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.4369, allocations: 38.08 kB / 440.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.437, allocations: 38.78 kB / 440.5 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.4372, allocations: 66.33 kB / 440.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.4374, allocations: 179.8 kB / 440.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.4375, allocations: 27.81 kB / 440.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.4376, allocations: 90.36 kB / 440.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.4378, allocations: 87.06 kB / 441 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.4378, allocations: 5.125 kB / 441 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.4379, allocations: 7.875 kB / 441 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.4379, allocations: 34.8 kB / 441 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.438, allocations: 36.64 kB / 441 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.4381, allocations: 89.5 kB / 441.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4381, allocations: 0 / 441.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4381, allocations: 0 / 441.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4381, allocations: 0 / 441.1 MB, free: 37.61 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009841/0.4391, allocations: 0.5031 MB / 441.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4392, allocations: 11.34 kB / 441.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.4392, allocations: 13.59 kB / 441.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.4398, allocations: 273.6 kB / 441.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.4398, allocations: 11.09 kB / 441.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.4398, allocations: 13.09 kB / 441.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.4401, allocations: 119 kB / 442.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4401, allocations: 0 / 442.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.4402, allocations: 7.953 kB / 442.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4402, allocations: 6.047 kB / 442.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.4404, allocations: 84.58 kB / 442.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.4411, allocations: 0.5888 MB / 442.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.4415, allocations: 143.9 kB / 442.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/0.4416, allocations: 47.58 kB / 442.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4417, allocations: 6.719 kB / 442.9 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4417, allocations: 30.56 kB / 443 MB, free: 36.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4417, allocations: 0 / 443 MB, free: 36.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003971/0.4421, allocations: 164.2 kB / 443.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4422, allocations: 58.28 kB / 443.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.4426, allocations: 250.2 kB / 443.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.4426, allocations: 29.7 kB / 443.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.4427, allocations: 120.6 kB / 443.6 MB, free: 35.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4427, allocations: 33.84 kB / 443.6 MB, free: 35.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.4427, allocations: 0 / 443.6 MB, free: 35.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.4428, allocations: 339.4 kB / 443.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.4429, allocations: 38.52 kB / 444 MB, free: 35.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.443, allocations: 60.28 kB / 444 MB, free: 35.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.4431, allocations: 53.11 kB / 444.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4431, allocations: 3.938 kB / 444.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00025/0.4434, allocations: 168.5 kB / 444.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4434, allocations: 8.156 kB / 444.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4434, allocations: 0 / 444.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4434, allocations: 2.625 kB / 444.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.4435, allocations: 24.19 kB / 444.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4436, allocations: 2.812 kB / 444.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.4437, allocations: 33.62 kB / 444.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.4437, allocations: 7.312 kB / 444.3 MB, free: 35.26 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: g.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cps.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (N.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000171/0.4439, allocations: 135.1 kB / 444.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.444, allocations: 15.44 kB / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.444, allocations: 18.47 kB / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.444, allocations: 0 / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.444, allocations: 5.875 kB / 444.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.444, allocations: 3.984 kB / 444.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.4443, allocations: 238.1 kB / 444.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4443, allocations: 4 kB / 444.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.4444, allocations: 25.58 kB / 444.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4444, allocations: 0 / 444.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4444, allocations: 2.875 kB / 444.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4445, allocations: 0 / 444.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4445, allocations: 0 / 444.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.4448, allocations: 278.3 kB / 445 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.4449, allocations: 104 kB / 445.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.4449, allocations: 11.14 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4451, allocations: 25.58 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.4452, allocations: 9.812 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.4452, allocations: 2.594 kB / 445.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.4455, allocations: 200.6 kB / 445.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4455, allocations: 0 / 445.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.4458, allocations: 27.59 kB / 445.4 MB, free: 34.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (N.y,Cps.x_scaled[1],g.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 (10): * Single equations (assignments): 10 * 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.0001159/0.4459, allocations: 96.16 kB / 445.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.4462, allocations: 113.9 kB / 445.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4462, allocations: 2.781 kB / 445.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4463, allocations: 41.56 kB / 445.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4467, allocations: 31.7 kB / 445.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.4474, allocations: 396.4 kB / 446.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.4477, allocations: 0.7285 MB / 446.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.4477, allocations: 14.56 kB / 446.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4477, allocations: 0 / 446.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of Templates: time 0.003714/0.4515, allocations: 1.862 MB / 448.7 MB, free: 33.2 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.makefile make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.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_power_frequency_control.BO_rigid_Islanded_generatorCalcHelperMain.o OMCppAES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generatorCalcHelperMain.o] Error 1