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.001452/0.001452, allocations: 100.1 kB / 15.88 MB, free: 12 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.001657/0.001657, allocations: 199 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1974/0.1974, allocations: 22.35 MB / 313 MB, free: 12.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 380.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.251, allocations: 54.94 MB / 435.7 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002772/0.2538, allocations: 1.842 MB / 437.5 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.2548, allocations: 0.5767 MB / 438.1 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.255, allocations: 6.844 kB / 438.1 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.2553, allocations: 34.28 kB / 438.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.2555, allocations: 52.72 kB / 438.2 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.2557, allocations: 85.77 kB / 438.3 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.2559, allocations: 251.5 kB / 438.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2561, allocations: 40.47 kB / 438.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2562, allocations: 100.2 kB / 438.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2564, allocations: 120.3 kB / 438.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.2564, allocations: 5.781 kB / 438.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.79e-05/0.2565, allocations: 8.844 kB / 438.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.2566, allocations: 66.73 kB / 438.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.2566, allocations: 70.78 kB / 438.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2568, allocations: 129.9 kB / 439.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2568, allocations: 0 / 439.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2568, allocations: 0 / 439.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2568, allocations: 0 / 439.1 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.001137/0.2579, allocations: 0.5803 MB / 439.6 MB, free: 36.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.258, allocations: 19.84 kB / 439.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.258, allocations: 22.38 kB / 439.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.2586, allocations: 310.4 kB / 440 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2586, allocations: 12.97 kB / 440 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.2586, allocations: 16.52 kB / 440 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2589, allocations: 158.9 kB / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2589, allocations: 4 kB / 440.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.259, allocations: 6.625 kB / 440.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.259, allocations: 5.688 kB / 440.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.2592, allocations: 126.9 kB / 440.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.26, allocations: 0.5433 MB / 440.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.2605, allocations: 187.5 kB / 441 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2606, allocations: 94.52 kB / 441.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.2607, allocations: 2.656 kB / 441.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2607, allocations: 37.38 kB / 441.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2607, allocations: 0 / 441.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005025/0.2612, allocations: 260.1 kB / 441.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2612, allocations: 54.34 kB / 441.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.2617, allocations: 264.8 kB / 441.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2617, allocations: 29.7 kB / 441.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.2618, allocations: 127.8 kB / 441.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.2618, allocations: 59.69 kB / 441.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.2619, allocations: 41.02 kB / 442 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.262, allocations: 328.5 kB / 442.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2621, allocations: 63.92 kB / 442.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.2622, allocations: 69.62 kB / 442.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.2639, allocations: 466 kB / 442.9 MB, free: 34.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2639, allocations: 0 / 442.9 MB, free: 34.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003558/0.2643, allocations: 231.8 kB / 443.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2643, allocations: 9.812 kB / 443.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2643, allocations: 0 / 443.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2643, allocations: 0 / 443.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.2645, allocations: 39.16 kB / 443.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2645, allocations: 2.938 kB / 443.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.2648, allocations: 43.36 kB / 443.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2648, allocations: 5.938 kB / 443.2 MB, free: 34.85 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.0002018/0.265, allocations: 153.6 kB / 443.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.2651, allocations: 20.12 kB / 443.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.2655, allocations: 253.9 kB / 443.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2655, allocations: 0 / 443.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2655, allocations: 0 / 443.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2655, allocations: 6.469 kB / 443.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.2658, allocations: 288.4 kB / 443.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2658, allocations: 0 / 443.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2661, allocations: 39.61 kB / 444 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.2661, allocations: 2.812 kB / 444 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2661, allocations: 14.2 kB / 444 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2661, allocations: 0 / 444 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2662, allocations: 0 / 444 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.2667, allocations: 397.3 kB / 444.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.2667, allocations: 101.9 kB / 444.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2668, allocations: 6.906 kB / 444.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.267, allocations: 32.03 kB / 444.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.2671, allocations: 12.5 kB / 444.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2671, allocations: 5.844 kB / 444.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003847/0.2675, allocations: 215.1 kB / 444.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2675, allocations: 0 / 444.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2678, allocations: 36.72 kB / 444.8 MB, free: 33.87 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 8.786e-05/0.2679, allocations: 100.5 kB / 444.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.2682, allocations: 188.2 kB / 445.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2682, allocations: 0 / 445.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2684, allocations: 87.77 kB / 445.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.2688, allocations: 32.14 kB / 445.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.2697, allocations: 0.584 MB / 445.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.2699, allocations: 0.7472 MB / 446.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.27, allocations: 26.72 kB / 446.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.27, allocations: 4 kB / 446.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of Templates: time 0.003903/0.2739, allocations: 2.543 MB / 449.1 MB, free: 32.38 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)