Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.MovingMean,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.058/4.058, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.425e-05, allocations: 4.234 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 98.73 MB / 0.6302 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.4517, allocations: 124.5 MB / 0.7518 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.452, allocations: 71.95 kB / 0.7519 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006779/0.4588, allocations: 1.555 MB / 0.7534 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4589, allocations: 0 / 0.7534 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.4589, allocations: 0 / 0.7534 GB, free: 7.805 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005482/0.4594, allocations: 392.1 kB / 0.7538 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4595, allocations: 11.97 kB / 0.7538 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.4596, allocations: 34.56 kB / 0.7538 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.4596, allocations: 7.859 kB / 0.7538 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4599, allocations: 186.9 kB / 0.754 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4599, allocations: 4 kB / 0.754 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.4599, allocations: 0 / 0.754 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4602, allocations: 73.61 kB / 0.7541 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4602, allocations: 0 / 0.7541 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4602, allocations: 4 kB / 0.7541 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4602, allocations: 0 / 0.7541 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4603, allocations: 35.98 kB / 0.7541 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.4609, allocations: 284.8 kB / 0.7544 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.4611, allocations: 70.56 kB / 0.7544 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4612, allocations: 60.92 kB / 0.7545 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4612, allocations: 4 kB / 0.7545 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.4615, allocations: 109.1 kB / 0.7546 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.4615, allocations: 0 / 0.7546 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003812/0.4619, allocations: 155.3 kB / 0.7548 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.462, allocations: 110.8 kB / 0.7549 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.4621, allocations: 101 kB / 0.755 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.4621, allocations: 37.7 kB / 0.755 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.4622, allocations: 88.14 kB / 0.7551 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.4623, allocations: 27.69 kB / 0.7551 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.4623, allocations: 4 kB / 0.7551 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4625, allocations: 322.8 kB / 0.7554 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-05/0.4626, allocations: 31.94 kB / 0.7554 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4627, allocations: 99.16 kB / 0.7555 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.4629, allocations: 77.67 kB / 0.7556 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4629, allocations: 0 / 0.7556 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000449/0.4634, allocations: 187.1 kB / 0.7558 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.4635, allocations: 29.7 kB / 0.7558 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.4635, allocations: 7.953 kB / 0.7558 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4635, allocations: 4 kB / 0.7558 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.4637, allocations: 28.2 kB / 0.7559 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4637, allocations: 4.312 kB / 0.7559 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.4639, allocations: 23.78 kB / 0.7559 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.4639, allocations: 4 kB / 0.7559 GB, free: 4.938 MB / 0.6355 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.0001792/0.4641, allocations: 170.5 kB / 0.7561 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.4642, allocations: 11.91 kB / 0.7561 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.4642, allocations: 4.625 kB / 0.7561 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4642, allocations: 11.89 kB / 0.7561 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4642, allocations: 0 / 0.7561 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4643, allocations: 0 / 0.7561 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.4645, allocations: 189.6 kB / 0.7563 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4645, allocations: 0 / 0.7563 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.4646, allocations: 8 kB / 0.7563 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4646, allocations: 0 / 0.7563 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4646, allocations: 4 kB / 0.7563 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4646, allocations: 0 / 0.7563 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.4646, allocations: 7.938 kB / 0.7563 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.4651, allocations: 226.5 kB / 0.7565 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.4652, allocations: 88.89 kB / 0.7566 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.4652, allocations: 8 kB / 0.7566 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.4653, allocations: 7.984 kB / 0.7566 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.4654, allocations: 11.95 kB / 0.7566 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.4654, allocations: 0 / 0.7566 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.4655, allocations: 91.27 kB / 0.7567 GB, free: 4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4655, allocations: 4 kB / 0.7567 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003257/0.4658, allocations: 20 kB / 0.7567 GB, free: 3.977 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: 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.0008373/0.4667, allocations: 0.7587 MB / 0.7575 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.4671, allocations: 163.2 kB / 0.7576 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4671, allocations: 0 / 0.7576 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.4674, allocations: 175.4 kB / 0.7578 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.4676, allocations: 11.98 kB / 0.7578 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.4682, allocations: 154.9 kB / 0.7579 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.4685, allocations: 0.6926 MB / 0.7586 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.4686, allocations: 9.234 kB / 0.7586 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.4687, allocations: 23.42 kB / 0.7586 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.4687, allocations: 3.938 kB / 0.7587 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.4889, allocations: 1.792 MB / 0.7604 GB, free: 156 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000375/0.4893, allocations: 165.8 kB / 0.7606 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.644, allocations: 0 / 0.7606 GB, free: 15.93 MB / 0.6511 GB