Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadModel(BuildingSystems): time 3.033/3.033, allocations: 343.8 MB / 355.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.079e-05, allocations: 11.98 kB / 436.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1428, allocations: 77.72 MB / 0.5022 GB, free: 4.566 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.587/5.73, allocations: 2.222 GB / 2.724 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/5.73, allocations: 95.88 kB / 2.724 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.191/8.921, allocations: 0.6373 GB / 3.362 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.047e-06/8.921, allocations: 0 / 3.362 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.371e-05/8.921, allocations: 35.3 kB / 3.362 GB, free: 119.1 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002949/8.924, allocations: 1.308 MB / 3.363 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/8.924, allocations: 10.44 kB / 3.363 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/8.926, allocations: 257.9 kB / 3.363 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/8.93, allocations: 1.104 MB / 3.364 GB, free: 118 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/8.93, allocations: 72.34 kB / 3.365 GB, free: 118 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/8.93, allocations: 89.5 kB / 3.365 GB, free: 118 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/8.932, allocations: 1.114 MB / 3.366 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/8.932, allocations: 3.094 kB / 3.366 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/8.932, allocations: 38.47 kB / 3.366 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/8.932, allocations: 32.56 kB / 3.366 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/8.934, allocations: 0.8189 MB / 3.367 GB, free: 117.7 MB / 0.6667 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.006446/8.941, allocations: 5.687 MB / 3.372 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/8.942, allocations: 0.5119 MB / 3.373 GB, free: 113 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/8.942, allocations: 299.4 kB / 3.373 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/8.943, allocations: 315.2 kB / 3.373 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/8.943, allocations: 37.88 kB / 3.373 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 3.89e-06/8.943, allocations: 3.125 kB / 3.373 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.001529/8.944, allocations: 0.5728 MB / 3.374 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/8.944, allocations: 59.66 kB / 3.374 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/8.945, allocations: 0.6404 MB / 3.374 GB, free: 112 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/8.946, allocations: 39.83 kB / 3.375 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/8.946, allocations: 0.4991 MB / 3.375 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/8.946, allocations: 184.7 kB / 3.375 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/8.946, allocations: 11.28 kB / 3.375 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001341/8.946, allocations: 388.7 kB / 3.376 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/8.947, allocations: 233.2 kB / 3.376 GB, free: 111 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/8.947, allocations: 0.5464 MB / 3.376 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/8.948, allocations: 340.4 kB / 3.377 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.411e-06/8.948, allocations: 2.656 kB / 3.377 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001657/8.95, allocations: 0.7961 MB / 3.377 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/8.95, allocations: 8.75 kB / 3.377 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/8.95, allocations: 10.06 kB / 3.377 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/8.95, allocations: 21.48 kB / 3.377 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/8.951, allocations: 151.2 kB / 3.378 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/8.951, allocations: 24.72 kB / 3.378 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/8.952, allocations: 135 kB / 3.378 GB, free: 110 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/8.952, allocations: 38.56 kB / 3.378 GB, free: 110 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001795/8.952, allocations: 154.6 kB / 3.378 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/8.953, allocations: 86.5 kB / 3.378 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/8.954, allocations: 0.5938 MB / 3.379 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-06/8.954, allocations: 3.156 kB / 3.379 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.431e-06/8.954, allocations: 3.953 kB / 3.379 GB, free: 109.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009064/8.955, allocations: 0.4971 MB / 3.379 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/8.958, allocations: 1.646 MB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.812e-06/8.958, allocations: 3.656 kB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/8.959, allocations: 105.6 kB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/8.959, allocations: 10.16 kB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/8.959, allocations: 14.62 kB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.248e-06/8.959, allocations: 7.25 kB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.412e-06/8.959, allocations: 1.938 kB / 3.381 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/8.961, allocations: 1.105 MB / 3.382 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/8.962, allocations: 229.3 kB / 3.382 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/8.962, allocations: 7.812 kB / 3.382 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/8.963, allocations: 62.39 kB / 3.382 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/8.963, allocations: 33.88 kB / 3.382 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/8.963, allocations: 29.33 kB / 3.382 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008274/8.964, allocations: 497.5 kB / 3.383 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.26e-07/8.964, allocations: 0 / 3.383 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001906/8.966, allocations: 491.2 kB / 3.383 GB, free: 107.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.003051/8.969, allocations: 1.943 MB / 3.385 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001293/8.97, allocations: 0.5735 MB / 3.386 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.513e-06/8.97, allocations: 0.75 kB / 3.386 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004816/8.97, allocations: 260 kB / 3.386 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/8.973, allocations: 432.8 kB / 3.386 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/8.976, allocations: 1.52 MB / 3.388 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/8.977, allocations: 1.147 MB / 3.389 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001375/8.979, allocations: 269.2 kB / 3.389 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/8.979, allocations: 66.34 kB / 3.389 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.671e-06/8.979, allocations: 0 / 3.389 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.07818/9.057, allocations: 41.5 MB / 3.43 GB, free: 64.22 MB / 0.6667 GB