Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.86e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4647, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.58, allocations: 3.633 GB / 4.006 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/11.58, allocations: 83 kB / 4.006 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.507/21.09, allocations: 1.462 GB / 5.468 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/21.09, allocations: 1.062 kB / 5.468 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003305/21.09, allocations: 60.03 kB / 5.468 GB, free: 31.26 MB / 0.5886 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.03581/21.13, allocations: 7.281 MB / 5.475 GB, free: 27.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/21.13, allocations: 10.72 kB / 5.475 GB, free: 27.85 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001407/21.13, allocations: 281.7 kB / 5.476 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/21.13, allocations: 279.4 kB / 5.476 GB, free: 27.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006577/21.14, allocations: 1.553 MB / 5.477 GB, free: 27.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/21.14, allocations: 145.5 kB / 5.478 GB, free: 27.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/21.14, allocations: 196.5 kB / 5.478 GB, free: 27.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/21.15, allocations: 3.064 MB / 5.481 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/21.15, allocations: 0 / 5.481 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005844/21.15, allocations: 80.98 kB / 5.481 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003895/21.15, allocations: 187.7 kB / 5.481 GB, free: 27.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/21.16, allocations: 3.377 MB / 5.484 GB, free: 27.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/21.2, allocations: 12.16 MB / 5.496 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00486/21.2, allocations: 1.736 MB / 5.498 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/21.21, allocations: 1.107 MB / 5.499 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/21.21, allocations: 1.683 MB / 5.501 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/21.21, allocations: 60.22 kB / 5.501 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003767/21.21, allocations: 361 kB / 5.501 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 7.725e-06/21.21, allocations: 2.656 kB / 5.501 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.03779/21.25, allocations: 7.399 MB / 5.508 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/21.25, allocations: 203.7 kB / 5.508 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/21.25, allocations: 1.778 MB / 5.51 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008584/21.26, allocations: 62.02 kB / 5.51 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009463/21.26, allocations: 0.9724 MB / 5.511 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/21.26, allocations: 0.5883 MB / 5.512 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/21.26, allocations: 43.12 kB / 5.512 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000169/21.26, allocations: 394.8 kB / 5.512 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/21.26, allocations: 1.222 MB / 5.513 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/21.27, allocations: 1.559 MB / 5.515 GB, free: 17.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/21.27, allocations: 1.475 MB / 5.516 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-05/21.27, allocations: 3.312 kB / 5.516 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01685/21.29, allocations: 4.018 MB / 5.52 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008155/21.29, allocations: 3.044 MB / 5.523 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/21.29, allocations: 13.23 kB / 5.523 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/21.3, allocations: 1.231 MB / 5.524 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/21.31, allocations: 0.5027 MB / 5.525 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/21.31, allocations: 2.022 MB / 5.527 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/21.32, allocations: 200.4 kB / 5.527 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008277/21.32, allocations: 165 kB / 5.527 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/21.32, allocations: 6.031 kB / 5.527 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01263/21.33, allocations: 3.372 MB / 5.531 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/21.33, allocations: 7.438 kB / 5.531 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008453/21.34, allocations: 0.8793 MB / 5.531 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005058/21.34, allocations: 0.5095 MB / 5.532 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/21.35, allocations: 1.804 MB / 5.534 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/21.35, allocations: 188.4 kB / 5.534 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008978/21.35, allocations: 168.6 kB / 5.534 GB, free: 12.14 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (250): * Single equations (assignments): 246 * 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.001064/21.35, allocations: 225.5 kB / 5.534 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008926/21.35, allocations: 225.8 kB / 5.534 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/21.37, allocations: 4.01 MB / 5.538 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/21.37, allocations: 20.47 kB / 5.538 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/21.37, allocations: 3.812 kB / 5.538 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/21.37, allocations: 9.562 kB / 5.538 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/21.39, allocations: 6.186 MB / 5.544 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/21.39, allocations: 3.312 kB / 5.544 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003322/21.39, allocations: 337.2 kB / 5.545 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009465/21.4, allocations: 1.085 MB / 5.546 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008204/21.4, allocations: 77.12 kB / 5.546 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/21.41, allocations: 1.932 MB / 5.548 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/21.41, allocations: 6.781 kB / 5.548 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/21.42, allocations: 4.788 MB / 5.552 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/21.42, allocations: 373.1 kB / 5.553 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/21.42, allocations: 42.59 kB / 5.553 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004887/21.43, allocations: 166.9 kB / 5.553 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008601/21.43, allocations: 148.2 kB / 5.553 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005551/21.43, allocations: 132.6 kB / 5.553 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003575/21.43, allocations: 1.388 MB / 5.555 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.563e-06/21.43, allocations: 0 / 5.555 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01672/21.45, allocations: 3.238 MB / 5.558 GB, free: 8.188 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.03274/21.48, allocations: 10.56 MB / 5.568 GB, free: 20.83 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01725/21.5, allocations: 4.825 MB / 5.573 GB, free: 20.52 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/21.5, allocations: 4.281 kB / 5.573 GB, free: 20.52 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/21.51, allocations: 1.339 MB / 5.574 GB, free: 20.52 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01176/21.52, allocations: 1.253 MB / 5.575 GB, free: 20.46 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/21.54, allocations: 5.261 MB / 5.58 GB, free: 19.1 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/21.54, allocations: 1.719 MB / 5.582 GB, free: 18.36 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01078/21.55, allocations: 1.431 MB / 5.584 GB, free: 18.29 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003194/21.55, allocations: 0.9542 MB / 5.584 GB, free: 18.28 MB / 0.6043 GB Notification: Performance of SimCode: time 1.522e-06/21.55, allocations: 0 / 5.584 GB, free: 18.28 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.926/22.48, allocations: 146.4 MB / 5.727 GB, free: 54.61 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/22.48, allocations: 250 kB / 5.728 GB, free: 54.27 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.754/32.23, allocations: 0 / 5.728 GB, free: 54.27 MB / 0.6199 GB