Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.215/3.215, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.463e-05/4.466e-05, allocations: 12 kB / 436.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1765, allocations: 77.74 MB / 0.5023 GB, free: 4.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.098/7.274, allocations: 2.222 GB / 2.724 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/7.275, allocations: 86.58 kB / 2.725 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.713/10.99, allocations: 0.6373 GB / 3.362 GB, free: 93.51 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/10.99, allocations: 0 / 3.362 GB, free: 93.51 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001198/10.99, allocations: 30.59 kB / 3.362 GB, free: 93.51 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.004474/10.99, allocations: 1.327 MB / 3.363 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/10.99, allocations: 9.75 kB / 3.363 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003671/10.99, allocations: 146.1 kB / 3.363 GB, free: 93.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/11, allocations: 248 kB / 3.364 GB, free: 93.01 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/11, allocations: 1.105 MB / 3.365 GB, free: 92.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.253e-05/11, allocations: 73.94 kB / 3.365 GB, free: 92.76 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/11, allocations: 95.84 kB / 3.365 GB, free: 92.76 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/11, allocations: 1.093 MB / 3.366 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/11, allocations: 8.094 kB / 3.366 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/11, allocations: 41.86 kB / 3.366 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.032e-05/11, allocations: 32.77 kB / 3.366 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/11.01, allocations: 0.8121 MB / 3.367 GB, free: 92.53 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.008734/11.01, allocations: 5.699 MB / 3.372 GB, free: 88.85 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/11.02, allocations: 0.5179 MB / 3.373 GB, free: 88.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/11.02, allocations: 301.3 kB / 3.373 GB, free: 88.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/11.02, allocations: 311.7 kB / 3.373 GB, free: 88.53 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/11.02, allocations: 42.64 kB / 3.373 GB, free: 88.49 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 3.898e-06/11.02, allocations: 0 / 3.373 GB, free: 88.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.002165/11.02, allocations: 0.5695 MB / 3.374 GB, free: 88.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/11.02, allocations: 59.34 kB / 3.374 GB, free: 88.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/11.02, allocations: 0.6374 MB / 3.375 GB, free: 88.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/11.02, allocations: 37.2 kB / 3.375 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/11.02, allocations: 0.5056 MB / 3.375 GB, free: 87.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/11.02, allocations: 175.4 kB / 3.375 GB, free: 87.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/11.02, allocations: 8.75 kB / 3.375 GB, free: 87.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001667/11.02, allocations: 399.3 kB / 3.376 GB, free: 87.58 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/11.02, allocations: 232.1 kB / 3.376 GB, free: 87.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/11.02, allocations: 0.5502 MB / 3.377 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/11.03, allocations: 339.6 kB / 3.377 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/11.03, allocations: 2.125 kB / 3.377 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002201/11.03, allocations: 0.79 MB / 3.378 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/11.03, allocations: 8.438 kB / 3.378 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/11.03, allocations: 8.906 kB / 3.378 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/11.03, allocations: 20.06 kB / 3.378 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/11.03, allocations: 154.9 kB / 3.378 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.747e-05/11.03, allocations: 15.05 kB / 3.378 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/11.03, allocations: 135.9 kB / 3.378 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/11.03, allocations: 39.16 kB / 3.378 GB, free: 87.09 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.0002438/11.03, allocations: 157 kB / 3.378 GB, free: 86.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/11.03, allocations: 84.16 kB / 3.378 GB, free: 86.94 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/11.03, allocations: 0.5972 MB / 3.379 GB, free: 86.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/11.03, allocations: 5.062 kB / 3.379 GB, free: 86.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/11.03, allocations: 2.844 kB / 3.379 GB, free: 86.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/11.03, allocations: 0.4912 MB / 3.379 GB, free: 86.81 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004729/11.04, allocations: 1.642 MB / 3.381 GB, free: 86.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/11.04, allocations: 1.938 kB / 3.381 GB, free: 86.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/11.04, allocations: 114.2 kB / 3.381 GB, free: 86.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/11.04, allocations: 4.047 kB / 3.381 GB, free: 86.44 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/11.04, allocations: 14.42 kB / 3.381 GB, free: 86.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/11.04, allocations: 11.86 kB / 3.381 GB, free: 86.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/11.04, allocations: 6.359 kB / 3.381 GB, free: 86.43 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/11.04, allocations: 1.09 MB / 3.382 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008274/11.04, allocations: 227.3 kB / 3.382 GB, free: 85.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/11.04, allocations: 16.53 kB / 3.382 GB, free: 85.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/11.04, allocations: 70.81 kB / 3.382 GB, free: 85.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/11.04, allocations: 34.62 kB / 3.382 GB, free: 85.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/11.05, allocations: 21.75 kB / 3.382 GB, free: 85.93 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001101/11.05, allocations: 499.8 kB / 3.383 GB, free: 85.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.91e-07/11.05, allocations: 0 / 3.383 GB, free: 85.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002514/11.05, allocations: 484.9 kB / 3.383 GB, free: 85.82 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.006918/11.06, allocations: 3.98 MB / 3.387 GB, free: 83.94 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001802/11.06, allocations: 0.5644 MB / 3.388 GB, free: 83.94 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/11.06, allocations: 2.125 kB / 3.388 GB, free: 83.94 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006342/11.06, allocations: 257.7 kB / 3.388 GB, free: 83.94 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/11.06, allocations: 425.5 kB / 3.389 GB, free: 83.93 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/11.07, allocations: 1.784 MB / 3.39 GB, free: 83.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/11.07, allocations: 1.141 MB / 3.391 GB, free: 82.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001755/11.07, allocations: 267.5 kB / 3.392 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/11.07, allocations: 354.6 kB / 3.392 GB, free: 82.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.182e-06/11.07, allocations: 2.844 kB / 3.392 GB, free: 82.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/11.2, allocations: 56.19 MB / 3.447 GB, free: 81.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/11.2, allocations: 200.4 kB / 3.447 GB, free: 81.15 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.013/16.22, allocations: 0 / 3.447 GB, free: 81.15 MB / 0.6667 GB