Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadModel(Buildings): time 4.413/4.413, allocations: 464.7 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.205e-05/5.217e-05, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2169, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7023/0.9192, allocations: 132.6 MB / 0.8072 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.9195, allocations: 75.42 kB / 0.8073 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03382/0.9533, allocations: 8.743 MB / 0.8158 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.94e-06/0.9534, allocations: 0 / 0.8158 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.9534, allocations: 6.312 kB / 0.8158 GB, free: 11.62 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001108/0.9545, allocations: 0.6113 MB / 0.8164 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.9546, allocations: 11.59 kB / 0.8165 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.9547, allocations: 26.91 kB / 0.8165 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.9548, allocations: 190.9 kB / 0.8167 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.955, allocations: 268.1 kB / 0.8169 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.9551, allocations: 32.94 kB / 0.8169 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.9556, allocations: 235.2 kB / 0.8172 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.9556, allocations: 7.844 kB / 0.8172 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.9557, allocations: 19.69 kB / 0.8172 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.96e-06/0.9557, allocations: 3.5 kB / 0.8172 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.9561, allocations: 140.3 kB / 0.8173 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.9575, allocations: 0.7996 MB / 0.8181 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.958, allocations: 186.3 kB / 0.8183 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.9582, allocations: 115.9 kB / 0.8184 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.9583, allocations: 8.312 kB / 0.8184 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.9588, allocations: 294.6 kB / 0.8187 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 4.257e-06/0.9588, allocations: 0 / 0.8187 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0007995/0.9596, allocations: 333.6 kB / 0.819 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.9597, allocations: 110.5 kB / 0.8191 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.9599, allocations: 156.7 kB / 0.8193 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.9599, allocations: 38.92 kB / 0.8193 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.96, allocations: 123.1 kB / 0.8194 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.9601, allocations: 154.5 kB / 0.8196 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.9602, allocations: 9.5 kB / 0.8196 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.9603, allocations: 345.8 kB / 0.8199 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.9606, allocations: 130.5 kB / 0.82 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.9609, allocations: 231.8 kB / 0.8203 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.9613, allocations: 140.6 kB / 0.8204 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.745e-06/0.9613, allocations: 0 / 0.8204 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000885/0.9622, allocations: 448 kB / 0.8208 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.9622, allocations: 8.672 kB / 0.8208 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9623, allocations: 3.906 kB / 0.8208 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.9623, allocations: 7.812 kB / 0.8208 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.9628, allocations: 100.4 kB / 0.8209 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.9628, allocations: 11.17 kB / 0.8209 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.9632, allocations: 65.33 kB / 0.821 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.9633, allocations: 30.09 kB / 0.821 GB, free: 8.906 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001639/0.9635, allocations: 150.2 kB / 0.8212 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.9636, allocations: 26.88 kB / 0.8212 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.9637, allocations: 33.08 kB / 0.8212 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.998e-06/0.9637, allocations: 3.812 kB / 0.8212 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.381e-06/0.9637, allocations: 0 / 0.8212 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.78e-06/0.9637, allocations: 7.016 kB / 0.8212 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.9641, allocations: 355.7 kB / 0.8216 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-06/0.9641, allocations: 3.875 kB / 0.8216 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.9647, allocations: 79.81 kB / 0.8217 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.9647, allocations: 3.938 kB / 0.8217 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.9648, allocations: 16.86 kB / 0.8217 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.248e-06/0.9648, allocations: 3.938 kB / 0.8217 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9648, allocations: 3.875 kB / 0.8217 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.9659, allocations: 0.5542 MB / 0.8222 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.966, allocations: 107.3 kB / 0.8223 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.966, allocations: 7.406 kB / 0.8223 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.9664, allocations: 46.55 kB / 0.8224 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.9665, allocations: 44.59 kB / 0.8224 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.9665, allocations: 17.98 kB / 0.8224 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.551e-05/0.9667, allocations: 127.4 kB / 0.8226 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.31e-07/0.9667, allocations: 0 / 0.8226 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004583/0.9671, allocations: 79.16 kB / 0.8226 GB, free: 8.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000184/0.9673, allocations: 130.9 kB / 0.8228 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007481/0.9681, allocations: 335.6 kB / 0.8231 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.177e-06/0.9681, allocations: 0 / 0.8231 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.9685, allocations: 167.7 kB / 0.8232 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.9688, allocations: 31.73 kB / 0.8233 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.9699, allocations: 0.5022 MB / 0.8238 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.9706, allocations: 0.7718 MB / 0.8245 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.9708, allocations: 38.62 kB / 0.8246 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.971, allocations: 36.16 kB / 0.8246 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.764e-06/0.971, allocations: 0 / 0.8246 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.008573/0.9796, allocations: 3.031 MB / 0.8276 GB, free: 22.46 MB / 0.6511 GB