Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadModel(Buildings): time 4.106/4.106, allocations: 464.6 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.338e-05, allocations: 4 kB / 0.5731 GB, free: 5.688 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 107.2 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6995/0.8943, allocations: 132.2 MB / 0.8069 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.8946, allocations: 73.72 kB / 0.8069 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005704/0.9003, allocations: 1.646 MB / 0.8085 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.806e-06/0.9003, allocations: 3.938 kB / 0.8085 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.755e-06/0.9004, allocations: 0 / 0.8085 GB, free: 12.08 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.0003341/0.9007, allocations: 390.8 kB / 0.8089 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.9008, allocations: 7.656 kB / 0.8089 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.9008, allocations: 9.328 kB / 0.8089 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.901, allocations: 178.4 kB / 0.8091 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.901, allocations: 3.812 kB / 0.8091 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.901, allocations: 4 kB / 0.8091 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.9012, allocations: 71.62 kB / 0.8092 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9012, allocations: 3.984 kB / 0.8092 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.9012, allocations: 3.938 kB / 0.8092 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-06/0.9013, allocations: 0 / 0.8092 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.9014, allocations: 31.58 kB / 0.8092 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.9018, allocations: 297.9 kB / 0.8095 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.9019, allocations: 64.45 kB / 0.8096 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.902, allocations: 54.92 kB / 0.8096 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.902, allocations: 3.844 kB / 0.8096 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.9022, allocations: 112.5 kB / 0.8097 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.554e-06/0.9022, allocations: 0 / 0.8097 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003071/0.9025, allocations: 146.8 kB / 0.8099 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.9026, allocations: 125.3 kB / 0.81 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.9027, allocations: 103.1 kB / 0.8101 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.9027, allocations: 29.52 kB / 0.8101 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.9027, allocations: 83.39 kB / 0.8102 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.9028, allocations: 33.47 kB / 0.8102 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.9028, allocations: 3.312 kB / 0.8102 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.9029, allocations: 325 kB / 0.8105 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.9029, allocations: 32.27 kB / 0.8106 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.9031, allocations: 103 kB / 0.8107 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.9032, allocations: 72.12 kB / 0.8107 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-06/0.9032, allocations: 0 / 0.8107 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000313/0.9035, allocations: 187 kB / 0.8109 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.9036, allocations: 37.52 kB / 0.811 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.076e-06/0.9036, allocations: 0 / 0.811 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9036, allocations: 3.875 kB / 0.811 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.9038, allocations: 28.92 kB / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.204e-06/0.9038, allocations: 3.969 kB / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.9039, allocations: 15.17 kB / 0.811 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.9039, allocations: 7.688 kB / 0.811 GB, free: 10.07 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.0001121/0.9041, allocations: 168.3 kB / 0.8112 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.9041, allocations: 11.62 kB / 0.8112 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9041, allocations: 7.625 kB / 0.8112 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-06/0.9041, allocations: 3.938 kB / 0.8112 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.766e-06/0.9042, allocations: 0.875 kB / 0.8112 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-06/0.9042, allocations: 3.938 kB / 0.8112 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9043, allocations: 192 kB / 0.8114 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-06/0.9043, allocations: 0 / 0.8114 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.9044, allocations: 3.844 kB / 0.8114 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.9044, allocations: 6.672 kB / 0.8114 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.9044, allocations: 7.969 kB / 0.8114 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.203e-06/0.9044, allocations: 0 / 0.8114 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-06/0.9044, allocations: 0 / 0.8114 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.9048, allocations: 217.8 kB / 0.8116 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.9048, allocations: 80.98 kB / 0.8117 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.9049, allocations: 9.844 kB / 0.8117 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.905, allocations: 7.625 kB / 0.8117 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.905, allocations: 10.83 kB / 0.8117 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.905, allocations: 7.188 kB / 0.8117 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.9051, allocations: 93 kB / 0.8118 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.636e-06/0.9051, allocations: 0 / 0.8118 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003046/0.9054, allocations: 27.22 kB / 0.8118 GB, free: 9.406 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.0001156/0.9055, allocations: 116.3 kB / 0.8119 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.9058, allocations: 158.1 kB / 0.8121 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.583e-06/0.9058, allocations: 0 / 0.8121 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.906, allocations: 182.2 kB / 0.8123 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.9062, allocations: 13.09 kB / 0.8123 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.9065, allocations: 113.8 kB / 0.8124 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.9071, allocations: 0.697 MB / 0.8131 GB, free: 24.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.015e-05/0.9071, allocations: 12.38 kB / 0.8131 GB, free: 24.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.9072, allocations: 11.34 kB / 0.8131 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.362e-06/0.9072, allocations: 0 / 0.8131 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.003432/0.9106, allocations: 0.8738 MB / 0.8139 GB, free: 24.29 MB / 0.6511 GB