Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadModel(Buildings): time 4.533/4.533, allocations: 460.5 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.603e-05/4.615e-05, allocations: 4 kB / 0.5681 GB, free: 10.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 106.2 MB / 0.6718 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.824/1.041, allocations: 132 MB / 0.8007 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/1.041, allocations: 74.11 kB / 0.8008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01437/1.055, allocations: 3.651 MB / 0.8043 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.805e-06/1.055, allocations: 0 / 0.8043 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.055, allocations: 7.781 kB / 0.8043 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006698/1.056, allocations: 450.1 kB / 0.8048 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.056, allocations: 15.53 kB / 0.8048 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/1.056, allocations: 19.61 kB / 0.8048 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/1.056, allocations: 225.9 kB / 0.805 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/1.057, allocations: 18.55 kB / 0.805 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/1.057, allocations: 14.84 kB / 0.8051 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/1.057, allocations: 185.3 kB / 0.8052 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.057, allocations: 0 / 0.8052 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/1.057, allocations: 7.328 kB / 0.8052 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.719e-06/1.057, allocations: 6.797 kB / 0.8052 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/1.057, allocations: 87.47 kB / 0.8053 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/1.058, allocations: 427.9 kB / 0.8057 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/1.058, allocations: 141.5 kB / 0.8059 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.058, allocations: 96.34 kB / 0.806 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/1.058, allocations: 0 / 0.806 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/1.059, allocations: 197.5 kB / 0.8062 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=28): time 4.035e-06/1.059, allocations: 3.812 kB / 0.8062 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.0007264/1.06, allocations: 347.5 kB / 0.8065 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/1.06, allocations: 58.56 kB / 0.8065 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/1.06, allocations: 130.2 kB / 0.8067 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/1.06, allocations: 43.17 kB / 0.8067 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/1.06, allocations: 100.5 kB / 0.8068 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/1.06, allocations: 65.7 kB / 0.8069 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/1.06, allocations: 14.09 kB / 0.8069 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/1.06, allocations: 331.5 kB / 0.8072 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.06, allocations: 92.31 kB / 0.8073 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/1.061, allocations: 157.7 kB / 0.8074 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/1.061, allocations: 118.4 kB / 0.8076 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-06/1.061, allocations: 0 / 0.8076 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006155/1.061, allocations: 312 kB / 0.8078 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.061, allocations: 15.12 kB / 0.8079 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-06/1.061, allocations: 0 / 0.8079 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.061, allocations: 3.875 kB / 0.8079 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/1.062, allocations: 71.97 kB / 0.8079 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.062, allocations: 7.25 kB / 0.8079 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/1.062, allocations: 42.42 kB / 0.808 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/1.062, allocations: 14.75 kB / 0.808 GB, free: 10.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition4,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition3,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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.0001486/1.062, allocations: 151.6 kB / 0.8081 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/1.062, allocations: 15.5 kB / 0.8082 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/1.063, allocations: 19.55 kB / 0.8082 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-06/1.063, allocations: 0 / 0.8082 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.114e-06/1.063, allocations: 3.469 kB / 0.8082 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.063, allocations: 4.094 kB / 0.8082 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.064, allocations: 0.7217 MB / 0.8089 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-06/1.064, allocations: 0 / 0.8089 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/1.064, allocations: 7.719 kB / 0.8089 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.486e-06/1.064, allocations: 4 kB / 0.8089 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/1.064, allocations: 13.92 kB / 0.8089 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.064, allocations: 7.781 kB / 0.8089 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.062e-06/1.064, allocations: 0 / 0.8089 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/1.065, allocations: 441.5 kB / 0.8093 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/1.065, allocations: 95.52 kB / 0.8094 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/1.065, allocations: 17.09 kB / 0.8094 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.065, allocations: 24.34 kB / 0.8095 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/1.065, allocations: 26.8 kB / 0.8095 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.065, allocations: 16.22 kB / 0.8095 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.278e-05/1.065, allocations: 108.2 kB / 0.8096 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.72e-07/1.065, allocations: 0 / 0.8096 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004289/1.066, allocations: 54.45 kB / 0.8097 GB, free: 10.06 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: 27 (booPul.y,booPul1.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.pulseStart) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[3],triMovMea.ySample[2],triMovMea.ySample[1],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0001665/1.066, allocations: 139.7 kB / 0.8098 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005252/1.067, allocations: 237.9 kB / 0.81 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-06/1.067, allocations: 0 / 0.81 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.067, allocations: 114.3 kB / 0.8101 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/1.067, allocations: 27.88 kB / 0.8102 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/1.068, allocations: 229.2 kB / 0.8104 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/1.068, allocations: 0.7232 MB / 0.8111 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.948e-05/1.068, allocations: 19.2 kB / 0.8111 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/1.068, allocations: 19 kB / 0.8111 GB, free: 25.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.408e-06/1.068, allocations: 4 kB / 0.8111 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.006951/1.075, allocations: 2.506 MB / 0.8136 GB, free: 24.93 MB / 0.6511 GB