Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009363, allocations: 102.8 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.001461/0.00146, allocations: 176.9 kB / 16.58 MB, free: 6.863 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.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2869/0.2869, allocations: 22.36 MB / 314.1 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 12 kB / 382.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3871, allocations: 55.97 MB / 438.5 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.0006934/0.3878, allocations: 314.6 kB / 438.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.388, allocations: 60.66 kB / 438.9 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.3881, allocations: 0 / 438.9 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.3881, allocations: 3.938 kB / 438.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.3882, allocations: 10.34 kB / 438.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.3883, allocations: 12.84 kB / 438.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.3884, allocations: 33.31 kB / 439 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.3885, allocations: 2.469 kB / 439 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.3885, allocations: 21.03 kB / 439 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.3886, allocations: 27.59 kB / 439 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3887, allocations: 2.688 kB / 439 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.3887, allocations: 2.625 kB / 439 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3887, allocations: 13.98 kB / 439 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3887, allocations: 28.42 kB / 439.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.22e-05/0.3888, allocations: 27.44 kB / 439.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3888, allocations: 4 kB / 439.1 MB, free: 39.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3888, allocations: 0 / 439.1 MB, free: 39.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3888, allocations: 0 / 439.1 MB, free: 39.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004283/0.3893, allocations: 360.8 kB / 439.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3893, allocations: 6.719 kB / 439.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.3893, allocations: 13.19 kB / 439.5 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3895, allocations: 177.9 kB / 439.6 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3895, allocations: 3 kB / 439.6 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3895, allocations: 6.969 kB / 439.7 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3897, allocations: 62.22 kB / 439.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3897, allocations: 2.938 kB / 439.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3897, allocations: 7.953 kB / 439.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3897, allocations: 0 / 439.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.3898, allocations: 38.59 kB / 439.8 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.3902, allocations: 290.2 kB / 440 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3905, allocations: 104.9 kB / 440.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.3906, allocations: 38.89 kB / 440.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3906, allocations: 192 / 440.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3906, allocations: 37.47 kB / 440.2 MB, free: 38.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.3906, allocations: 4 kB / 440.2 MB, free: 38.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002353/0.3909, allocations: 108.6 kB / 440.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3909, allocations: 51.41 kB / 440.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.391, allocations: 115.7 kB / 440.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.391, allocations: 25.7 kB / 440.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.3911, allocations: 90.38 kB / 440.6 MB, free: 37.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.3911, allocations: 41.39 kB / 440.6 MB, free: 37.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.3911, allocations: 6.438 kB / 440.7 MB, free: 37.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.3912, allocations: 314.4 kB / 441 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.3912, allocations: 30.41 kB / 441 MB, free: 37.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.3913, allocations: 39.78 kB / 441 MB, free: 37.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.3913, allocations: 24.25 kB / 441.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3913, allocations: 0 / 441.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001413/0.3915, allocations: 108.5 kB / 441.2 MB, free: 37.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3915, allocations: 10.33 kB / 441.2 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3915, allocations: 2.625 kB / 441.2 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3915, allocations: 4.031 kB / 441.2 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3917, allocations: 37.7 kB / 441.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3917, allocations: 0 / 441.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.3917, allocations: 6.594 kB / 441.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3917, allocations: 6.547 kB / 441.2 MB, free: 37.22 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real I:VARIABLE(start = 0.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 (14): * Single equations (assignments): 14 * 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.000139/0.3919, allocations: 119.5 kB / 441.3 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.3919, allocations: 16.89 kB / 441.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.3921, allocations: 105.4 kB / 441.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3921, allocations: 2.594 kB / 441.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3921, allocations: 0 / 441.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3921, allocations: 0 / 441.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3923, allocations: 185.4 kB / 441.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3923, allocations: 0 / 441.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.3924, allocations: 32.73 kB / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3924, allocations: 0 / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3925, allocations: 7.281 kB / 441.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3925, allocations: 4 kB / 441.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3925, allocations: 2.844 kB / 441.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3927, allocations: 219.7 kB / 441.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.3927, allocations: 83.95 kB / 442 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3927, allocations: 7.188 kB / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.3928, allocations: 3.953 kB / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.3928, allocations: 6.219 kB / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3929, allocations: 6.875 kB / 442 MB, free: 36.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.3929, allocations: 92.56 kB / 442.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3929, allocations: 0 / 442.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000232/0.3931, allocations: 16.81 kB / 442.1 MB, free: 36.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,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 (11): * Single equations (assignments): 11 * 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 8.587e-05/0.3932, allocations: 92.47 kB / 442.2 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3934, allocations: 68.39 kB / 442.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3934, allocations: 0 / 442.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/0.3935, allocations: 38.98 kB / 442.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3937, allocations: 8.062 kB / 442.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3941, allocations: 276 kB / 442.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3943, allocations: 0.6968 MB / 443.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.3943, allocations: 13.22 kB / 443.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3943, allocations: 0 / 443.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of Templates: time 0.00228/0.3966, allocations: 0.8912 MB / 444.2 MB, free: 35.36 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.M1_TimeDomainCalcHelperMain.o OMCppAES_AES.Coursework.Modelling_principles.M1_TimeDomainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Modelling_principles.M1_TimeDomainCalcHelperMain.o] Error 1