Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005809/0.005809, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.104/1.104, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.16/0.16, allocations: 22.35 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002404, allocations: 12 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1962, allocations: 55.98 MB / 438.7 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001158/0.1974, allocations: 1.496 MB / 440.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.198, allocations: 0.568 MB / 440.8 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.1981, allocations: 3.156 kB / 440.8 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1983, allocations: 41.81 kB / 440.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1984, allocations: 43.08 kB / 440.8 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1986, allocations: 85.33 kB / 440.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1988, allocations: 255.2 kB / 441.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.1989, allocations: 42.39 kB / 441.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.199, allocations: 93.52 kB / 441.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1991, allocations: 105.3 kB / 441.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.1991, allocations: 8.156 kB / 441.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.1992, allocations: 9.719 kB / 441.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1992, allocations: 59.44 kB / 441.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.1993, allocations: 87.45 kB / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1994, allocations: 169.1 kB / 441.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1994, allocations: 3.156 kB / 441.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1994, allocations: 0 / 441.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1994, allocations: 0 / 441.7 MB, free: 37.5 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008569/0.2003, allocations: 0.5531 MB / 442.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.2003, allocations: 14.56 kB / 442.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.2003, allocations: 45.28 kB / 442.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.2004, allocations: 26.33 kB / 442.4 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2008, allocations: 310.4 kB / 442.7 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2008, allocations: 11.3 kB / 442.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2009, allocations: 17 kB / 442.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2011, allocations: 160.6 kB / 442.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2011, allocations: 0 / 442.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2011, allocations: 4 kB / 442.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2011, allocations: 6.812 kB / 442.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.2013, allocations: 131.2 kB / 443 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.2019, allocations: 0.5414 MB / 443.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.2023, allocations: 196.1 kB / 443.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2024, allocations: 93.2 kB / 443.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2024, allocations: 0 / 443.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.408e-06/0.2024, allocations: 33.38 kB / 443.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.2024, allocations: 0 / 443.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003773/0.2028, allocations: 272.3 kB / 444.1 MB, free: 35.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.465e-05/0.2028, allocations: 51.41 kB / 444.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.2032, allocations: 269.5 kB / 444.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2032, allocations: 29.7 kB / 444.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.2033, allocations: 128.3 kB / 444.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.2033, allocations: 62.83 kB / 444.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.2033, allocations: 19.34 kB / 444.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.2034, allocations: 331.3 kB / 445 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.2035, allocations: 67.94 kB / 445.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.2036, allocations: 63.31 kB / 445.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.205, allocations: 477.9 kB / 445.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.205, allocations: 4 kB / 445.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002693/0.2052, allocations: 225.6 kB / 445.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.2053, allocations: 7.281 kB / 445.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2053, allocations: 3.375 kB / 445.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.2053, allocations: 6.844 kB / 445.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2055, allocations: 37.36 kB / 445.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2055, allocations: 3.031 kB / 445.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2057, allocations: 42.56 kB / 445.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2057, allocations: 3.125 kB / 445.9 MB, free: 34.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.2058, allocations: 149.8 kB / 446.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.2058, allocations: 16.31 kB / 446.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.2062, allocations: 244 kB / 446.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2062, allocations: 7.219 kB / 446.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2062, allocations: 3 kB / 446.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2062, allocations: 0 / 446.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2064, allocations: 293.3 kB / 446.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2064, allocations: 4 kB / 446.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.2067, allocations: 36.64 kB / 446.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2067, allocations: 2.938 kB / 446.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2067, allocations: 3.188 kB / 446.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2067, allocations: 7.031 kB / 446.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2067, allocations: 0 / 446.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.2071, allocations: 405.9 kB / 447.1 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.2071, allocations: 94.8 kB / 447.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.2072, allocations: 15 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2074, allocations: 27.56 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.2074, allocations: 13.09 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.2074, allocations: 2.531 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.2078, allocations: 223.2 kB / 447.4 MB, free: 34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2078, allocations: 0 / 447.4 MB, free: 34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.208, allocations: 35.84 kB / 447.5 MB, free: 33.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000484/0.2085, allocations: 0.9372 MB / 448.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.2087, allocations: 177.8 kB / 448.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2088, allocations: 0 / 448.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2089, allocations: 86.84 kB / 448.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2092, allocations: 35.86 kB / 448.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.2117, allocations: 2.569 MB / 451.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2118, allocations: 0.7543 MB / 452 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2119, allocations: 40.64 kB / 452.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.212, allocations: 61.23 kB / 452.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.212, allocations: 0 / 452.1 MB, free: 30.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.223, allocations: 3.776 MB / 455.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 9.497e-05/0.2231, allocations: 187.5 kB / 456.1 MB, free: 30.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.355/1.578, allocations: 0 / 456.1 MB, free: 30.17 MB / 350.1 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_DaisyChain_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)