Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.908/3.909, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.814e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.692, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.747/7.439, allocations: 2.175 GB / 2.765 GB, free: 86.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/7.439, allocations: 101.3 kB / 2.765 GB, free: 86.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.46/11.9, allocations: 0.7208 GB / 3.486 GB, free: 132.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.305e-06/11.9, allocations: 0 / 3.486 GB, free: 132.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001903/11.9, allocations: 37.52 kB / 3.486 GB, free: 132.5 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.006977/11.91, allocations: 1.653 MB / 3.487 GB, free: 132 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/11.91, allocations: 9.531 kB / 3.487 GB, free: 132 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006721/11.91, allocations: 126.3 kB / 3.487 GB, free: 132 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008335/11.92, allocations: 314.3 kB / 3.488 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/11.92, allocations: 1.165 MB / 3.489 GB, free: 131.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/11.92, allocations: 70.16 kB / 3.489 GB, free: 131.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/11.92, allocations: 95.78 kB / 3.489 GB, free: 131.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/11.92, allocations: 1.264 MB / 3.49 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/11.92, allocations: 7.188 kB / 3.49 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/11.93, allocations: 36.25 kB / 3.49 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/11.93, allocations: 19 kB / 3.49 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/11.93, allocations: 1.094 MB / 3.491 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/11.94, allocations: 4.225 MB / 3.496 GB, free: 129.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/11.94, allocations: 0.9109 MB / 3.496 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/11.94, allocations: 468.3 kB / 3.497 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.069e-05/11.94, allocations: 23 kB / 3.497 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/11.94, allocations: 44.59 kB / 3.497 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003015/11.95, allocations: 437.4 kB / 3.497 GB, free: 129.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 5.28e-06/11.95, allocations: 0 / 3.497 GB, free: 129.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=62): time 0.006223/11.95, allocations: 1.244 MB / 3.499 GB, free: 129.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/11.95, allocations: 293.9 kB / 3.499 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/11.96, allocations: 1.256 MB / 3.5 GB, free: 129.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002967/11.96, allocations: 48.45 kB / 3.5 GB, free: 129.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/11.96, allocations: 0.5932 MB / 3.501 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/11.96, allocations: 216 kB / 3.501 GB, free: 128.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/11.96, allocations: 17.97 kB / 3.501 GB, free: 128.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/11.96, allocations: 334.9 kB / 3.501 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/11.96, allocations: 425.7 kB / 3.502 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/11.96, allocations: 0.7045 MB / 3.502 GB, free: 128.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/11.96, allocations: 0.4907 MB / 3.503 GB, free: 128.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/11.96, allocations: 4.781 kB / 3.503 GB, free: 128.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003281/11.96, allocations: 1.216 MB / 3.504 GB, free: 128.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/11.96, allocations: 0.815 MB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/11.96, allocations: 10.45 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/11.96, allocations: 3.812 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/11.97, allocations: 251.7 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/11.97, allocations: 3.469 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/11.97, allocations: 142.3 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/11.97, allocations: 59.88 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/11.97, allocations: 3.719 kB / 3.505 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002522/11.97, allocations: 0.992 MB / 3.506 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/11.97, allocations: 7.062 kB / 3.506 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/11.97, allocations: 6.625 kB / 3.506 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/11.98, allocations: 212.9 kB / 3.506 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/11.98, allocations: 6.781 kB / 3.506 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/11.98, allocations: 113.4 kB / 3.507 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/11.98, allocations: 50.88 kB / 3.507 GB, free: 127.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004419/11.98, allocations: 157 kB / 3.507 GB, free: 127.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/11.98, allocations: 143.5 kB / 3.507 GB, free: 127.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/11.98, allocations: 1.074 MB / 3.508 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/11.98, allocations: 7.594 kB / 3.508 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/11.98, allocations: 6.734 kB / 3.508 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/11.98, allocations: 3.891 kB / 3.508 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007144/11.99, allocations: 2.885 MB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/11.99, allocations: 8.812 kB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/11.99, allocations: 190.8 kB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/11.99, allocations: 7.219 kB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/11.99, allocations: 27.53 kB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/11.99, allocations: 7.844 kB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/11.99, allocations: 10 kB / 3.511 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/12, allocations: 1.887 MB / 3.513 GB, free: 125.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/12, allocations: 369.9 kB / 3.513 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/12, allocations: 21.41 kB / 3.513 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/12, allocations: 118 kB / 3.513 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/12, allocations: 71.02 kB / 3.513 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/12, allocations: 40.72 kB / 3.513 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002282/12, allocations: 0.9764 MB / 3.514 GB, free: 125.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.51e-07/12, allocations: 3.5 kB / 3.514 GB, free: 125.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003664/12.01, allocations: 0.8035 MB / 3.515 GB, free: 125.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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 Backend phase and start with SimCode phase: time 0.007507/12.02, allocations: 5.223 MB / 3.52 GB, free: 122.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004328/12.02, allocations: 1.623 MB / 3.522 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/12.02, allocations: 5.328 kB / 3.522 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/12.02, allocations: 461.3 kB / 3.522 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/12.03, allocations: 0.6496 MB / 3.523 GB, free: 122.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/12.04, allocations: 2.656 MB / 3.526 GB, free: 121.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008072/12.04, allocations: 1.23 MB / 3.527 GB, free: 121.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004124/12.04, allocations: 0.5401 MB / 3.527 GB, free: 121.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/12.05, allocations: 0.5219 MB / 3.528 GB, free: 121.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/12.05, allocations: 0 / 3.528 GB, free: 121.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/12.24, allocations: 74.89 MB / 3.601 GB, free: 110.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/12.24, allocations: 211.5 kB / 3.601 GB, free: 109.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/18.73, allocations: 0 / 3.601 GB, free: 109.8 MB / 0.7761 GB