Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.902/3.902, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.88e-05, allocations: 8 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6165, allocations: 92.7 MB / 0.5897 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/0.8687, allocations: 121.7 MB / 0.7085 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/0.8691, allocations: 87.94 kB / 0.7086 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04206/0.9112, allocations: 8.673 MB / 0.717 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9112, allocations: 0 / 0.717 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.9113, 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.001696/0.913, allocations: 0.6017 MB / 0.7176 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.913, allocations: 11.97 kB / 0.7176 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.753e-05/0.9132, allocations: 58.53 kB / 0.7177 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.9133, allocations: 35.62 kB / 0.7177 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.9135, allocations: 207.5 kB / 0.7179 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.9137, allocations: 263.7 kB / 0.7182 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.9138, allocations: 28 kB / 0.7182 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.9145, allocations: 244.9 kB / 0.7184 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.9146, allocations: 0 / 0.7184 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.9146, allocations: 8 kB / 0.7184 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.9146, allocations: 4 kB / 0.7184 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.9151, allocations: 143.9 kB / 0.7186 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.9171, allocations: 0.805 MB / 0.7194 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.9177, allocations: 188.5 kB / 0.7196 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.9181, allocations: 122.9 kB / 0.7197 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.9181, allocations: 4.188 kB / 0.7197 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007014/0.9188, allocations: 286.6 kB / 0.7199 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.667e-06/0.9189, allocations: 4 kB / 0.7199 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001048/0.9199, allocations: 329.6 kB / 0.7203 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.92, allocations: 118.8 kB / 0.7204 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.9203, allocations: 154.6 kB / 0.7205 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.9203, allocations: 41.7 kB / 0.7206 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.9204, allocations: 117.3 kB / 0.7207 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.9207, allocations: 146 kB / 0.7208 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.9207, allocations: 12 kB / 0.7208 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9209, allocations: 346.8 kB / 0.7212 GB, free: 7.184 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.9213, allocations: 129.6 kB / 0.7213 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.9218, allocations: 220.5 kB / 0.7215 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.9222, allocations: 155.8 kB / 0.7216 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.9223, allocations: 0 / 0.7216 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001164/0.9234, allocations: 445.3 kB / 0.7221 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.9235, allocations: 4 kB / 0.7221 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.9235, allocations: 4 kB / 0.7221 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.9235, allocations: 4 kB / 0.7221 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.9243, allocations: 103.8 kB / 0.7222 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.9244, allocations: 15.89 kB / 0.7222 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.9249, allocations: 67.66 kB / 0.7223 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.925, allocations: 20 kB / 0.7223 GB, free: 5.996 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.0001964/0.9252, allocations: 154.7 kB / 0.7224 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.9253, allocations: 23.72 kB / 0.7224 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.532e-05/0.9254, allocations: 29.66 kB / 0.7225 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.9254, allocations: 4 kB / 0.7225 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.9254, allocations: 8.062 kB / 0.7225 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.9254, allocations: 7.938 kB / 0.7225 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.926, allocations: 357.1 kB / 0.7228 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.926, allocations: 0 / 0.7228 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.9269, allocations: 79.89 kB / 0.7229 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.9269, allocations: 4 kB / 0.7229 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.9269, allocations: 12 kB / 0.7229 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.927, allocations: 0 / 0.7229 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.927, allocations: 0 / 0.7229 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.9284, allocations: 0.5677 MB / 0.7235 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.9285, allocations: 100.8 kB / 0.7236 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.9287, allocations: 15.98 kB / 0.7236 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.9293, allocations: 44.11 kB / 0.7236 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.9295, allocations: 43.94 kB / 0.7237 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.9296, allocations: 19.94 kB / 0.7237 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001895/0.9298, allocations: 125.2 kB / 0.7238 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9298, allocations: 0 / 0.7238 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007998/0.9306, allocations: 87.92 kB / 0.7239 GB, free: 4.227 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.002619/0.9332, allocations: 1.259 MB / 0.7251 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.9346, allocations: 330.9 kB / 0.7254 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9346, allocations: 0 / 0.7254 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.9353, allocations: 163.9 kB / 0.7256 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.9359, allocations: 36.11 kB / 0.7256 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.9384, allocations: 0.5796 MB / 0.7262 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.9389, allocations: 0.7725 MB / 0.727 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004293/0.9394, allocations: 47.12 kB / 0.727 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.9397, allocations: 87.41 kB / 0.7271 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/0.9397, allocations: 0 / 0.7271 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/1.016, allocations: 5.565 MB / 0.7325 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003568/1.016, allocations: 184.4 kB / 0.7327 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.481, allocations: 0 / 0.7327 GB, free: 11.17 MB / 0.6198 GB