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={"static"}) Notification: Performance of loadModel(Buildings): time 4.018/4.018, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.481e-05/4.503e-05, allocations: 8 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6858, allocations: 92.69 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.9224, allocations: 121.6 MB / 0.7084 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.9228, allocations: 83.94 kB / 0.7085 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0417/0.9645, allocations: 8.673 MB / 0.717 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9646, allocations: 4 kB / 0.717 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.9646, allocations: 4 kB / 0.717 GB, free: 11.77 MB / 0.6042 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.001757/0.9664, allocations: 0.6058 MB / 0.7176 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.9664, allocations: 8.031 kB / 0.7176 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.9666, allocations: 62.48 kB / 0.7177 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.9667, allocations: 35.62 kB / 0.7177 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.9669, allocations: 191.5 kB / 0.7179 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.9672, allocations: 275.7 kB / 0.7181 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-05/0.9673, allocations: 28 kB / 0.7182 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.968, allocations: 237.8 kB / 0.7184 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.9681, allocations: 8 kB / 0.7184 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.9681, allocations: 4 kB / 0.7184 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.9681, allocations: 8 kB / 0.7184 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.9687, allocations: 144 kB / 0.7186 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.9706, allocations: 0.805 MB / 0.7193 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.9713, allocations: 192.6 kB / 0.7195 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.9717, allocations: 115 kB / 0.7196 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.9718, allocations: 12.19 kB / 0.7196 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007004/0.9725, allocations: 287.5 kB / 0.7199 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.557e-06/0.9725, allocations: 0 / 0.7199 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.00102/0.9735, allocations: 339.2 kB / 0.7202 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.9737, allocations: 122.8 kB / 0.7204 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.9739, allocations: 154.6 kB / 0.7205 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.9739, allocations: 41.7 kB / 0.7205 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.9741, allocations: 117.3 kB / 0.7207 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.9743, allocations: 141.9 kB / 0.7208 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.9743, allocations: 19.94 kB / 0.7208 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.9745, allocations: 338.8 kB / 0.7211 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.9749, allocations: 129.6 kB / 0.7213 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.9755, allocations: 238 kB / 0.7215 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.9759, allocations: 143.9 kB / 0.7216 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9759, allocations: 11.94 kB / 0.7216 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001223/0.9772, allocations: 449.4 kB / 0.7221 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.9772, allocations: 8 kB / 0.7221 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.9772, allocations: 4 kB / 0.7221 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.9773, allocations: 4 kB / 0.7221 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.9781, allocations: 95.83 kB / 0.7222 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.9781, allocations: 15.89 kB / 0.7222 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.9786, allocations: 71.64 kB / 0.7223 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.9787, allocations: 20 kB / 0.7223 GB, free: 5.992 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.0002048/0.9789, allocations: 147.2 kB / 0.7224 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.979, allocations: 23.72 kB / 0.7224 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.9791, allocations: 33.64 kB / 0.7225 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.9791, allocations: 8 kB / 0.7225 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.9792, allocations: 4 kB / 0.7225 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.9792, allocations: 7.938 kB / 0.7225 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.9798, allocations: 353.2 kB / 0.7228 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9798, allocations: 0 / 0.7228 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.9806, allocations: 75.89 kB / 0.7229 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.9807, allocations: 0 / 0.7229 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.9807, allocations: 15.98 kB / 0.7229 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.9808, allocations: 4 kB / 0.7229 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9808, allocations: 4 kB / 0.7229 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.9823, allocations: 0.5621 MB / 0.7235 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.9824, allocations: 100.8 kB / 0.7236 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.9824, allocations: 8 kB / 0.7236 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.9829, allocations: 59.97 kB / 0.7236 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.9831, allocations: 35.95 kB / 0.7237 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.9831, allocations: 15.98 kB / 0.7237 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001665/0.9833, allocations: 129.2 kB / 0.7238 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9833, allocations: 0 / 0.7238 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004982/0.9838, allocations: 83.94 kB / 0.7239 GB, free: 4.23 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.001881/0.9857, allocations: 1.256 MB / 0.7251 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.9868, allocations: 342.9 kB / 0.7254 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9868, allocations: 384 / 0.7254 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.9873, allocations: 166.9 kB / 0.7256 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.9877, allocations: 42.34 kB / 0.7256 GB, free: 2.398 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.9896, allocations: 0.5835 MB / 0.7262 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.99, allocations: 0.7725 MB / 0.727 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.9903, allocations: 39.14 kB / 0.727 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.9905, allocations: 87.41 kB / 0.7271 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.9906, allocations: 0 / 0.7271 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/1.029, allocations: 5.565 MB / 0.7325 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/1.029, allocations: 168 kB / 0.7327 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.641, allocations: 0 / 0.7327 GB, free: 11.15 MB / 0.6198 GB