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: translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008947, allocations: 92.23 kB / 16.02 MB, free: 80 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.001075/0.001075, allocations: 184 kB / 16.92 MB, free: 6.926 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.268/1.268, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1926/0.1926, allocations: 22.35 MB / 314.4 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 11.94 kB / 383.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2238, allocations: 56 MB / 439.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001289/0.2251, allocations: 1.488 MB / 440.7 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006615/0.2258, allocations: 0.5636 MB / 441.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.2259, allocations: 0 / 441.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.2261, allocations: 41.06 kB / 441.3 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.2262, allocations: 56.41 kB / 441.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.2264, allocations: 83.7 kB / 441.5 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.2266, allocations: 249.7 kB / 441.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2268, allocations: 40.48 kB / 441.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.2269, allocations: 90.52 kB / 441.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.227, allocations: 114.7 kB / 442 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.227, allocations: 5.219 kB / 442 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.2271, allocations: 7.875 kB / 442 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.2271, allocations: 54.7 kB / 442 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.2272, allocations: 100.9 kB / 442.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2273, allocations: 127 kB / 442.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2273, allocations: 4 kB / 442.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2273, allocations: 0 / 442.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.2273, allocations: 3.562 kB / 442.3 MB, free: 37.36 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.001002/0.2284, allocations: 0.5394 MB / 442.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.2284, allocations: 13.78 kB / 442.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.2284, allocations: 22.47 kB / 442.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.2289, allocations: 321.6 kB / 443.1 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.229, allocations: 7.516 kB / 443.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.229, allocations: 21.27 kB / 443.2 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2292, allocations: 149.8 kB / 443.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2293, allocations: 2.812 kB / 443.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.2293, allocations: 8 kB / 443.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2293, allocations: 3.031 kB / 443.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.2295, allocations: 137.6 kB / 443.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.2302, allocations: 0.5441 MB / 444 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.2306, allocations: 196.5 kB / 444.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2307, allocations: 83.83 kB / 444.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2308, allocations: 10.61 kB / 444.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.139e-05/0.2308, allocations: 37.56 kB / 444.3 MB, free: 36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.2308, allocations: 3.938 kB / 444.3 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004372/0.2312, allocations: 256.9 kB / 444.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.2313, allocations: 51.41 kB / 444.6 MB, free: 35.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.2317, allocations: 270 kB / 444.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2317, allocations: 28.61 kB / 444.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.2318, allocations: 127.2 kB / 445.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.2318, allocations: 59.39 kB / 445.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.2319, allocations: 23.62 kB / 445.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.2319, allocations: 332.5 kB / 445.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.232, allocations: 63.59 kB / 445.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.2321, allocations: 65.78 kB / 445.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.2337, allocations: 475 kB / 446 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2337, allocations: 0 / 446 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003103/0.234, allocations: 231.4 kB / 446.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.2341, allocations: 5.344 kB / 446.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2341, allocations: 0 / 446.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.2341, allocations: 2.406 kB / 446.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2343, allocations: 45.11 kB / 446.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2343, allocations: 0 / 446.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2345, allocations: 36.34 kB / 446.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2346, allocations: 14.05 kB / 446.4 MB, free: 34.88 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.0001326/0.2347, allocations: 153.2 kB / 446.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.2348, allocations: 13.91 kB / 446.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.2352, allocations: 254 kB / 446.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2352, allocations: 6.172 kB / 446.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2352, allocations: 0 / 446.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2352, allocations: 0 / 446.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.2354, allocations: 289.9 kB / 447.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2354, allocations: 0 / 447.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.2357, allocations: 36.53 kB / 447.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2357, allocations: 4 kB / 447.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2357, allocations: 14.09 kB / 447.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2357, allocations: 0 / 447.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2357, allocations: 2.969 kB / 447.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.2361, allocations: 401.2 kB / 447.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.2362, allocations: 104.7 kB / 447.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.2362, allocations: 3.938 kB / 447.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.2365, allocations: 36.36 kB / 447.7 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.2366, allocations: 8.938 kB / 447.7 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2366, allocations: 13.69 kB / 447.7 MB, free: 34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003828/0.237, allocations: 215.1 kB / 447.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.237, allocations: 4 kB / 447.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.2372, allocations: 36.69 kB / 447.9 MB, free: 33.89 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 5.976e-05/0.2373, allocations: 98.44 kB / 448 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.2376, allocations: 182.6 kB / 448.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2376, allocations: 0 / 448.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2377, allocations: 87.61 kB / 448.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2381, allocations: 36.69 kB / 448.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.2388, allocations: 0.5948 MB / 448.9 MB, free: 33.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.239, allocations: 0.7547 MB / 449.7 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.239, allocations: 26.34 kB / 449.7 MB, free: 32.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2391, allocations: 0 / 449.7 MB, free: 32.62 MB / 350.1 MB Notification: Performance of Templates: time 0.003261/0.2423, allocations: 2.521 MB / 452.2 MB, free: 32.43 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile (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 & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)