Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadModel(Buildings): time 4.423/4.423, allocations: 431.3 MB / 445.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.619e-05, allocations: 8 kB / 0.5354 GB, free: 14.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6533, allocations: 98.71 MB / 0.6318 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002873/0.6562, allocations: 1.632 MB / 0.6334 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.6577, allocations: 0.6096 MB / 0.634 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.6579, allocations: 4 kB / 0.634 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.6579, allocations: 19.8 kB / 0.634 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.6581, allocations: 35.89 kB / 0.6341 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.6587, allocations: 115.8 kB / 0.6342 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.659, allocations: 143.8 kB / 0.6343 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.6592, allocations: 31.91 kB / 0.6344 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.6594, allocations: 99.75 kB / 0.6344 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.6597, allocations: 123.7 kB / 0.6346 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.6598, allocations: 15.94 kB / 0.6346 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.6599, allocations: 16 kB / 0.6346 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.66, allocations: 59.84 kB / 0.6347 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.6601, allocations: 27.94 kB / 0.6347 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.6605, allocations: 201.8 kB / 0.6349 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6606, allocations: 0 / 0.6349 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.106e-06/0.6606, allocations: 0 / 0.6349 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.6606, allocations: 4 kB / 0.6349 GB, free: 8.809 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002232/0.6629, allocations: 0.5963 MB / 0.6355 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.6629, allocations: 12.03 kB / 0.6355 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.6631, allocations: 31.67 kB / 0.6355 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.6634, allocations: 203.5 kB / 0.6357 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.6638, allocations: 259.8 kB / 0.6359 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6639, allocations: 31.91 kB / 0.636 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.665, allocations: 265.7 kB / 0.6362 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.6651, allocations: 4 kB / 0.6362 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.6651, allocations: 8 kB / 0.6362 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6651, allocations: 4 kB / 0.6362 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.6662, allocations: 191.8 kB / 0.6364 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.6685, allocations: 0.7777 MB / 0.6372 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6696, allocations: 220.5 kB / 0.6374 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-05/0.6697, allocations: 8.188 kB / 0.6374 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.6709, allocations: 315.2 kB / 0.6377 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 4.429e-06/0.6709, allocations: 3.938 kB / 0.6377 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.002519/0.6734, allocations: 0.4893 MB / 0.6382 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6736, allocations: 118.8 kB / 0.6383 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.6739, allocations: 154.7 kB / 0.6384 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.674, allocations: 37.7 kB / 0.6385 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.6742, allocations: 121.2 kB / 0.6386 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.6745, allocations: 153.9 kB / 0.6387 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.636e-05/0.6745, allocations: 12 kB / 0.6388 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.6748, allocations: 338.8 kB / 0.6391 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008837/0.6757, allocations: 149.2 kB / 0.6392 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.6768, allocations: 256.7 kB / 0.6395 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/0.6777, allocations: 168 kB / 0.6396 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.6778, allocations: 0 / 0.6396 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002332/0.6801, allocations: 0.4932 MB / 0.6401 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.6802, allocations: 8 kB / 0.6401 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6802, allocations: 4 kB / 0.6401 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.6803, allocations: 4 kB / 0.6401 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6813, allocations: 103.8 kB / 0.6402 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.6814, allocations: 11.94 kB / 0.6402 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.6821, allocations: 67.66 kB / 0.6403 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.6822, allocations: 20 kB / 0.6403 GB, free: 2.867 MB / 0.5105 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.000373/0.6826, allocations: 160 kB / 0.6405 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6827, allocations: 27.67 kB / 0.6405 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.6829, allocations: 29.88 kB / 0.6405 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.6829, allocations: 12 kB / 0.6405 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.6829, allocations: 0 / 0.6405 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.683, allocations: 3.984 kB / 0.6405 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.6837, allocations: 361.2 kB / 0.6409 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.6838, allocations: 0 / 0.6409 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6849, allocations: 79.95 kB / 0.641 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.6849, allocations: 4 kB / 0.641 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.685, allocations: 15.95 kB / 0.641 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.685, allocations: 0 / 0.641 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.6851, allocations: 4 kB / 0.641 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.6877, allocations: 0.6248 MB / 0.6416 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.6879, allocations: 108.7 kB / 0.6417 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6881, allocations: 12 kB / 0.6417 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.6887, allocations: 43.97 kB / 0.6417 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.689, allocations: 39.94 kB / 0.6418 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/0.689, allocations: 16 kB / 0.6418 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002014/0.6893, allocations: 129.3 kB / 0.6419 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/0.6893, allocations: 0 / 0.6419 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008095/0.6901, allocations: 79.88 kB / 0.642 GB, free: 1.027 MB / 0.5105 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.0003166/0.6904, allocations: 140.5 kB / 0.6421 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001995/0.6924, allocations: 404.1 kB / 0.6425 GB, free: 496 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6925, allocations: 0 / 0.6425 GB, free: 496 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.6935, allocations: 179.8 kB / 0.6427 GB, free: 316 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.6941, allocations: 40.11 kB / 0.6427 GB, free: 276 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.6966, allocations: 0.6998 MB / 0.6434 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.6972, allocations: 0.7686 MB / 0.6442 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004657/0.6977, allocations: 38.97 kB / 0.6442 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.698, allocations: 31.42 kB / 0.6442 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.153e-06/0.698, allocations: 0 / 0.6442 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.01723/0.7153, allocations: 3.032 MB / 0.6472 GB, free: 11.68 MB / 0.5261 GB