Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 102.3 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.001622/0.001622, allocations: 175.4 kB / 16.58 MB, free: 6.043 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.549/1.549, allocations: 223.3 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.2443/0.2443, allocations: 22.35 MB / 314.1 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4176, allocations: 55.97 MB / 438.6 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002926/0.4206, allocations: 1.647 MB / 440.2 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.422, allocations: 0.6507 MB / 440.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.4222, allocations: 7.062 kB / 440.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.4227, allocations: 56.31 kB / 440.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.423, allocations: 85.59 kB / 441 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.4233, allocations: 136.7 kB / 441.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.4238, allocations: 380.7 kB / 441.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.4239, allocations: 61.5 kB / 441.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.4242, allocations: 185.6 kB / 441.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.4245, allocations: 186.4 kB / 441.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.4245, allocations: 8.875 kB / 441.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.4246, allocations: 16.34 kB / 442 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4247, allocations: 83.77 kB / 442 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.4248, allocations: 60.83 kB / 442.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.425, allocations: 211.9 kB / 442.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.425, allocations: 0 / 442.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.425, allocations: 0 / 442.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.425, allocations: 0 / 442.3 MB, free: 37.06 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001674/0.4267, allocations: 0.7265 MB / 443 MB, free: 36.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4268, allocations: 8.281 kB / 443 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.4268, allocations: 36.47 kB / 443.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.4277, allocations: 412.8 kB / 443.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.4277, allocations: 18.83 kB / 443.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.4278, allocations: 23.62 kB / 443.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.4281, allocations: 198 kB / 443.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4282, allocations: 3.953 kB / 443.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4282, allocations: 11.94 kB / 443.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4282, allocations: 3.156 kB / 443.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.4286, allocations: 199.3 kB / 443.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4297, allocations: 0.7016 MB / 444.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/0.4305, allocations: 318 kB / 444.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.4308, allocations: 126.1 kB / 445.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.4308, allocations: 11.08 kB / 445.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4309, allocations: 34.56 kB / 445.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.4309, allocations: 0 / 445.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007272/0.4316, allocations: 365.9 kB / 445.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4317, allocations: 58.27 kB / 445.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.4325, allocations: 425.5 kB / 445.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4325, allocations: 32.58 kB / 446 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4326, allocations: 165 kB / 446.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4327, allocations: 86.5 kB / 446.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.4328, allocations: 7.062 kB / 446.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4329, allocations: 349.2 kB / 446.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4331, allocations: 87.98 kB / 446.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4332, allocations: 97.09 kB / 446.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.4334, allocations: 110.3 kB / 446.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4335, allocations: 0 / 446.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005027/0.434, allocations: 326.7 kB / 447.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.434, allocations: 5.656 kB / 447.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.434, allocations: 0 / 447.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.434, allocations: 4 kB / 447.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.4343, allocations: 57.44 kB / 447.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4343, allocations: 3.953 kB / 447.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.4346, allocations: 66.2 kB / 447.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.4347, allocations: 7.719 kB / 447.3 MB, free: 34.27 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]: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: 1 * 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 (31): * Single equations (assignments): 31 * 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.0002651/0.4349, allocations: 174.2 kB / 447.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.435, allocations: 35.19 kB / 447.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.4356, allocations: 323.2 kB / 447.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4356, allocations: 6.906 kB / 447.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4356, allocations: 3.938 kB / 447.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4356, allocations: 6.984 kB / 447.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.436, allocations: 370.9 kB / 448.2 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.436, allocations: 0 / 448.2 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.4363, allocations: 47.75 kB / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4363, allocations: 2.781 kB / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.4363, allocations: 14.08 kB / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4364, allocations: 0 / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4364, allocations: 0 / 448.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.437, allocations: 0.5216 MB / 448.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.4371, allocations: 115.2 kB / 448.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.4372, allocations: 6.594 kB / 448.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.4375, allocations: 56.53 kB / 449 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.4376, allocations: 17.83 kB / 449 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4376, allocations: 4.969 kB / 449 MB, free: 33.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006048/0.4382, allocations: 337.4 kB / 449.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4382, allocations: 0 / 449.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.4385, allocations: 51.47 kB / 449.4 MB, free: 33.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.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 (26): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.4386, allocations: 109.7 kB / 449.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.439, allocations: 253.4 kB / 449.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.439, allocations: 2.656 kB / 449.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.4392, allocations: 125.6 kB / 449.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.4397, allocations: 61.88 kB / 449.9 MB, free: 32.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.441, allocations: 0.8135 MB / 450.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4412, allocations: 0.7999 MB / 451.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4414, allocations: 31.91 kB / 451.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4414, allocations: 0 / 451.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of Templates: time 0.005985/0.4474, allocations: 3.783 MB / 455.3 MB, free: 31.41 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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_actuation_schemes.SplitRange_cascadeLoopsCalcHelperMain.o OMCppAES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoopsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoopsCalcHelperMain.o] Error 1