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.001166/0.001166, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001105/0.001105, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1752/0.1752, allocations: 22.37 MB / 312.5 MB, free: 12.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 71.88 kB / 380.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2069, allocations: 54.94 MB / 435.4 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.00205/0.2089, allocations: 1.844 MB / 437.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.2096, allocations: 0.5724 MB / 437.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.2097, allocations: 6.844 kB / 437.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.2099, allocations: 37.12 kB / 437.8 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2101, allocations: 47.92 kB / 437.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.2102, allocations: 86.5 kB / 438 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.2104, allocations: 267.5 kB / 438.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.2106, allocations: 44.06 kB / 438.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.2107, allocations: 102.3 kB / 438.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2108, allocations: 128 kB / 438.5 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.2108, allocations: 16.19 kB / 438.5 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.2109, allocations: 13.22 kB / 438.5 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.2109, allocations: 69.94 kB / 438.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.211, allocations: 82.06 kB / 438.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2111, allocations: 179.2 kB / 438.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2111, allocations: 0 / 438.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2111, allocations: 0 / 438.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2111, allocations: 0 / 438.8 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.0009505/0.2121, allocations: 0.574 MB / 439.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.2121, allocations: 12.78 kB / 439.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.2122, allocations: 44.69 kB / 439.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.2122, allocations: 24.5 kB / 439.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.2126, allocations: 312 kB / 439.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2127, allocations: 10.36 kB / 439.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.2127, allocations: 12.84 kB / 439.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2129, allocations: 160.9 kB / 440 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2129, allocations: 2.781 kB / 440 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.213, allocations: 4 kB / 440 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.213, allocations: 2.875 kB / 440 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.2132, allocations: 136.4 kB / 440.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.2138, allocations: 0.5369 MB / 440.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.2142, allocations: 196.8 kB / 440.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2143, allocations: 96.28 kB / 440.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2144, allocations: 2.688 kB / 440.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-06/0.2144, allocations: 30.56 kB / 441 MB, free: 36.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2144, allocations: 3.5 kB / 441 MB, free: 36.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004008/0.2148, allocations: 260.2 kB / 441.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.2148, allocations: 58.31 kB / 441.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.2152, allocations: 264.9 kB / 441.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2152, allocations: 25.7 kB / 441.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.2153, allocations: 131.5 kB / 441.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.2153, allocations: 55.97 kB / 441.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.2154, allocations: 33.75 kB / 441.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.2154, allocations: 334.4 kB / 442.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.2155, allocations: 67.33 kB / 442.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.2156, allocations: 68.03 kB / 442.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2171, allocations: 463.3 kB / 442.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2171, allocations: 0 / 442.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002892/0.2174, allocations: 229.7 kB / 442.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.2174, allocations: 9.266 kB / 442.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2174, allocations: 0 / 442.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2174, allocations: 3 kB / 442.9 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.2176, allocations: 41.23 kB / 443 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2176, allocations: 2.719 kB / 443 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.2179, allocations: 40.42 kB / 443 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2179, allocations: 9.625 kB / 443 MB, free: 34.95 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.0001285/0.218, allocations: 164.8 kB / 443.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.2181, allocations: 16.53 kB / 443.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.2184, allocations: 245.7 kB / 443.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2185, allocations: 2.938 kB / 443.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2185, allocations: 0 / 443.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2185, allocations: 0 / 443.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.2187, allocations: 292.1 kB / 443.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2187, allocations: 0 / 443.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.2189, allocations: 44.95 kB / 443.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2189, allocations: 2.938 kB / 443.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2189, allocations: 3.312 kB / 443.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.219, allocations: 4 kB / 443.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.219, allocations: 0 / 443.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.2194, allocations: 402.3 kB / 444.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.2194, allocations: 104.9 kB / 444.3 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.2195, allocations: 12 kB / 444.3 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.2197, allocations: 27.27 kB / 444.3 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2198, allocations: 13.47 kB / 444.3 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2198, allocations: 9.625 kB / 444.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.2201, allocations: 219.2 kB / 444.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2201, allocations: 0 / 444.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.2204, allocations: 33.03 kB / 444.6 MB, free: 33.97 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.0005188/0.2209, allocations: 0.9303 MB / 445.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.2212, allocations: 193.8 kB / 445.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2212, allocations: 0 / 445.7 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2213, allocations: 93.75 kB / 445.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2216, allocations: 34.78 kB / 445.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.2243, allocations: 2.535 MB / 448.4 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2245, allocations: 0.757 MB / 449.1 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.2246, allocations: 44.78 kB / 449.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.2247, allocations: 64.55 kB / 449.2 MB, free: 30.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2247, allocations: 3.938 kB / 449.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.2374, allocations: 4.007 MB / 453.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.2376, allocations: 182.8 kB / 453.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.951, allocations: 0 / 453.4 MB, free: 30.04 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)