Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadModel(Buildings): time 4.398/4.398, allocations: 431.3 MB / 445.8 MB, free: 5.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.457e-05, allocations: 8 kB / 0.5354 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6526, allocations: 98.71 MB / 0.6318 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.002447/0.6551, allocations: 1.106 MB / 0.6329 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.656, allocations: 256.1 kB / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.6561, allocations: 3.938 kB / 0.6331 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.493e-05/0.6562, allocations: 0 / 0.6331 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.6564, allocations: 11.97 kB / 0.6332 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.6566, allocations: 27.91 kB / 0.6332 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.6567, allocations: 23.97 kB / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.6568, allocations: 7.984 kB / 0.6332 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.6569, allocations: 19.88 kB / 0.6332 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.6571, allocations: 31.89 kB / 0.6333 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/0.6571, allocations: 4 kB / 0.6333 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.6572, allocations: 0 / 0.6333 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.6572, allocations: 11.98 kB / 0.6333 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.6573, allocations: 4 kB / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.6574, allocations: 38.31 kB / 0.6333 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6574, allocations: 4 kB / 0.6333 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6575, allocations: 0 / 0.6333 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.6575, allocations: 0 / 0.6333 GB, free: 10.4 MB / 0.5105 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.0006649/0.6582, allocations: 377 kB / 0.6337 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.6582, allocations: 12.03 kB / 0.6337 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.6583, allocations: 3.906 kB / 0.6337 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.6586, allocations: 183 kB / 0.6339 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6586, allocations: 0 / 0.6339 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.6586, allocations: 8 kB / 0.6339 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.659, allocations: 77.59 kB / 0.634 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.659, allocations: 0 / 0.634 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.6591, allocations: 4 kB / 0.634 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6591, allocations: 0 / 0.634 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.6594, allocations: 43.97 kB / 0.634 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007339/0.6601, allocations: 304.6 kB / 0.6343 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.6604, allocations: 79.08 kB / 0.6344 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.6604, allocations: 0 / 0.6344 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.6608, allocations: 121.1 kB / 0.6345 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 2.735e-06/0.6608, allocations: 0 / 0.6345 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0009202/0.6617, allocations: 288.4 kB / 0.6348 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.6619, allocations: 122.7 kB / 0.6349 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.662, allocations: 108.9 kB / 0.635 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.6621, allocations: 33.64 kB / 0.635 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.6622, allocations: 88.14 kB / 0.6351 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.6623, allocations: 27.7 kB / 0.6351 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.6623, allocations: 0 / 0.6351 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6625, allocations: 318.8 kB / 0.6354 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.6627, allocations: 43.97 kB / 0.6355 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.663, allocations: 112.5 kB / 0.6356 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.6633, allocations: 81.67 kB / 0.6357 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6633, allocations: 0 / 0.6357 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000727/0.6641, allocations: 199.1 kB / 0.6358 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.6642, allocations: 33.98 kB / 0.6359 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.6642, allocations: 8 kB / 0.6359 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.6642, allocations: 7.953 kB / 0.6359 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.6645, allocations: 23.92 kB / 0.6359 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.6646, allocations: 7.984 kB / 0.6359 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.6647, allocations: 19.84 kB / 0.6359 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.6648, allocations: 8 kB / 0.6359 GB, free: 7.402 MB / 0.5105 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.0002688/0.6651, allocations: 179.3 kB / 0.6361 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.6651, allocations: 11.91 kB / 0.6361 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.6652, allocations: 12.36 kB / 0.6361 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6652, allocations: 0 / 0.6361 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6652, allocations: 7.891 kB / 0.6361 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6653, allocations: 4 kB / 0.6362 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.6655, allocations: 181.6 kB / 0.6363 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6656, allocations: 0 / 0.6363 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.6657, allocations: 7.984 kB / 0.6363 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6657, allocations: 3.938 kB / 0.6363 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.6657, allocations: 4 kB / 0.6363 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6657, allocations: 4 kB / 0.6363 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6658, allocations: 0 / 0.6363 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.6665, allocations: 230.6 kB / 0.6366 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.6666, allocations: 84.95 kB / 0.6366 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.6667, allocations: 11.98 kB / 0.6367 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.6669, allocations: 8 kB / 0.6367 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.667, allocations: 7.984 kB / 0.6367 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.667, allocations: 4 kB / 0.6367 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.6671, allocations: 87.23 kB / 0.6368 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/0.6671, allocations: 3.938 kB / 0.6368 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005563/0.6677, allocations: 24 kB / 0.6368 GB, free: 6.434 MB / 0.5105 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.0002396/0.668, allocations: 115.2 kB / 0.6369 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006663/0.6686, allocations: 175.2 kB / 0.6371 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6687, allocations: 3.938 kB / 0.6371 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.6691, allocations: 191.3 kB / 0.6372 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.6694, allocations: 10.11 kB / 0.6373 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.6701, allocations: 199.5 kB / 0.6374 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.6705, allocations: 0.6926 MB / 0.6381 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.217e-05/0.6706, allocations: 4.672 kB / 0.6381 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.6706, allocations: 15.44 kB / 0.6381 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.6707, allocations: 0 / 0.6381 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of Templates: time 0.005554/0.6762, allocations: 0.8737 MB / 0.639 GB, free: 4.09 MB / 0.5105 GB