Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.649/4.649, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.695e-05, allocations: 11.98 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 107.2 MB / 0.6779 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8957/1.151, allocations: 132.6 MB / 0.8073 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.151, allocations: 70.05 kB / 0.8074 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03904/1.19, allocations: 8.752 MB / 0.8159 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/1.19, allocations: 2.297 kB / 0.8159 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.191e-05/1.19, allocations: 3.875 kB / 0.8159 GB, free: 11.61 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.001629/1.192, allocations: 0.5942 MB / 0.8165 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.192, allocations: 14.72 kB / 0.8165 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/1.192, allocations: 60.11 kB / 0.8166 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/1.192, allocations: 31.09 kB / 0.8166 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.192, allocations: 194.2 kB / 0.8168 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/1.193, allocations: 265.4 kB / 0.8171 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/1.193, allocations: 30.22 kB / 0.8171 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/1.193, allocations: 243.7 kB / 0.8173 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/1.193, allocations: 3.875 kB / 0.8173 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/1.193, allocations: 10.8 kB / 0.8173 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/1.193, allocations: 7.906 kB / 0.8173 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/1.194, allocations: 142.5 kB / 0.8175 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/1.196, allocations: 0.8012 MB / 0.8183 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/1.196, allocations: 186.1 kB / 0.8184 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/1.197, allocations: 120 kB / 0.8186 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/1.197, allocations: 10.94 kB / 0.8186 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/1.197, allocations: 283.8 kB / 0.8188 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.637e-06/1.197, allocations: 0 / 0.8188 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0009397/1.198, allocations: 328.8 kB / 0.8191 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/1.198, allocations: 117.2 kB / 0.8193 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/1.199, allocations: 160.8 kB / 0.8194 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/1.199, allocations: 36.23 kB / 0.8194 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/1.199, allocations: 123.4 kB / 0.8196 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.199, allocations: 151.3 kB / 0.8197 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/1.199, allocations: 14.81 kB / 0.8197 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/1.199, allocations: 347.1 kB / 0.8201 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/1.199, allocations: 127.2 kB / 0.8202 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/1.2, allocations: 222.8 kB / 0.8204 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/1.2, allocations: 150.2 kB / 0.8205 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.2, allocations: 0 / 0.8205 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001041/1.201, allocations: 446.1 kB / 0.821 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.201, allocations: 3.875 kB / 0.821 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.201, allocations: 6.578 kB / 0.821 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.201, allocations: 7.656 kB / 0.821 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/1.202, allocations: 102.8 kB / 0.8211 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.202, allocations: 10.69 kB / 0.8211 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/1.203, allocations: 66.59 kB / 0.8211 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/1.203, allocations: 19.25 kB / 0.8212 GB, free: 8.871 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.0001753/1.203, allocations: 147.1 kB / 0.8213 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/1.203, allocations: 33.78 kB / 0.8213 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.543e-05/1.203, allocations: 28.22 kB / 0.8214 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.203, allocations: 3.75 kB / 0.8214 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.203, allocations: 3.875 kB / 0.8214 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.203, allocations: 2.484 kB / 0.8214 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/1.204, allocations: 360.1 kB / 0.8217 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.204, allocations: 7.781 kB / 0.8217 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/1.205, allocations: 77.39 kB / 0.8218 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.205, allocations: 7.844 kB / 0.8218 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/1.205, allocations: 11.72 kB / 0.8218 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.205, allocations: 3.047 kB / 0.8218 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.205, allocations: 3.969 kB / 0.8218 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.206, allocations: 0.5526 MB / 0.8224 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/1.206, allocations: 107.4 kB / 0.8225 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/1.206, allocations: 11.44 kB / 0.8225 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/1.207, allocations: 43.61 kB / 0.8225 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.207, allocations: 37.12 kB / 0.8226 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/1.207, allocations: 18.44 kB / 0.8226 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001116/1.207, allocations: 125.4 kB / 0.8227 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.207, allocations: 0 / 0.8227 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000536/1.207, allocations: 89.11 kB / 0.8228 GB, free: 8.156 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.002186/1.21, allocations: 1.253 MB / 0.824 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009708/1.211, allocations: 340.2 kB / 0.8243 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.211, allocations: 0 / 0.8243 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/1.211, allocations: 170 kB / 0.8245 GB, free: 23.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/1.212, allocations: 37.38 kB / 0.8245 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/1.214, allocations: 0.5872 MB / 0.8251 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/1.214, allocations: 0.7733 MB / 0.8258 GB, free: 22.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003148/1.215, allocations: 36.62 kB / 0.8259 GB, free: 22.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.215, allocations: 88.05 kB / 0.826 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/1.215, allocations: 0 / 0.826 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/1.25, allocations: 5.562 MB / 0.8314 GB, free: 20.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.25, allocations: 164.9 kB / 0.8316 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.973, allocations: 0 / 0.8316 GB, free: 20.16 MB / 0.6511 GB