Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.607/4.607, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.773e-05, allocations: 8 kB / 0.4946 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.6831, allocations: 92.68 MB / 0.5851 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.9309, allocations: 121 MB / 0.7032 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.9314, allocations: 83.94 kB / 0.7033 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04767/0.9791, allocations: 8.63 MB / 0.7117 GB, free: 444 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9791, allocations: 0 / 0.7117 GB, free: 444 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.9791, allocations: 4 kB / 0.7117 GB, free: 440 kB / 0.5886 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.00191/0.9811, allocations: 0.5984 MB / 0.7123 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.9811, allocations: 12.03 kB / 0.7123 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.9813, allocations: 31.62 kB / 0.7124 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.9815, allocations: 199.5 kB / 0.7126 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.9818, allocations: 259.7 kB / 0.7128 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.532e-05/0.9819, allocations: 20 kB / 0.7128 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005418/0.9824, allocations: 132.8 kB / 0.7129 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.9831, allocations: 217.5 kB / 0.7132 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.9831, allocations: 0 / 0.7132 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.9832, allocations: 0 / 0.7132 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.9832, allocations: 8 kB / 0.7132 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.9853, allocations: 0.7589 MB / 0.7139 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.9859, allocations: 168.2 kB / 0.7141 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.9863, allocations: 110.9 kB / 0.7142 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/0.9864, allocations: 12.56 kB / 0.7142 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007196/0.9871, allocations: 278.6 kB / 0.7144 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.707e-06/0.9871, allocations: 0 / 0.7144 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001061/0.9882, allocations: 301.6 kB / 0.7147 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.9883, allocations: 118.8 kB / 0.7149 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.9885, allocations: 150.5 kB / 0.715 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.9886, allocations: 29.7 kB / 0.715 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.9887, allocations: 117.3 kB / 0.7151 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.9889, allocations: 149.9 kB / 0.7153 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.989, allocations: 0 / 0.7153 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.9892, allocations: 342.8 kB / 0.7156 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.9896, allocations: 113.6 kB / 0.7157 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.9901, allocations: 228.4 kB / 0.7159 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.9906, allocations: 135.9 kB / 0.7161 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.9906, allocations: 4 kB / 0.7161 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001219/0.9918, allocations: 400.9 kB / 0.7164 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.9919, allocations: 8 kB / 0.7165 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.9919, allocations: 4 kB / 0.7165 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.9919, allocations: 4 kB / 0.7165 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.9928, allocations: 99.83 kB / 0.7166 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.9929, allocations: 8 kB / 0.7166 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.9934, allocations: 55.66 kB / 0.7166 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.9935, allocations: 23.98 kB / 0.7166 GB, free: 11.04 MB / 0.6042 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.0002003/0.9937, allocations: 127.1 kB / 0.7168 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009443/0.9947, allocations: 304 kB / 0.7171 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.9948, allocations: 27.62 kB / 0.7171 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.9949, allocations: 33.95 kB / 0.7171 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.995, allocations: 4 kB / 0.7171 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.995, allocations: 0 / 0.7171 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.995, allocations: 7.953 kB / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.9956, allocations: 305.8 kB / 0.7174 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9956, allocations: 0 / 0.7174 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.9966, allocations: 79.89 kB / 0.7175 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.9966, allocations: 0 / 0.7175 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.9967, allocations: 4 kB / 0.7175 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.9967, allocations: 11.94 kB / 0.7175 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.9967, allocations: 3.938 kB / 0.7175 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.9982, allocations: 0.5193 MB / 0.718 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.9983, allocations: 100.8 kB / 0.7181 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.9984, allocations: 8 kB / 0.7181 GB, free: 9.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.999, allocations: 39.95 kB / 0.7182 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.9992, allocations: 39.91 kB / 0.7182 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.9992, allocations: 19.98 kB / 0.7182 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001341/0.9994, allocations: 116.2 kB / 0.7183 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9994, allocations: 3.938 kB / 0.7183 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006414/1, allocations: 63.94 kB / 0.7184 GB, free: 9.145 MB / 0.6042 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.001923/1.002, allocations: 1.231 MB / 0.7196 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.003, allocations: 312.2 kB / 0.7199 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.003, allocations: 0 / 0.7199 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000496/1.004, allocations: 160 kB / 0.72 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/1.004, allocations: 32.56 kB / 0.7201 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/1.006, allocations: 0.5336 MB / 0.7206 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/1.007, allocations: 0.7764 MB / 0.7214 GB, free: 6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003491/1.007, allocations: 39.27 kB / 0.7214 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/1.007, allocations: 83.41 kB / 0.7215 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/1.007, allocations: 4 kB / 0.7215 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/1.059, allocations: 5.067 MB / 0.7264 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000369/1.059, allocations: 158.5 kB / 0.7266 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.892/3.951, allocations: 4 kB / 0.7266 GB, free: 0.6602 MB / 0.6042 GB