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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.644/4.644, allocations: 404.1 MB / 411.3 MB, free: 372 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.589e-05, allocations: 8 kB / 0.4946 GB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6589, allocations: 92.7 MB / 0.5851 GB, free: 2.266 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/0.9081, allocations: 121 MB / 0.7032 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.9085, allocations: 87.94 kB / 0.7033 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04842/0.957, allocations: 8.63 MB / 0.7117 GB, free: 404 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.974e-06/0.957, allocations: 0 / 0.7117 GB, free: 404 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.9571, allocations: 4 kB / 0.7117 GB, free: 400 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.002013/0.9591, allocations: 0.5946 MB / 0.7123 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.9592, allocations: 16.02 kB / 0.7123 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.9593, allocations: 31.62 kB / 0.7124 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.9595, allocations: 203.5 kB / 0.7126 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.9598, allocations: 255.7 kB / 0.7128 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.96, allocations: 20 kB / 0.7128 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005567/0.9605, allocations: 128.9 kB / 0.713 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.9612, allocations: 217.5 kB / 0.7132 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.9613, allocations: 0 / 0.7132 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.9613, allocations: 7.984 kB / 0.7132 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.9614, allocations: 8 kB / 0.7132 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.9635, allocations: 0.755 MB / 0.7139 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.9642, allocations: 172.3 kB / 0.7141 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.9645, allocations: 117.6 kB / 0.7142 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/0.9646, allocations: 8.188 kB / 0.7142 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007383/0.9653, allocations: 278.8 kB / 0.7145 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.456e-06/0.9654, allocations: 0 / 0.7145 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001044/0.9664, allocations: 309.6 kB / 0.7148 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.9665, allocations: 110.8 kB / 0.7149 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.9667, allocations: 154.5 kB / 0.715 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.9668, allocations: 29.7 kB / 0.715 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.9669, allocations: 113.3 kB / 0.7151 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.9672, allocations: 145.9 kB / 0.7153 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.9672, allocations: 0 / 0.7153 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9674, allocations: 350.7 kB / 0.7156 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.9678, allocations: 121.5 kB / 0.7157 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.9684, allocations: 216.5 kB / 0.7159 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.9688, allocations: 127.9 kB / 0.7161 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9688, allocations: 7.922 kB / 0.7161 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001205/0.9701, allocations: 397.2 kB / 0.7165 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9701, allocations: 8 kB / 0.7165 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.9701, allocations: 4 kB / 0.7165 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.9702, allocations: 7.938 kB / 0.7165 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/0.9711, allocations: 95.83 kB / 0.7166 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.9711, allocations: 8 kB / 0.7166 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.9717, allocations: 55.66 kB / 0.7166 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.9718, allocations: 23.98 kB / 0.7166 GB, free: 11.01 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.0001985/0.972, allocations: 127.6 kB / 0.7168 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009401/0.9729, allocations: 308 kB / 0.7171 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.973, allocations: 27.62 kB / 0.7171 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.9731, allocations: 33.95 kB / 0.7171 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.9732, allocations: 4 kB / 0.7171 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9732, allocations: 0 / 0.7171 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.9732, allocations: 3.953 kB / 0.7171 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.9738, allocations: 309.8 kB / 0.7174 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9738, allocations: 0 / 0.7174 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/0.9748, allocations: 75.83 kB / 0.7175 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.9748, allocations: 8 kB / 0.7175 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.9749, allocations: 8 kB / 0.7175 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.9749, allocations: 4 kB / 0.7175 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.9749, allocations: 3.938 kB / 0.7175 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.9765, allocations: 0.5233 MB / 0.718 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.9766, allocations: 100.9 kB / 0.7181 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.9767, allocations: 7.984 kB / 0.7181 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.9772, allocations: 43.95 kB / 0.7182 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.9774, allocations: 39.91 kB / 0.7182 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.9775, allocations: 19.98 kB / 0.7182 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001273/0.9776, allocations: 112.1 kB / 0.7183 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9776, allocations: 0 / 0.7183 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005816/0.9782, allocations: 63.94 kB / 0.7184 GB, free: 9.105 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.001979/0.9802, allocations: 1.23 MB / 0.7196 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.9813, allocations: 314.9 kB / 0.7199 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9813, allocations: 0 / 0.7199 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.9819, allocations: 159.7 kB / 0.7201 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.9824, allocations: 40.47 kB / 0.7201 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.9845, allocations: 0.5258 MB / 0.7206 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.985, allocations: 0.7725 MB / 0.7214 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.9853, allocations: 39.27 kB / 0.7214 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.9857, allocations: 91.41 kB / 0.7215 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.9857, allocations: 3.938 kB / 0.7215 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/1.039, allocations: 5.073 MB / 0.7264 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003612/1.04, allocations: 168.2 kB / 0.7266 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.876/3.915, allocations: 0 / 0.7266 GB, free: 0.6172 MB / 0.6042 GB