Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.236e-05, allocations: 4 kB / 305 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.392, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.43/10.82, allocations: 3.686 GB / 4.038 GB, free: 69.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/10.82, allocations: 84.39 kB / 4.038 GB, free: 69.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.631/19.45, allocations: 1.457 GB / 5.494 GB, free: 11.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.634e-06/19.45, allocations: 0 / 5.494 GB, free: 11.96 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003122/19.45, allocations: 59.97 kB / 5.495 GB, free: 11.9 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.03641/19.49, allocations: 7.276 MB / 5.502 GB, free: 4.543 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/19.49, allocations: 12.02 kB / 5.502 GB, free: 4.531 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/19.49, allocations: 274.6 kB / 5.502 GB, free: 4.254 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/19.49, allocations: 288.9 kB / 5.502 GB, free: 3.969 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/19.5, allocations: 1.624 MB / 5.504 GB, free: 2.289 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/19.5, allocations: 147.5 kB / 5.504 GB, free: 2.145 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/19.5, allocations: 184 kB / 5.504 GB, free: 1.965 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5187/20.02, allocations: 3.04 MB / 5.507 GB, free: 33.39 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-05/20.02, allocations: 2.047 kB / 5.507 GB, free: 33.39 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008785/20.02, allocations: 84.3 kB / 5.507 GB, free: 33.39 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004957/20.02, allocations: 186.4 kB / 5.507 GB, free: 33.39 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/20.03, allocations: 3.359 MB / 5.511 GB, free: 33.38 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/20.07, allocations: 11.99 MB / 5.522 GB, free: 28.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005532/20.08, allocations: 1.546 MB / 5.524 GB, free: 28.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/20.08, allocations: 1.002 MB / 5.525 GB, free: 28.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/20.09, allocations: 1.75 MB / 5.526 GB, free: 27.14 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.017e-05/20.09, allocations: 53.47 kB / 5.527 GB, free: 27.11 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003976/20.09, allocations: 320.4 kB / 5.527 GB, free: 27.05 MB / 0.573 GB Notification: Performance of pre-optimization done (n=157): time 1.276e-05/20.09, allocations: 2.969 kB / 5.527 GB, free: 27.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=169): time 0.04119/20.13, allocations: 6.972 MB / 5.534 GB, free: 26.36 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/20.13, allocations: 201.1 kB / 5.534 GB, free: 26.13 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/20.13, allocations: 1.425 MB / 5.535 GB, free: 25.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007818/20.13, allocations: 58.64 kB / 5.535 GB, free: 25.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009664/20.14, allocations: 1.014 MB / 5.536 GB, free: 25.56 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001255/20.14, allocations: 0.5922 MB / 5.537 GB, free: 25.27 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004112/20.14, allocations: 44.5 kB / 5.537 GB, free: 25.27 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002118/20.14, allocations: 399.5 kB / 5.537 GB, free: 24.96 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/20.14, allocations: 1.093 MB / 5.538 GB, free: 24.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/20.15, allocations: 1.622 MB / 5.54 GB, free: 24.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/20.15, allocations: 1.391 MB / 5.541 GB, free: 24.29 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/20.15, allocations: 3.812 kB / 5.541 GB, free: 24.29 MB / 0.573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01592/20.17, allocations: 3.777 MB / 5.545 GB, free: 24.03 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00137/20.17, allocations: 5.927 MB / 5.551 GB, free: 17.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/20.17, allocations: 16.34 kB / 5.551 GB, free: 17.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/20.18, allocations: 1.221 MB / 5.552 GB, free: 17.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/20.18, allocations: 0.5415 MB / 5.553 GB, free: 17.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/20.19, allocations: 2.016 MB / 5.554 GB, free: 16.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005561/20.19, allocations: 206.7 kB / 5.555 GB, free: 16.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/20.2, allocations: 181.3 kB / 5.555 GB, free: 16.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/20.2, allocations: 5.406 kB / 5.555 GB, free: 16.91 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01578/20.21, allocations: 3.505 MB / 5.558 GB, free: 16.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-05/20.21, allocations: 16.47 kB / 5.558 GB, free: 16.78 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008668/20.22, allocations: 0.8848 MB / 5.559 GB, free: 16.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004933/20.23, allocations: 0.5486 MB / 5.56 GB, free: 16.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/20.23, allocations: 1.806 MB / 5.561 GB, free: 31.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/20.23, allocations: 196.2 kB / 5.562 GB, free: 31.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/20.24, allocations: 178.9 kB / 5.562 GB, free: 31.71 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001804/20.24, allocations: 235.4 kB / 5.562 GB, free: 31.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008867/20.24, allocations: 199.3 kB / 5.562 GB, free: 31.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/20.25, allocations: 3.8 MB / 5.566 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/20.25, allocations: 25.84 kB / 5.566 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/20.25, allocations: 1.75 kB / 5.566 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.818e-05/20.25, allocations: 8.125 kB / 5.566 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/20.27, allocations: 5.743 MB / 5.572 GB, free: 30.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/20.27, allocations: 4.75 kB / 5.572 GB, free: 30.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004078/20.28, allocations: 340.2 kB / 5.572 GB, free: 30.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/20.29, allocations: 1.083 MB / 5.573 GB, free: 30.74 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007827/20.29, allocations: 76.45 kB / 5.573 GB, free: 30.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004368/20.29, allocations: 1.94 MB / 5.575 GB, free: 29.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/20.29, allocations: 3.625 kB / 5.575 GB, free: 29.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/20.31, allocations: 4.425 MB / 5.579 GB, free: 28.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/20.31, allocations: 307.5 kB / 5.58 GB, free: 28.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000817/20.31, allocations: 44.88 kB / 5.58 GB, free: 28.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0043/20.32, allocations: 155.5 kB / 5.58 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005465/20.32, allocations: 150.8 kB / 5.58 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005102/20.32, allocations: 121.1 kB / 5.58 GB, free: 28.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003263/20.32, allocations: 1.086 MB / 5.581 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.11e-07/20.32, allocations: 0 / 5.581 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01759/20.34, allocations: 3.169 MB / 5.584 GB, free: 28.55 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02855/20.37, allocations: 10.19 MB / 5.594 GB, free: 25.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01379/20.38, allocations: 4.527 MB / 5.599 GB, free: 25.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/20.38, allocations: 2.719 kB / 5.599 GB, free: 25.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003547/20.38, allocations: 1.255 MB / 5.6 GB, free: 25.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008557/20.39, allocations: 1.019 MB / 5.601 GB, free: 25.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/20.41, allocations: 5.379 MB / 5.606 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/20.41, allocations: 1.72 MB / 5.608 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.008812/20.42, allocations: 1.362 MB / 5.609 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/20.42, allocations: 0.9257 MB / 5.61 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/20.42, allocations: 0 / 5.61 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3612/20.78, allocations: 135.8 MB / 5.743 GB, free: 476 kB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/20.78, allocations: 251.4 kB / 5.743 GB, free: 128 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/29.86, allocations: 3.906 kB / 5.743 GB, free: 124 kB / 0.6198 GB