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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.631/4.631, allocations: 404.1 MB / 411.3 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.606e-05, allocations: 4 kB / 0.4945 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7079, allocations: 92.69 MB / 0.5851 GB, free: 2.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.482/8.19, allocations: 2.174 GB / 2.76 GB, free: 113.8 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/8.191, allocations: 100.5 kB / 2.76 GB, free: 113.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.698/12.89, allocations: 0.7123 GB / 3.472 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.565e-06/12.89, allocations: 0 / 3.472 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.00045/12.89, allocations: 37.39 kB / 3.472 GB, free: 133.7 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.00984/12.9, allocations: 1.653 MB / 3.474 GB, free: 133.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/12.9, allocations: 9.562 kB / 3.474 GB, free: 133.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006375/12.91, allocations: 316.6 kB / 3.474 GB, free: 133.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/12.91, allocations: 1.159 MB / 3.475 GB, free: 132.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/12.91, allocations: 25.91 kB / 3.475 GB, free: 132.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/12.91, allocations: 56.69 kB / 3.475 GB, free: 132.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002901/12.91, allocations: 0.8976 MB / 3.476 GB, free: 132.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/12.92, allocations: 0.9913 MB / 3.477 GB, free: 132.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/12.92, allocations: 0 / 3.477 GB, free: 132.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/12.92, allocations: 5.781 kB / 3.477 GB, free: 132.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/12.92, allocations: 18.66 kB / 3.477 GB, free: 132.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/12.93, allocations: 4.009 MB / 3.481 GB, free: 131.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/12.93, allocations: 0.734 MB / 3.482 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/12.93, allocations: 455.7 kB / 3.482 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/12.93, allocations: 14.59 kB / 3.482 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/12.93, allocations: 52.56 kB / 3.482 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003609/12.94, allocations: 404.2 kB / 3.482 GB, free: 131.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 8.135e-06/12.94, allocations: 2.5 kB / 3.482 GB, free: 131.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=62): time 0.005433/12.94, allocations: 1.052 MB / 3.483 GB, free: 131 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/12.94, allocations: 297.8 kB / 3.484 GB, free: 130.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/12.94, allocations: 1.022 MB / 3.485 GB, free: 130.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004171/12.95, allocations: 29.64 kB / 3.485 GB, free: 130.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/12.95, allocations: 0.6028 MB / 3.485 GB, free: 130.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/12.95, allocations: 209.8 kB / 3.486 GB, free: 130.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/12.95, allocations: 0 / 3.486 GB, free: 130.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/12.95, allocations: 339.7 kB / 3.486 GB, free: 129.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/12.95, allocations: 419.1 kB / 3.486 GB, free: 129.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/12.95, allocations: 0.6788 MB / 3.487 GB, free: 129.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/12.95, allocations: 0.4917 MB / 3.487 GB, free: 129.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/12.95, allocations: 3.844 kB / 3.487 GB, free: 129.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003778/12.95, allocations: 1.151 MB / 3.489 GB, free: 129.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000196/12.95, allocations: 0.803 MB / 3.489 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/12.95, allocations: 9.016 kB / 3.489 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/12.95, allocations: 6.5 kB / 3.489 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/12.96, allocations: 240.9 kB / 3.49 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/12.96, allocations: 17.23 kB / 3.49 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/12.96, allocations: 122.4 kB / 3.49 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/12.96, allocations: 59.48 kB / 3.49 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/12.96, allocations: 7.672 kB / 3.49 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002891/12.96, allocations: 0.9257 MB / 3.491 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/12.96, allocations: 6.938 kB / 3.491 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/12.96, allocations: 3.812 kB / 3.491 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/12.97, allocations: 217.5 kB / 3.491 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/12.97, allocations: 3.906 kB / 3.491 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/12.97, allocations: 90.33 kB / 3.491 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/12.97, allocations: 52.97 kB / 3.491 GB, free: 128.7 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.0004739/12.97, allocations: 124.7 kB / 3.491 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00313/12.97, allocations: 0.9429 MB / 3.492 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/12.97, allocations: 125.2 kB / 3.492 GB, free: 128.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/12.98, allocations: 1.014 MB / 3.493 GB, free: 128.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/12.98, allocations: 10.78 kB / 3.493 GB, free: 128.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/12.98, allocations: 0 / 3.493 GB, free: 128.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/12.98, allocations: 3.844 kB / 3.493 GB, free: 128.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007336/12.99, allocations: 2.722 MB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/12.99, allocations: 7.562 kB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/12.99, allocations: 192.5 kB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/12.99, allocations: 7.5 kB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/12.99, allocations: 24.16 kB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/12.99, allocations: 3.844 kB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/12.99, allocations: 11.31 kB / 3.496 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/12.99, allocations: 1.812 MB / 3.498 GB, free: 127.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/12.99, allocations: 338.7 kB / 3.498 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/12.99, allocations: 15.55 kB / 3.498 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/13, allocations: 104.7 kB / 3.498 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/13, allocations: 61.98 kB / 3.498 GB, free: 127 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/13, allocations: 41.45 kB / 3.498 GB, free: 127 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001987/13, allocations: 0.7836 MB / 3.499 GB, free: 126.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.31e-07/13, allocations: 0 / 3.499 GB, free: 126.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004195/13, allocations: 0.7451 MB / 3.5 GB, free: 126.8 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.008747/13.01, allocations: 5.38 MB / 3.505 GB, free: 124.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004125/13.02, allocations: 1.56 MB / 3.507 GB, free: 124.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/13.02, allocations: 2.375 kB / 3.507 GB, free: 124.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/13.02, allocations: 440.5 kB / 3.507 GB, free: 124.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005542/13.02, allocations: 0.4935 MB / 3.508 GB, free: 124.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/13.04, allocations: 2.555 MB / 3.51 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009685/13.04, allocations: 1.232 MB / 3.511 GB, free: 122.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004692/13.04, allocations: 486.4 kB / 3.512 GB, free: 122.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/13.05, allocations: 0.5105 MB / 3.512 GB, free: 122.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.172e-06/13.05, allocations: 3.656 kB / 3.512 GB, free: 122.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/13.22, allocations: 49.91 MB / 3.561 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003992/13.22, allocations: 189.9 kB / 3.561 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.25/19.47, allocations: 6.969 kB / 3.561 GB, free: 121.6 MB / 0.7761 GB