Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.234/3.234, allocations: 343.7 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.863e-05/4.874e-05, allocations: 4 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1985, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.292/7.491, allocations: 2.229 GB / 2.732 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/7.491, allocations: 80.77 kB / 2.732 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 10.7/18.19, allocations: 1.982 GB / 4.714 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.843e-06/18.19, allocations: 0 / 4.714 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004494/18.19, allocations: 99.91 kB / 4.714 GB, free: 0.5781 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.6199/18.81, allocations: 3.467 MB / 4.717 GB, free: 61.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/18.81, allocations: 9.531 kB / 4.717 GB, free: 61.77 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/18.81, allocations: 392.8 kB / 4.718 GB, free: 61.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/18.82, allocations: 0.9255 MB / 4.718 GB, free: 61.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/18.84, allocations: 2.879 MB / 4.721 GB, free: 61.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005555/18.84, allocations: 285.9 kB / 4.722 GB, free: 61.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/18.84, allocations: 298.2 kB / 4.722 GB, free: 61.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/18.85, allocations: 3.133 MB / 4.725 GB, free: 60.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/18.85, allocations: 4.812 kB / 4.725 GB, free: 60.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005819/18.85, allocations: 118.9 kB / 4.725 GB, free: 60.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/18.85, allocations: 105.8 kB / 4.725 GB, free: 60.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009569/18.86, allocations: 2.556 MB / 4.728 GB, free: 60.76 MB / 0.7448 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.03197/18.9, allocations: 13.23 MB / 4.74 GB, free: 53.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004988/18.9, allocations: 1.695 MB / 4.742 GB, free: 53.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/18.9, allocations: 1.048 MB / 4.743 GB, free: 53.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/18.9, allocations: 327 kB / 4.743 GB, free: 53.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/18.91, allocations: 58.69 kB / 4.744 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=182): time 5.32e-06/18.91, allocations: 1.938 kB / 4.744 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.007902/18.91, allocations: 1.92 MB / 4.745 GB, free: 53.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/18.91, allocations: 70.97 kB / 4.745 GB, free: 53.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/18.92, allocations: 1.68 MB / 4.747 GB, free: 52.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0008006/18.92, allocations: 74.36 kB / 4.747 GB, free: 52.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00172/18.92, allocations: 1.416 MB / 4.749 GB, free: 52.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/18.92, allocations: 0.6467 MB / 4.749 GB, free: 52.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/18.92, allocations: 41.28 kB / 4.749 GB, free: 52.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000178/18.92, allocations: 388.5 kB / 4.75 GB, free: 51.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/18.92, allocations: 0.7453 MB / 4.75 GB, free: 51.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/18.93, allocations: 1.39 MB / 4.752 GB, free: 50.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/18.93, allocations: 1.018 MB / 4.753 GB, free: 50.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-05/18.93, allocations: 6.312 kB / 4.753 GB, free: 50.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007147/18.94, allocations: 2.346 MB / 4.755 GB, free: 50.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001287/18.94, allocations: 5.514 MB / 4.76 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.085e-05/18.94, allocations: 14.59 kB / 4.76 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.677e-05/18.94, allocations: 24.84 kB / 4.76 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/18.94, allocations: 0.5123 MB / 4.761 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/18.95, allocations: 4.146 MB / 4.765 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/18.95, allocations: 379.2 kB / 4.765 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006112/18.95, allocations: 88.36 kB / 4.765 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/18.95, allocations: 6.281 kB / 4.765 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00557/18.96, allocations: 2.088 MB / 4.767 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/18.96, allocations: 15.31 kB / 4.767 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/18.96, allocations: 23 kB / 4.767 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/18.96, allocations: 476 kB / 4.768 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.668e-05/18.96, allocations: 36.31 kB / 4.768 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006266/18.97, allocations: 354.7 kB / 4.768 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/18.97, allocations: 90.75 kB / 4.768 GB, free: 40.58 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000807/18.97, allocations: 241.1 kB / 4.769 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/18.97, allocations: 269.1 kB / 4.769 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/18.98, allocations: 2.014 MB / 4.771 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/18.98, allocations: 18.38 kB / 4.771 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/18.98, allocations: 0 / 4.771 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004145/18.98, allocations: 1.803 MB / 4.773 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/19, allocations: 5.083 MB / 4.778 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/19, allocations: 0 / 4.778 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004712/19, allocations: 0.5061 MB / 4.778 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.831e-05/19, allocations: 9.625 kB / 4.778 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/19, allocations: 53.94 kB / 4.778 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/19.01, allocations: 4.119 MB / 4.782 GB, free: 51.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/19.01, allocations: 6.562 kB / 4.782 GB, free: 51.27 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/19.01, allocations: 3.456 MB / 4.786 GB, free: 50.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/19.02, allocations: 0.5839 MB / 4.786 GB, free: 50.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008164/19.02, allocations: 47.47 kB / 4.786 GB, free: 50.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005055/19.02, allocations: 257.2 kB / 4.786 GB, free: 50.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/19.02, allocations: 112.4 kB / 4.787 GB, free: 50.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/19.02, allocations: 75.39 kB / 4.787 GB, free: 50.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002869/19.03, allocations: 1.288 MB / 4.788 GB, free: 50.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.11e-07/19.03, allocations: 6.312 kB / 4.788 GB, free: 50.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008913/19.03, allocations: 2.163 MB / 4.79 GB, free: 49.84 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01697/19.05, allocations: 9.534 MB / 4.799 GB, free: 45.56 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.009499/19.06, allocations: 3.125 MB / 4.802 GB, free: 45.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/19.06, allocations: 4.812 kB / 4.802 GB, free: 45.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002851/19.06, allocations: 0.9622 MB / 4.803 GB, free: 45.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01432/19.08, allocations: 1.572 MB / 4.805 GB, free: 45.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/19.1, allocations: 6.364 MB / 4.811 GB, free: 44.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003017/19.1, allocations: 2.262 MB / 4.813 GB, free: 43.33 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.008933/19.11, allocations: 1.336 MB / 4.815 GB, free: 43.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/19.11, allocations: 1.226 MB / 4.816 GB, free: 43.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/19.11, allocations: 0 / 4.816 GB, free: 43.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3243/19.44, allocations: 151.4 MB / 4.964 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/19.44, allocations: 245.8 kB / 4.964 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.923/29.36, allocations: 4 kB / 4.964 GB, free: 5.355 MB / 0.7605 GB