Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.438/4.438, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/4.946e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2443, allocations: 107.2 MB / 0.6779 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9022/1.146, allocations: 132.6 MB / 0.8073 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.147, allocations: 71.7 kB / 0.8074 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03809/1.185, allocations: 8.742 MB / 0.8159 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/1.185, allocations: 10.16 kB / 0.8159 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.185, allocations: 3.875 kB / 0.8159 GB, free: 11.65 MB / 0.6355 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.001555/1.187, allocations: 0.5942 MB / 0.8165 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.187, allocations: 7.875 kB / 0.8165 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.812e-05/1.187, allocations: 64.98 kB / 0.8166 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/1.187, allocations: 30.94 kB / 0.8166 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/1.187, allocations: 193.6 kB / 0.8168 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/1.187, allocations: 264.3 kB / 0.8171 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/1.187, allocations: 33.02 kB / 0.8171 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/1.188, allocations: 244.6 kB / 0.8173 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/1.188, allocations: 0 / 0.8173 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/1.188, allocations: 14.45 kB / 0.8173 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.188, allocations: 7.969 kB / 0.8173 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/1.188, allocations: 138.5 kB / 0.8175 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/1.19, allocations: 0.8016 MB / 0.8183 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/1.191, allocations: 186.9 kB / 0.8184 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/1.191, allocations: 120.6 kB / 0.8185 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/1.191, allocations: 7.594 kB / 0.8186 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005851/1.192, allocations: 289.4 kB / 0.8188 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.637e-06/1.192, allocations: 0 / 0.8188 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0008862/1.193, allocations: 329.5 kB / 0.8191 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.193, allocations: 113.5 kB / 0.8193 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.193, allocations: 158.1 kB / 0.8194 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.193, allocations: 39.23 kB / 0.8194 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/1.193, allocations: 127.2 kB / 0.8196 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/1.193, allocations: 152.6 kB / 0.8197 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/1.193, allocations: 10.5 kB / 0.8197 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/1.193, allocations: 348.5 kB / 0.82 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/1.194, allocations: 129.4 kB / 0.8202 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/1.194, allocations: 226.9 kB / 0.8204 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/1.194, allocations: 152.9 kB / 0.8205 GB, free: 9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.194, allocations: 3.875 kB / 0.8205 GB, free: 9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009951/1.195, allocations: 440 kB / 0.821 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.196, allocations: 7.844 kB / 0.821 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.196, allocations: 0 / 0.821 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.196, allocations: 7.906 kB / 0.821 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/1.196, allocations: 108.1 kB / 0.8211 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.196, allocations: 3.75 kB / 0.8211 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/1.197, allocations: 67.14 kB / 0.8211 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/1.197, allocations: 22.94 kB / 0.8212 GB, free: 8.906 MB / 0.6355 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.0001787/1.197, allocations: 153 kB / 0.8213 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/1.197, allocations: 23.41 kB / 0.8213 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/1.197, allocations: 35.36 kB / 0.8214 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.197, allocations: 3.844 kB / 0.8214 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.197, allocations: 7.812 kB / 0.8214 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.197, allocations: 2.859 kB / 0.8214 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/1.198, allocations: 357 kB / 0.8217 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.198, allocations: 3.938 kB / 0.8217 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/1.199, allocations: 77.16 kB / 0.8218 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/1.199, allocations: 3.844 kB / 0.8218 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/1.199, allocations: 14.12 kB / 0.8218 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.199, allocations: 3.875 kB / 0.8218 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.199, allocations: 0 / 0.8218 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/1.2, allocations: 0.5491 MB / 0.8224 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/1.2, allocations: 111.1 kB / 0.8225 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/1.2, allocations: 6.688 kB / 0.8225 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/1.201, allocations: 46.25 kB / 0.8225 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.201, allocations: 44.27 kB / 0.8226 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/1.201, allocations: 16.58 kB / 0.8226 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000115/1.201, allocations: 125.8 kB / 0.8227 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.201, allocations: 3.844 kB / 0.8227 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005229/1.202, allocations: 84.89 kB / 0.8228 GB, free: 8.191 MB / 0.6355 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.001895/1.204, allocations: 1.256 MB / 0.824 GB, free: 23.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008988/1.204, allocations: 329.8 kB / 0.8243 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.204, allocations: 3.875 kB / 0.8243 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/1.205, allocations: 166.8 kB / 0.8245 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/1.205, allocations: 38.47 kB / 0.8245 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/1.207, allocations: 0.5914 MB / 0.8251 GB, free: 23.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/1.207, allocations: 0.7677 MB / 0.8258 GB, free: 22.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002957/1.208, allocations: 43.62 kB / 0.8259 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/1.208, allocations: 84.84 kB / 0.826 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/1.208, allocations: 0 / 0.826 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/1.236, allocations: 5.578 MB / 0.8314 GB, free: 20.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/1.236, allocations: 181.5 kB / 0.8316 GB, free: 20.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/3.986, allocations: 0 / 0.8316 GB, free: 20.2 MB / 0.6511 GB