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 3.92/3.92, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-05/5.039e-05, allocations: 11.92 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6089, allocations: 92.68 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/0.8714, allocations: 121.7 MB / 0.7085 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.8718, allocations: 91.92 kB / 0.7086 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0431/0.9149, allocations: 8.681 MB / 0.717 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.915, allocations: 0 / 0.717 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.915, allocations: 4.219 kB / 0.717 GB, free: 11.75 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.001712/0.9168, allocations: 0.5978 MB / 0.7176 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.9168, allocations: 11.97 kB / 0.7176 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.9169, allocations: 54.55 kB / 0.7177 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.917, allocations: 31.62 kB / 0.7177 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.9173, allocations: 199.5 kB / 0.7179 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.9176, allocations: 275.7 kB / 0.7182 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.9177, allocations: 27.98 kB / 0.7182 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.9183, allocations: 240.9 kB / 0.7184 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.9184, allocations: 0 / 0.7184 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.9184, allocations: 8 kB / 0.7184 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.9184, allocations: 4 kB / 0.7184 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.9189, allocations: 140 kB / 0.7186 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.9208, allocations: 0.805 MB / 0.7194 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.9215, allocations: 188.1 kB / 0.7195 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.9218, allocations: 119.3 kB / 0.7197 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.9219, allocations: 16.17 kB / 0.7197 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006833/0.9226, allocations: 278.7 kB / 0.7199 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 5.089e-06/0.9226, allocations: 0 / 0.7199 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001002/0.9236, allocations: 333.5 kB / 0.7203 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9238, allocations: 118.7 kB / 0.7204 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.924, allocations: 162.5 kB / 0.7205 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.9241, allocations: 37.7 kB / 0.7206 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.9242, allocations: 113.3 kB / 0.7207 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.9244, allocations: 153.9 kB / 0.7208 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.9244, allocations: 16 kB / 0.7208 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9246, allocations: 338.8 kB / 0.7212 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.925, allocations: 129.6 kB / 0.7213 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.9256, allocations: 224.5 kB / 0.7215 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.926, allocations: 151.8 kB / 0.7216 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.9261, allocations: 0 / 0.7216 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001149/0.9272, allocations: 444.9 kB / 0.7221 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9273, allocations: 8 kB / 0.7221 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9273, allocations: 0 / 0.7221 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.9273, allocations: 8 kB / 0.7221 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.9281, allocations: 95.83 kB / 0.7222 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.9281, allocations: 11.95 kB / 0.7222 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.9286, allocations: 79.7 kB / 0.7223 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.9287, allocations: 20 kB / 0.7223 GB, free: 6.008 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.0001849/0.9289, allocations: 139.7 kB / 0.7224 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.929, allocations: 31.72 kB / 0.7224 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.9291, allocations: 33.64 kB / 0.7225 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.9291, allocations: 8.078 kB / 0.7225 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.9291, allocations: 0 / 0.7225 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.9292, allocations: 7.953 kB / 0.7225 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.9297, allocations: 353.1 kB / 0.7228 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9297, allocations: 4 kB / 0.7228 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.9306, allocations: 75.89 kB / 0.7229 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.9306, allocations: 4 kB / 0.7229 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.9307, allocations: 15.98 kB / 0.7229 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.9307, allocations: 4 kB / 0.7229 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9307, allocations: 0 / 0.7229 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.9322, allocations: 0.5679 MB / 0.7235 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.9323, allocations: 100.8 kB / 0.7236 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.9324, allocations: 12 kB / 0.7236 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.9328, allocations: 51.91 kB / 0.7236 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.933, allocations: 35.95 kB / 0.7237 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.933, allocations: 15.98 kB / 0.7237 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000167/0.9332, allocations: 129.2 kB / 0.7238 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9332, allocations: 0 / 0.7238 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005103/0.9338, allocations: 79.94 kB / 0.7239 GB, free: 4.25 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.001941/0.9357, allocations: 1.267 MB / 0.7251 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009997/0.9367, allocations: 336.1 kB / 0.7254 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9368, allocations: 0 / 0.7254 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.9373, allocations: 155.9 kB / 0.7256 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.9377, allocations: 40.16 kB / 0.7256 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.9396, allocations: 0.5835 MB / 0.7262 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.9401, allocations: 0.7686 MB / 0.7269 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.9404, allocations: 38.97 kB / 0.727 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.9407, allocations: 83.41 kB / 0.7271 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.9407, allocations: 0 / 0.7271 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.9695, allocations: 5.562 MB / 0.7325 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.9698, allocations: 166.7 kB / 0.7327 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.587, allocations: 0 / 0.7327 GB, free: 11.2 MB / 0.6198 GB