Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.911/4.911, allocations: 404.2 MB / 411.3 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.024e-05, allocations: 4 kB / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7087, allocations: 92.68 MB / 0.585 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.057/8.766, allocations: 2.174 GB / 2.759 GB, free: 115 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/8.766, allocations: 88.45 kB / 2.759 GB, free: 115 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.187/12.95, allocations: 0.6372 GB / 3.396 GB, free: 75.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.245e-06/12.95, allocations: 0 / 3.396 GB, free: 75.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001328/12.95, allocations: 32 kB / 3.396 GB, free: 75.82 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005836/12.96, allocations: 1.483 MB / 3.398 GB, free: 74.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/12.96, allocations: 8.031 kB / 3.398 GB, free: 74.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/12.96, allocations: 254.7 kB / 3.398 GB, free: 74.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/12.97, allocations: 0.851 MB / 3.399 GB, free: 73.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/12.97, allocations: 36 kB / 3.399 GB, free: 73.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/12.97, allocations: 68 kB / 3.399 GB, free: 73.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00285/12.97, allocations: 0.9257 MB / 3.4 GB, free: 72.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/12.97, allocations: 1.154 MB / 3.401 GB, free: 70.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.065e-05/12.97, allocations: 3.953 kB / 3.401 GB, free: 70.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/12.97, allocations: 4 kB / 3.401 GB, free: 70.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/12.97, allocations: 38 kB / 3.401 GB, free: 70.81 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/12.98, allocations: 6.168 MB / 3.407 GB, free: 64.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/12.98, allocations: 0.565 MB / 3.407 GB, free: 63.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/12.99, allocations: 303.7 kB / 3.408 GB, free: 63.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/12.99, allocations: 117.5 kB / 3.408 GB, free: 63.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/12.99, allocations: 51 kB / 3.408 GB, free: 63.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 4.618e-06/12.99, allocations: 0 / 3.408 GB, free: 63.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.00205/12.99, allocations: 0.577 MB / 3.408 GB, free: 62.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/12.99, allocations: 107.2 kB / 3.409 GB, free: 62.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/12.99, allocations: 0.5897 MB / 3.409 GB, free: 61.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/12.99, allocations: 33.64 kB / 3.409 GB, free: 61.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/12.99, allocations: 0.5759 MB / 3.41 GB, free: 61.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/12.99, allocations: 197.1 kB / 3.41 GB, free: 60.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/12.99, allocations: 0 / 3.41 GB, free: 60.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001583/12.99, allocations: 390.7 kB / 3.41 GB, free: 60.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/12.99, allocations: 262.5 kB / 3.411 GB, free: 60.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009136/12.99, allocations: 0.6106 MB / 3.411 GB, free: 59.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/12.99, allocations: 401.8 kB / 3.411 GB, free: 59.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/12.99, allocations: 4 kB / 3.411 GB, free: 59.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00265/13, allocations: 0.9001 MB / 3.412 GB, free: 58.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/13, allocations: 47.52 kB / 3.412 GB, free: 58.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/13, allocations: 12 kB / 3.412 GB, free: 58.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/13, allocations: 12 kB / 3.412 GB, free: 58.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/13, allocations: 184.4 kB / 3.413 GB, free: 57.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/13, allocations: 27.92 kB / 3.413 GB, free: 57.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/13, allocations: 127 kB / 3.413 GB, free: 57.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/13, allocations: 40 kB / 3.413 GB, free: 57.75 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 1 * 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.0002748/13, allocations: 145.1 kB / 3.413 GB, free: 57.6 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001692/13, allocations: 0.5731 MB / 3.413 GB, free: 57.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/13, allocations: 83.06 kB / 3.414 GB, free: 56.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/13, allocations: 0.5744 MB / 3.414 GB, free: 56.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/13, allocations: 8 kB / 3.414 GB, free: 56.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/13, allocations: 4.047 kB / 3.414 GB, free: 56.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/13.01, allocations: 0.4977 MB / 3.415 GB, free: 55.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/13.01, allocations: 1.661 MB / 3.416 GB, free: 54.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/13.01, allocations: 4 kB / 3.416 GB, free: 54.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/13.01, allocations: 115.9 kB / 3.416 GB, free: 53.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/13.01, allocations: 4 kB / 3.416 GB, free: 53.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/13.01, allocations: 15.92 kB / 3.416 GB, free: 53.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/13.01, allocations: 4 kB / 3.416 GB, free: 53.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/13.01, allocations: 3.953 kB / 3.416 GB, free: 53.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/13.01, allocations: 1.167 MB / 3.418 GB, free: 52.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/13.01, allocations: 244 kB / 3.418 GB, free: 52.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/13.02, allocations: 3.984 kB / 3.418 GB, free: 52.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/13.02, allocations: 67.97 kB / 3.418 GB, free: 52.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/13.02, allocations: 40.33 kB / 3.418 GB, free: 52.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/13.02, allocations: 27.98 kB / 3.418 GB, free: 52.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008445/13.02, allocations: 443.1 kB / 3.418 GB, free: 51.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.51e-07/13.02, allocations: 0 / 3.418 GB, free: 51.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002293/13.02, allocations: 478.9 kB / 3.419 GB, free: 51.44 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.00662/13.03, allocations: 4.167 MB / 3.423 GB, free: 47.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001862/13.03, allocations: 0.6764 MB / 3.424 GB, free: 46.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/13.03, allocations: 4 kB / 3.424 GB, free: 46.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/13.03, allocations: 265.4 kB / 3.424 GB, free: 46.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/13.03, allocations: 382.5 kB / 3.424 GB, free: 45.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/13.04, allocations: 1.857 MB / 3.426 GB, free: 43.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/13.04, allocations: 1.193 MB / 3.427 GB, free: 42.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00203/13.04, allocations: 274.9 kB / 3.427 GB, free: 42.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008621/13.04, allocations: 395.3 kB / 3.428 GB, free: 42.01 MB / 0.7761 GB Notification: Performance of SimCode: time 1.213e-06/13.04, allocations: 0 / 3.428 GB, free: 42.01 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/13.17, allocations: 36.69 MB / 3.464 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000328/13.17, allocations: 175.4 kB / 3.464 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.384/18.55, allocations: 0 / 3.464 GB, free: 5.352 MB / 0.7761 GB