Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.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.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80400,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80400,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008484, 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.000892/0.0008918, allocations: 177.1 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.55/1.55, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2865/0.2865, allocations: 22.35 MB / 314.1 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 11.94 kB / 382.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4072, allocations: 55.98 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.0007192/0.408, allocations: 286 kB / 438.8 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.4082, allocations: 32.91 kB / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.4082, allocations: 0 / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.4082, allocations: 6.719 kB / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.4083, allocations: 3.234 kB / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.4084, allocations: 7.125 kB / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.4085, allocations: 27 kB / 438.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.4086, allocations: 3 kB / 438.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.4086, allocations: 20.95 kB / 438.9 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.4087, allocations: 20.53 kB / 439 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4087, allocations: 2.719 kB / 439 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.4087, allocations: 0 / 439 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.4087, allocations: 6.812 kB / 439 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.4088, allocations: 32.73 kB / 439 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.601e-05/0.4088, allocations: 9.656 kB / 439 MB, free: 38.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4088, allocations: 0 / 439 MB, free: 38.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4088, allocations: 0 / 439 MB, free: 38.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.4089, allocations: 0 / 439 MB, free: 38.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003899/0.4092, allocations: 361.9 kB / 439.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4093, allocations: 7.094 kB / 439.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.4093, allocations: 2.75 kB / 439.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.4094, allocations: 177.2 kB / 439.5 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4095, allocations: 3.188 kB / 439.5 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4095, allocations: 3.031 kB / 439.5 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.4096, allocations: 46.36 kB / 439.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4096, allocations: 4 kB / 439.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4097, allocations: 3.953 kB / 439.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4097, allocations: 2.969 kB / 439.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.4097, allocations: 16.61 kB / 439.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.4101, allocations: 264 kB / 439.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.4103, allocations: 66.09 kB / 439.9 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.4104, allocations: 18.39 kB / 440 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4104, allocations: 3.938 kB / 440 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4104, allocations: 37.47 kB / 440 MB, free: 37.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.4104, allocations: 0 / 440 MB, free: 37.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.00019/0.4106, allocations: 68.47 kB / 440.1 MB, free: 37.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4106, allocations: 55.34 kB / 440.1 MB, free: 37.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.4107, allocations: 120.6 kB / 440.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4108, allocations: 28.58 kB / 440.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.4108, allocations: 94.83 kB / 440.4 MB, free: 37.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.4108, allocations: 19.12 kB / 440.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4108, allocations: 0 / 440.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.4109, allocations: 321.1 kB / 440.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.4109, allocations: 5.812 kB / 440.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.411, allocations: 26.06 kB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.411, allocations: 13.97 kB / 440.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.411, allocations: 4 kB / 440.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.987e-05/0.4111, allocations: 85.73 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4111, allocations: 5.094 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4112, allocations: 0 / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4112, allocations: 0 / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.4113, allocations: 18.59 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4113, allocations: 2.656 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.4113, allocations: 10.59 kB / 440.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4114, allocations: 2.5 kB / 440.9 MB, free: 37.19 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real 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 (8): * Single equations (assignments): 8 * 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.0001397/0.4115, allocations: 116.4 kB / 441 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.4115, allocations: 10.48 kB / 441 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.4116, allocations: 11.14 kB / 441 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4116, allocations: 3.719 kB / 441 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4116, allocations: 0 / 441 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4116, allocations: 0 / 441 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4117, allocations: 164.6 kB / 441.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4117, allocations: 0 / 441.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.4118, allocations: 19.45 kB / 441.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4118, allocations: 2.656 kB / 441.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4119, allocations: 3.953 kB / 441.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4119, allocations: 0 / 441.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4119, allocations: 3.938 kB / 441.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.412, allocations: 172.5 kB / 441.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.412, allocations: 81.02 kB / 441.4 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.4121, allocations: 0 / 441.4 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.4121, allocations: 10.95 kB / 441.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.4122, allocations: 7.219 kB / 441.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.4122, allocations: 3.125 kB / 441.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.4122, allocations: 98.62 kB / 441.6 MB, free: 36.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4122, allocations: 0 / 441.6 MB, free: 36.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.4124, allocations: 9.844 kB / 441.6 MB, free: 36.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Ta,Tw) * 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 (4): * Single equations (assignments): 4 * 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 7.546e-05/0.4125, allocations: 94.06 kB / 441.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.4126, allocations: 37.75 kB / 441.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4126, allocations: 0 / 441.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-05/0.4127, allocations: 10.78 kB / 441.7 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.4129, allocations: 7.938 kB / 441.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.4132, allocations: 194.8 kB / 441.9 MB, free: 36.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4133, allocations: 0.6894 MB / 442.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.4134, allocations: 10.38 kB / 442.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4134, allocations: 0 / 442.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of Templates: time 0.002099/0.4155, allocations: 0.7165 MB / 443.3 MB, free: 35.48 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.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.Modelling_principles.M2_PhasorDomainCalcHelperMain.o OMCppAES_AES.Coursework.Modelling_principles.M2_PhasorDomainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Modelling_principles.M2_PhasorDomainCalcHelperMain.o] Error 1