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.0008924/0.0008923, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005905/0.005905, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2187/0.2187, allocations: 22.34 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005163, allocations: 8 kB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3597, allocations: 55.98 MB / 438.6 MB, free: 39.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001833/0.3616, allocations: 1.504 MB / 440.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.3625, allocations: 0.5676 MB / 440.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.3626, allocations: 3 kB / 440.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.3629, allocations: 33.11 kB / 440.7 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3631, allocations: 56.02 kB / 440.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.3633, allocations: 85.73 kB / 440.8 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3636, allocations: 252.1 kB / 441.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3637, allocations: 35.44 kB / 441.1 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3638, allocations: 94.55 kB / 441.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.364, allocations: 110.2 kB / 441.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.364, allocations: 6 kB / 441.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.3641, allocations: 5.875 kB / 441.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.3641, allocations: 52.77 kB / 441.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.3642, allocations: 109.7 kB / 441.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3644, allocations: 167.8 kB / 441.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3644, allocations: 0 / 441.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3644, allocations: 0 / 441.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3644, allocations: 0 / 441.6 MB, free: 37.53 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.001078/0.3655, allocations: 0.5521 MB / 442.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3655, allocations: 12.78 kB / 442.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.3656, allocations: 20.88 kB / 442.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.3661, allocations: 310.9 kB / 442.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3662, allocations: 9.859 kB / 442.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.3662, allocations: 20.25 kB / 442.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3665, allocations: 153.5 kB / 442.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3665, allocations: 0 / 442.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3665, allocations: 2.844 kB / 442.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3665, allocations: 10.69 kB / 442.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.3667, allocations: 134.6 kB / 442.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.3675, allocations: 0.5419 MB / 443.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.3679, allocations: 196.1 kB / 443.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.368, allocations: 89.06 kB / 443.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3681, allocations: 2.906 kB / 443.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.3681, allocations: 34.56 kB / 443.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.3681, allocations: 3.938 kB / 443.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004512/0.3685, allocations: 265.8 kB / 444 MB, free: 36.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3686, allocations: 51.41 kB / 444 MB, free: 36.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.369, allocations: 268.9 kB / 444.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.369, allocations: 29.7 kB / 444.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.3691, allocations: 131.4 kB / 444.4 MB, free: 35.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3691, allocations: 56.12 kB / 444.5 MB, free: 35.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.3692, allocations: 24.56 kB / 444.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.3692, allocations: 331.6 kB / 444.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3694, allocations: 61.56 kB / 444.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3695, allocations: 64.7 kB / 445 MB, free: 35.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.371, allocations: 473.9 kB / 445.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.371, allocations: 0 / 445.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003146/0.3714, allocations: 234.4 kB / 445.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3714, allocations: 9.906 kB / 445.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3714, allocations: 0 / 445.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3714, allocations: 0 / 445.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.3716, allocations: 42.88 kB / 445.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3716, allocations: 3.938 kB / 445.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3719, allocations: 40.66 kB / 445.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.3719, allocations: 5.625 kB / 445.7 MB, free: 35.05 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.000148/0.372, allocations: 148.7 kB / 445.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3721, allocations: 19.88 kB / 445.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/0.3725, allocations: 249.2 kB / 446.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3725, allocations: 3.469 kB / 446.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3725, allocations: 3 kB / 446.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3725, allocations: 0 / 446.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3728, allocations: 293.9 kB / 446.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3728, allocations: 0 / 446.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.373, allocations: 35.2 kB / 446.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.373, allocations: 3.156 kB / 446.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.373, allocations: 10.97 kB / 446.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.373, allocations: 3.469 kB / 446.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.373, allocations: 0 / 446.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.3735, allocations: 412.2 kB / 446.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.3736, allocations: 94.23 kB / 447 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.3736, allocations: 6.875 kB / 447 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.3739, allocations: 35.77 kB / 447 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3739, allocations: 10.31 kB / 447 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3739, allocations: 5.781 kB / 447 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.3743, allocations: 215 kB / 447.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3743, allocations: 0 / 447.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3746, allocations: 40.31 kB / 447.3 MB, free: 34.07 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.865e-05/0.3747, allocations: 106.2 kB / 447.4 MB, free: 33.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.375, allocations: 173.8 kB / 447.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.375, allocations: 0 / 447.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3751, allocations: 90.56 kB / 447.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3755, allocations: 36.92 kB / 447.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.3763, allocations: 0.5603 MB / 448.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.3764, allocations: 0.7497 MB / 449 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3766, allocations: 41.19 kB / 449 MB, free: 32.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.3766, allocations: 22.17 kB / 449.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3767, allocations: 11.88 kB / 449.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004065/0.3807, allocations: 1.745 MB / 450.8 MB, free: 32.69 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)