Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Discrete_Examples_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.386/4.386, allocations: 464.6 MB / 476.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.113e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9286/1.173, allocations: 132.2 MB / 0.807 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.173, allocations: 77.09 kB / 0.807 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0101/1.183, allocations: 1.651 MB / 0.8086 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.835e-06/1.183, allocations: 0 / 0.8086 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.183, allocations: 3.938 kB / 0.8086 GB, free: 11.87 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.0005657/1.184, allocations: 385.5 kB / 0.809 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/1.184, allocations: 11.56 kB / 0.809 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/1.184, allocations: 33.8 kB / 0.8091 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/1.184, allocations: 7.75 kB / 0.8091 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/1.184, allocations: 180.5 kB / 0.8092 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/1.184, allocations: 3.312 kB / 0.8092 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.184, allocations: 7.781 kB / 0.8092 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/1.185, allocations: 73.48 kB / 0.8093 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.185, allocations: 4 kB / 0.8093 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.185, allocations: 0 / 0.8093 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.185, allocations: 0 / 0.8093 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/1.185, allocations: 33.3 kB / 0.8093 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/1.186, allocations: 287.9 kB / 0.8096 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/1.186, allocations: 66.66 kB / 0.8097 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/1.186, allocations: 57.47 kB / 0.8097 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/1.186, allocations: 0 / 0.8097 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/1.186, allocations: 112.2 kB / 0.8098 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/1.186, allocations: 0 / 0.8098 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003422/1.187, allocations: 152.1 kB / 0.81 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.187, allocations: 117.6 kB / 0.8101 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/1.187, allocations: 103 kB / 0.8102 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/1.187, allocations: 33.67 kB / 0.8102 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/1.187, allocations: 87.06 kB / 0.8103 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/1.187, allocations: 35.05 kB / 0.8104 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/1.187, allocations: 0 / 0.8104 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/1.187, allocations: 328.6 kB / 0.8107 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/1.187, allocations: 32.25 kB / 0.8107 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.187, allocations: 94.11 kB / 0.8108 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/1.187, allocations: 78.56 kB / 0.8109 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.187, allocations: 0 / 0.8109 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003395/1.188, allocations: 188.1 kB / 0.811 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/1.188, allocations: 35.95 kB / 0.8111 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.188, allocations: 0 / 0.8111 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.188, allocations: 4.25 kB / 0.8111 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.188, allocations: 30.52 kB / 0.8111 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.188, allocations: 7.797 kB / 0.8111 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/1.188, allocations: 14.48 kB / 0.8111 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/1.188, allocations: 7.5 kB / 0.8111 GB, free: 9.824 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.0001319/1.188, allocations: 164.1 kB / 0.8113 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/1.188, allocations: 11.69 kB / 0.8113 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/1.188, allocations: 18.58 kB / 0.8113 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/1.188, allocations: 3.938 kB / 0.8113 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.188, allocations: 0 / 0.8113 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.188, allocations: 3.953 kB / 0.8113 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/1.189, allocations: 185.1 kB / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.189, allocations: 0 / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/1.189, allocations: 6.844 kB / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.189, allocations: 0 / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.189, allocations: 3.844 kB / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.189, allocations: 0 / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.189, allocations: 0 / 0.8115 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/1.189, allocations: 226.7 kB / 0.8117 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/1.189, allocations: 84.06 kB / 0.8118 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/1.189, allocations: 10.94 kB / 0.8118 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/1.189, allocations: 3.844 kB / 0.8118 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/1.189, allocations: 6.594 kB / 0.8118 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/1.189, allocations: 6.875 kB / 0.8118 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.433e-05/1.189, allocations: 93.31 kB / 0.8119 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.189, allocations: 3.688 kB / 0.8119 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003694/1.19, allocations: 21.78 kB / 0.812 GB, free: 9.164 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.0009992/1.191, allocations: 0.7608 MB / 0.8127 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003484/1.191, allocations: 164.2 kB / 0.8129 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.191, allocations: 0 / 0.8129 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.192, allocations: 182.1 kB / 0.813 GB, free: 24.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/1.192, allocations: 11.34 kB / 0.813 GB, free: 24.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/1.192, allocations: 152.2 kB / 0.8132 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/1.193, allocations: 0.6936 MB / 0.8139 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.922e-05/1.193, allocations: 15.41 kB / 0.8139 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/1.193, allocations: 21.77 kB / 0.8139 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.193, allocations: 3.938 kB / 0.8139 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/1.216, allocations: 1.796 MB / 0.8157 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.216, allocations: 169.3 kB / 0.8158 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.631, allocations: 5.062 kB / 0.8158 GB, free: 23.07 MB / 0.6511 GB