Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadModel(Buildings): time 3.942/3.942, allocations: 460.5 MB / 472.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.84e-05, allocations: 4 kB / 0.5681 GB, free: 10.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 106.2 MB / 0.6718 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7076/0.902, allocations: 131.8 MB / 0.8006 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.9023, allocations: 81.2 kB / 0.8006 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006095/0.9084, allocations: 1.646 MB / 0.8022 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.66e-06/0.9085, allocations: 0 / 0.8022 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9085, allocations: 3.812 kB / 0.8022 GB, free: 12.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000361/0.9089, allocations: 382.8 kB / 0.8026 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9089, allocations: 11.69 kB / 0.8026 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.909, allocations: 11.73 kB / 0.8026 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.9091, allocations: 178.4 kB / 0.8028 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.9092, allocations: 3.875 kB / 0.8028 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.9092, allocations: 3.812 kB / 0.8028 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.9094, allocations: 68.58 kB / 0.8029 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.815e-06/0.9094, allocations: 0 / 0.8029 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.9094, allocations: 5.156 kB / 0.8029 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-06/0.9094, allocations: 3.938 kB / 0.8029 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.9095, allocations: 32.97 kB / 0.8029 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.9099, allocations: 300.5 kB / 0.8032 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.9101, allocations: 68.92 kB / 0.8033 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.9102, allocations: 55.89 kB / 0.8033 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.9102, allocations: 1.359 kB / 0.8033 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.9104, allocations: 106.7 kB / 0.8034 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.752e-06/0.9104, allocations: 4 kB / 0.8034 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003066/0.9107, allocations: 155.3 kB / 0.8036 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9108, allocations: 117.7 kB / 0.8037 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.9108, allocations: 101.9 kB / 0.8038 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.9109, allocations: 31.12 kB / 0.8038 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.9109, allocations: 83.58 kB / 0.8039 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.911, allocations: 37.45 kB / 0.8039 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.911, allocations: 7 kB / 0.8039 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.911, allocations: 321.9 kB / 0.8042 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.9111, allocations: 28.88 kB / 0.8043 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.9112, allocations: 97.8 kB / 0.8044 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.9114, allocations: 79.16 kB / 0.8044 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-06/0.9114, allocations: 0 / 0.8044 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003166/0.9117, allocations: 186.3 kB / 0.8046 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.9118, allocations: 34.97 kB / 0.8047 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.9118, allocations: 7.828 kB / 0.8047 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9118, allocations: 3.875 kB / 0.8047 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.912, allocations: 23.34 kB / 0.8047 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.52e-06/0.912, allocations: 3.875 kB / 0.8047 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.9121, allocations: 16.88 kB / 0.8047 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.9121, allocations: 7.688 kB / 0.8047 GB, free: 10.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.9123, allocations: 166.7 kB / 0.8049 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.9123, allocations: 5.141 kB / 0.8049 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.9123, allocations: 8.438 kB / 0.8049 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-06/0.9124, allocations: 3.953 kB / 0.8049 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.951e-06/0.9124, allocations: 5.328 kB / 0.8049 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.445e-06/0.9124, allocations: 0 / 0.8049 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.9125, allocations: 186.8 kB / 0.8051 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-06/0.9125, allocations: 1.688 kB / 0.8051 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.9126, allocations: 9.188 kB / 0.8051 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9126, allocations: 0 / 0.8051 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.9127, allocations: 5.062 kB / 0.8051 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-06/0.9127, allocations: 3.938 kB / 0.8051 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9127, allocations: 4.578 kB / 0.8051 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.9131, allocations: 216.7 kB / 0.8053 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.9131, allocations: 82.34 kB / 0.8054 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.9131, allocations: 12.98 kB / 0.8054 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.9132, allocations: 9.25 kB / 0.8054 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.9133, allocations: 9.484 kB / 0.8054 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.9133, allocations: 3.875 kB / 0.8054 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.9134, allocations: 87.75 kB / 0.8055 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.22e-07/0.9134, allocations: 0 / 0.8055 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000309/0.9137, allocations: 23.16 kB / 0.8055 GB, free: 10.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.9138, allocations: 116.6 kB / 0.8056 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.9141, allocations: 162.2 kB / 0.8058 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.613e-06/0.9142, allocations: 0 / 0.8058 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.9143, allocations: 177.9 kB / 0.806 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.9145, allocations: 9.062 kB / 0.806 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.9149, allocations: 111.4 kB / 0.8061 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.9154, allocations: 0.7008 MB / 0.8068 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.257e-05/0.9155, allocations: 6.969 kB / 0.8068 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.9155, allocations: 12 kB / 0.8068 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.641e-06/0.9155, allocations: 0 / 0.8068 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.00372/0.9193, allocations: 0.8718 MB / 0.8076 GB, free: 24.95 MB / 0.6511 GB