Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.053/4.053, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.795e-05/4.805e-05, allocations: 6.219 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 98.72 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.4703, allocations: 125.2 MB / 0.7525 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4706, allocations: 75.94 kB / 0.7525 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04126/0.5119, allocations: 8.663 MB / 0.761 GB, free: 4 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5119, allocations: 0 / 0.761 GB, free: 4 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.512, allocations: 4 kB / 0.761 GB, free: 0 / 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.001786/0.5138, allocations: 0.6092 MB / 0.7616 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5138, allocations: 8.031 kB / 0.7616 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.5139, allocations: 58.55 kB / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.514, allocations: 31.72 kB / 0.7617 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.5143, allocations: 191.6 kB / 0.7619 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.5146, allocations: 263.8 kB / 0.7621 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.5147, allocations: 35.86 kB / 0.7622 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.5154, allocations: 237 kB / 0.7624 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.5154, allocations: 4.156 kB / 0.7624 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.5155, allocations: 15.98 kB / 0.7624 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5155, allocations: 7.938 kB / 0.7624 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.516, allocations: 140 kB / 0.7626 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.518, allocations: 0.7895 MB / 0.7633 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.5188, allocations: 192.1 kB / 0.7635 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.5191, allocations: 115.2 kB / 0.7636 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-05/0.5192, allocations: 16.53 kB / 0.7636 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.52, allocations: 290.6 kB / 0.7639 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.168e-06/0.52, allocations: 0 / 0.7639 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001077/0.5211, allocations: 329.3 kB / 0.7642 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.5212, allocations: 114.8 kB / 0.7643 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.5215, allocations: 154.6 kB / 0.7645 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.5216, allocations: 45.7 kB / 0.7645 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5217, allocations: 125.2 kB / 0.7646 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.5219, allocations: 150 kB / 0.7648 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.522, allocations: 8 kB / 0.7648 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5222, allocations: 338.8 kB / 0.7651 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.5226, allocations: 133.5 kB / 0.7652 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.5231, allocations: 228.5 kB / 0.7655 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.5236, allocations: 143.9 kB / 0.7656 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.5236, allocations: 0 / 0.7656 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001266/0.5249, allocations: 440.9 kB / 0.766 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.525, allocations: 8 kB / 0.766 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.525, allocations: 8 kB / 0.766 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.525, allocations: 4 kB / 0.766 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.5258, allocations: 99.83 kB / 0.7661 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.5259, allocations: 15.92 kB / 0.7662 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.5264, allocations: 71.72 kB / 0.7662 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.5265, allocations: 23.95 kB / 0.7662 GB, free: 10.25 MB / 0.6511 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.0002202/0.5268, allocations: 143 kB / 0.7664 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.5269, allocations: 31.7 kB / 0.7664 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.527, allocations: 29.66 kB / 0.7664 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.527, allocations: 4 kB / 0.7664 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.527, allocations: 4 kB / 0.7664 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.527, allocations: 7.922 kB / 0.7665 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.5277, allocations: 353.3 kB / 0.7668 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.5277, allocations: 0 / 0.7668 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009353/0.5286, allocations: 83.88 kB / 0.7669 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.5287, allocations: 0 / 0.7669 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.5287, allocations: 11.98 kB / 0.7669 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.5288, allocations: 7.938 kB / 0.7669 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5288, allocations: 0.7031 kB / 0.7669 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5303, allocations: 0.5571 MB / 0.7674 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5305, allocations: 104.7 kB / 0.7675 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.5306, allocations: 12 kB / 0.7675 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.5311, allocations: 47.95 kB / 0.7676 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.5312, allocations: 43.84 kB / 0.7676 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.5313, allocations: 20.08 kB / 0.7677 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001559/0.5315, allocations: 129.1 kB / 0.7678 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5315, allocations: 0 / 0.7678 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005719/0.5321, allocations: 84 kB / 0.7679 GB, free: 8.488 MB / 0.6511 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.002022/0.5341, allocations: 1.256 MB / 0.7691 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.5352, allocations: 348.1 kB / 0.7694 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5353, allocations: 0 / 0.7694 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.5358, allocations: 163.8 kB / 0.7696 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.5363, allocations: 34.89 kB / 0.7696 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.5382, allocations: 0.5874 MB / 0.7702 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.5387, allocations: 0.7725 MB / 0.7709 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.539, allocations: 34.97 kB / 0.771 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5393, allocations: 91.39 kB / 0.7711 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.5393, allocations: 4 kB / 0.7711 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5656/1.105, allocations: 5.535 MB / 0.7765 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.105, allocations: 176.2 kB / 0.7766 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.633, allocations: 2.625 kB / 0.7766 GB, free: 141.8 MB / 0.6511 GB