Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadModel(Buildings): time 4.219/4.219, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.509e-05, allocations: 5.25 kB / 0.5731 GB, free: 5.727 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6984/0.8965, allocations: 132.4 MB / 0.8071 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.8968, allocations: 74.97 kB / 0.8071 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01562/0.9125, allocations: 3.769 MB / 0.8108 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.131e-06/0.9125, allocations: 3.938 kB / 0.8108 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.9125, allocations: 7.844 kB / 0.8108 GB, free: 12.09 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.0008042/0.9134, allocations: 468.3 kB / 0.8113 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9134, allocations: 7.688 kB / 0.8113 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.9135, allocations: 20.27 kB / 0.8113 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.9138, allocations: 229.6 kB / 0.8115 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.914, allocations: 80.27 kB / 0.8116 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.914, allocations: 11.53 kB / 0.8116 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.9144, allocations: 193.8 kB / 0.8118 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.9145, allocations: 0 / 0.8118 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.9145, allocations: 6.641 kB / 0.8118 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-06/0.9145, allocations: 3.844 kB / 0.8118 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.9147, allocations: 88.67 kB / 0.8119 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.9154, allocations: 428 kB / 0.8123 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.9157, allocations: 143.4 kB / 0.8124 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.9159, allocations: 93.83 kB / 0.8125 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.9159, allocations: 7.875 kB / 0.8125 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.9163, allocations: 197.4 kB / 0.8127 GB, free: 11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=28): time 3.566e-06/0.9163, allocations: 0 / 0.8127 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.0007217/0.9171, allocations: 349.9 kB / 0.8131 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.9171, allocations: 61.59 kB / 0.8131 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.9173, allocations: 125.3 kB / 0.8132 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.9173, allocations: 43.92 kB / 0.8133 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.9174, allocations: 102.3 kB / 0.8134 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.9175, allocations: 71.62 kB / 0.8134 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.9175, allocations: 6.188 kB / 0.8135 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.9176, allocations: 327.9 kB / 0.8138 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.9178, allocations: 97.95 kB / 0.8139 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.9181, allocations: 161 kB / 0.814 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.9184, allocations: 116.6 kB / 0.8141 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.235e-06/0.9184, allocations: 0 / 0.8141 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006621/0.9191, allocations: 323.9 kB / 0.8144 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9191, allocations: 3.875 kB / 0.8144 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9191, allocations: 8.062 kB / 0.8144 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9192, allocations: 7.906 kB / 0.8145 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.9196, allocations: 80.48 kB / 0.8145 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.9196, allocations: 0 / 0.8145 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.9199, allocations: 47 kB / 0.8146 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.92, allocations: 19.48 kB / 0.8146 GB, free: 10.16 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.0001476/0.9201, allocations: 146.5 kB / 0.8147 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.9202, allocations: 21.97 kB / 0.8148 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.9202, allocations: 12.78 kB / 0.8148 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-06/0.9203, allocations: 7.844 kB / 0.8148 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-06/0.9203, allocations: 3.938 kB / 0.8148 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.429e-06/0.9203, allocations: 3.047 kB / 0.8148 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.9214, allocations: 0.7207 MB / 0.8155 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-06/0.9215, allocations: 3.938 kB / 0.8155 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.9215, allocations: 10.7 kB / 0.8155 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.339e-06/0.9216, allocations: 0 / 0.8155 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.9216, allocations: 12.23 kB / 0.8155 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.499e-06/0.9216, allocations: 4 kB / 0.8155 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.806e-06/0.9216, allocations: 0 / 0.8155 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.9223, allocations: 449.3 kB / 0.8159 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.9223, allocations: 92.7 kB / 0.816 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.9224, allocations: 16.34 kB / 0.816 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.9227, allocations: 26.48 kB / 0.8161 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.9228, allocations: 31.2 kB / 0.8161 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.9228, allocations: 12.61 kB / 0.8161 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.555e-05/0.9229, allocations: 104.3 kB / 0.8162 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.23e-07/0.9229, allocations: 0 / 0.8162 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004559/0.9234, allocations: 56.41 kB / 0.8163 GB, free: 9.359 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.0001788/0.9236, allocations: 136.5 kB / 0.8164 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.9241, allocations: 245.4 kB / 0.8166 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9241, allocations: 0 / 0.8166 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.9244, allocations: 110.8 kB / 0.8167 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.9247, allocations: 31.28 kB / 0.8168 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.9253, allocations: 224.2 kB / 0.817 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.9258, allocations: 0.7278 MB / 0.8177 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.926, allocations: 19.02 kB / 0.8177 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.926, allocations: 19 kB / 0.8177 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/0.926, allocations: 0 / 0.8177 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.007392/0.9335, allocations: 2.576 MB / 0.8202 GB, free: 24.24 MB / 0.6511 GB