Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.716e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.21/11.32, allocations: 3.679 GB / 3.994 GB, free: 1.695 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/11.32, allocations: 79.95 kB / 3.994 GB, free: 1.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.765/20.08, allocations: 1.447 GB / 5.441 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.953e-06/20.08, allocations: 0 / 5.441 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002992/20.08, allocations: 63.92 kB / 5.441 GB, free: 20.41 MB / 0.5105 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.03554/20.12, allocations: 7.272 MB / 5.448 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/20.12, allocations: 8.031 kB / 5.448 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/20.12, allocations: 280.5 kB / 5.448 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/20.12, allocations: 284.5 kB / 5.448 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006455/20.13, allocations: 1.62 MB / 5.45 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/20.13, allocations: 147.5 kB / 5.45 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/20.13, allocations: 188 kB / 5.45 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/20.14, allocations: 3.071 MB / 5.453 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.199e-05/20.14, allocations: 4 kB / 5.453 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007251/20.14, allocations: 83.89 kB / 5.453 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003627/20.14, allocations: 191.7 kB / 5.454 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/20.15, allocations: 3.381 MB / 5.457 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/20.19, allocations: 11.61 MB / 5.468 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004972/20.19, allocations: 1.561 MB / 5.47 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/20.2, allocations: 1.001 MB / 5.471 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002501/20.2, allocations: 1.746 MB / 5.472 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/20.2, allocations: 59.81 kB / 5.472 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003471/20.2, allocations: 309.9 kB / 5.473 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 9.227e-06/20.2, allocations: 3.562 kB / 5.473 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.5475/20.75, allocations: 6.963 MB / 5.48 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/20.75, allocations: 202.5 kB / 5.48 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/20.75, allocations: 1.427 MB / 5.481 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007169/20.76, allocations: 59.27 kB / 5.481 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/20.76, allocations: 1.013 MB / 5.482 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009618/20.76, allocations: 0.5933 MB / 5.483 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/20.76, allocations: 44.69 kB / 5.483 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001659/20.76, allocations: 403.2 kB / 5.483 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/20.76, allocations: 1.088 MB / 5.484 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/20.77, allocations: 1.633 MB / 5.486 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/20.77, allocations: 1.386 MB / 5.487 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.065e-05/20.77, allocations: 5.875 kB / 5.487 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01607/20.79, allocations: 3.812 MB / 5.491 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001396/20.79, allocations: 5.939 MB / 5.497 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.38e-05/20.79, allocations: 17.47 kB / 5.497 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/20.8, allocations: 1.21 MB / 5.498 GB, free: 27.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004926/20.81, allocations: 0.5409 MB / 5.498 GB, free: 27.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/20.81, allocations: 2.034 MB / 5.5 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/20.82, allocations: 210 kB / 5.501 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009905/20.82, allocations: 177.3 kB / 5.501 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/20.82, allocations: 7.188 kB / 5.501 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01511/20.83, allocations: 3.555 MB / 5.504 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.467e-05/20.83, allocations: 14.86 kB / 5.504 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008551/20.84, allocations: 0.8704 MB / 5.505 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/20.84, allocations: 0.542 MB / 5.506 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/20.85, allocations: 1.799 MB / 5.507 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/20.85, allocations: 194.4 kB / 5.508 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007911/20.85, allocations: 178.7 kB / 5.508 GB, free: 24.97 MB / 0.5261 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,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.001027/20.85, allocations: 234.1 kB / 5.508 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/20.86, allocations: 202.8 kB / 5.508 GB, free: 24.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/20.87, allocations: 3.792 MB / 5.512 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/20.87, allocations: 18.78 kB / 5.512 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/20.87, allocations: 3.781 kB / 5.512 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/20.87, allocations: 11.48 kB / 5.512 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/20.89, allocations: 5.756 MB / 5.518 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/20.89, allocations: 2.594 kB / 5.518 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/20.89, allocations: 348.6 kB / 5.518 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009439/20.9, allocations: 1.071 MB / 5.519 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007711/20.9, allocations: 78.34 kB / 5.519 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/20.9, allocations: 1.939 MB / 5.521 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/20.9, allocations: 12.33 kB / 5.521 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/20.92, allocations: 4.422 MB / 5.525 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/20.92, allocations: 312.3 kB / 5.526 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/20.92, allocations: 45.75 kB / 5.526 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004307/20.92, allocations: 155.2 kB / 5.526 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008881/20.92, allocations: 146.8 kB / 5.526 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004494/20.93, allocations: 116.6 kB / 5.526 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002893/20.93, allocations: 1.092 MB / 5.527 GB, free: 21.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.01e-07/20.93, allocations: 0 / 5.527 GB, free: 21.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01691/20.95, allocations: 3.164 MB / 5.53 GB, free: 21.81 MB / 0.5261 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.031/20.98, allocations: 10.14 MB / 5.54 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01509/20.99, allocations: 4.605 MB / 5.545 GB, free: 18.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/20.99, allocations: 7.766 kB / 5.545 GB, free: 18.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004081/21, allocations: 1.269 MB / 5.546 GB, free: 18.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009193/21, allocations: 1.032 MB / 5.547 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/21.02, allocations: 5.395 MB / 5.552 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/21.03, allocations: 1.72 MB / 5.554 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009388/21.04, allocations: 1.352 MB / 5.555 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/21.04, allocations: 0.9203 MB / 5.556 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/21.04, allocations: 0 / 5.556 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8591/21.9, allocations: 135.6 MB / 5.688 GB, free: 64.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003175/21.9, allocations: 242.5 kB / 5.689 GB, free: 64.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.214/31.11, allocations: 4.938 kB / 5.689 GB, free: 64.23 MB / 0.5573 GB