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.326/2.326, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.027e-05/5.039e-05, allocations: 8 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3926, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/11.05, allocations: 3.686 GB / 4.038 GB, free: 47.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/11.05, allocations: 77.89 kB / 4.038 GB, free: 47.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.377/20.43, allocations: 1.457 GB / 5.494 GB, free: 38.87 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.464e-06/20.43, allocations: 0 / 5.494 GB, free: 38.87 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003419/20.43, allocations: 62.5 kB / 5.494 GB, free: 38.87 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.03669/20.46, allocations: 7.273 MB / 5.502 GB, free: 35.62 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/20.46, allocations: 8.969 kB / 5.502 GB, free: 35.62 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001622/20.46, allocations: 279.1 kB / 5.502 GB, free: 35.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/20.47, allocations: 286.6 kB / 5.502 GB, free: 35.45 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006861/20.47, allocations: 1.621 MB / 5.504 GB, free: 35.03 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/20.47, allocations: 148.6 kB / 5.504 GB, free: 35.03 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/20.48, allocations: 184.7 kB / 5.504 GB, free: 35.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/20.49, allocations: 3.071 MB / 5.507 GB, free: 34.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.818e-05/20.49, allocations: 3.375 kB / 5.507 GB, free: 34.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005692/20.49, allocations: 86.88 kB / 5.507 GB, free: 34.79 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003744/20.49, allocations: 182.9 kB / 5.507 GB, free: 34.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/20.5, allocations: 3.386 MB / 5.511 GB, free: 34.77 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/20.54, allocations: 11.99 MB / 5.522 GB, free: 30.13 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/20.54, allocations: 1.568 MB / 5.524 GB, free: 30.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/20.54, allocations: 0.9995 MB / 5.525 GB, free: 30.08 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/20.55, allocations: 1.752 MB / 5.527 GB, free: 28.38 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/20.55, allocations: 54.88 kB / 5.527 GB, free: 28.34 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003553/20.55, allocations: 312.9 kB / 5.527 GB, free: 28.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=157): time 9.177e-06/20.55, allocations: 0 / 5.527 GB, free: 28.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=169): time 0.03914/20.59, allocations: 6.965 MB / 5.534 GB, free: 27.51 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/20.59, allocations: 202 kB / 5.534 GB, free: 27.29 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/20.59, allocations: 1.436 MB / 5.535 GB, free: 27.09 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/20.59, allocations: 57.33 kB / 5.535 GB, free: 27.06 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/20.59, allocations: 1.015 MB / 5.536 GB, free: 26.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/20.6, allocations: 0.5943 MB / 5.537 GB, free: 26.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/20.6, allocations: 44.34 kB / 5.537 GB, free: 26.22 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002208/20.6, allocations: 398.7 kB / 5.537 GB, free: 25.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/20.6, allocations: 1.091 MB / 5.538 GB, free: 25.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004566/20.61, allocations: 1.64 MB / 5.54 GB, free: 25.32 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/20.61, allocations: 1.389 MB / 5.541 GB, free: 25.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/20.61, allocations: 2.656 kB / 5.541 GB, free: 25.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01659/20.63, allocations: 3.813 MB / 5.545 GB, free: 24.97 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001675/20.63, allocations: 5.934 MB / 5.551 GB, free: 18.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.828e-05/20.63, allocations: 14.34 kB / 5.551 GB, free: 18.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/20.64, allocations: 1.218 MB / 5.552 GB, free: 18.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00504/20.65, allocations: 0.542 MB / 5.553 GB, free: 18.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/20.65, allocations: 2.005 MB / 5.555 GB, free: 17.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/20.66, allocations: 212.6 kB / 5.555 GB, free: 17.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/20.66, allocations: 180.9 kB / 5.555 GB, free: 17.85 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/20.66, allocations: 5.625 kB / 5.555 GB, free: 17.85 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0169/20.67, allocations: 3.555 MB / 5.558 GB, free: 17.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.023e-05/20.67, allocations: 22.06 kB / 5.558 GB, free: 17.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008586/20.68, allocations: 0.8741 MB / 5.559 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/20.69, allocations: 0.5483 MB / 5.56 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/20.69, allocations: 1.801 MB / 5.562 GB, free: 16.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/20.7, allocations: 204.4 kB / 5.562 GB, free: 16.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/20.7, allocations: 174.8 kB / 5.562 GB, free: 16.64 MB / 0.573 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.001208/20.7, allocations: 236.1 kB / 5.562 GB, free: 16.53 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/20.7, allocations: 200.8 kB / 5.562 GB, free: 16.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/20.71, allocations: 3.799 MB / 5.566 GB, free: 16.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/20.71, allocations: 19.22 kB / 5.566 GB, free: 16.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/20.71, allocations: 0 / 5.566 GB, free: 16.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/20.71, allocations: 10.73 kB / 5.566 GB, free: 16.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/20.74, allocations: 5.772 MB / 5.572 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/20.74, allocations: 3.812 kB / 5.572 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/20.74, allocations: 338.3 kB / 5.572 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009202/20.75, allocations: 1.078 MB / 5.573 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007192/20.75, allocations: 81.72 kB / 5.573 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/20.75, allocations: 1.934 MB / 5.575 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/20.75, allocations: 10.81 kB / 5.575 GB, free: 14.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/20.77, allocations: 4.418 MB / 5.579 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/20.77, allocations: 312.4 kB / 5.58 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/20.77, allocations: 44.59 kB / 5.58 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004187/20.77, allocations: 153.7 kB / 5.58 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/20.77, allocations: 144.9 kB / 5.58 GB, free: 13.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004511/20.77, allocations: 118.9 kB / 5.58 GB, free: 13.56 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002534/20.78, allocations: 1.086 MB / 5.581 GB, free: 13.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.62e-07/20.78, allocations: 0 / 5.581 GB, free: 13.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01613/20.79, allocations: 3.173 MB / 5.584 GB, free: 12.85 MB / 0.573 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.0299/20.82, allocations: 10.15 MB / 5.594 GB, free: 9.551 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01551/20.84, allocations: 4.605 MB / 5.599 GB, free: 9.234 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/20.84, allocations: 6.438 kB / 5.599 GB, free: 9.234 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004251/20.84, allocations: 1.265 MB / 5.6 GB, free: 9.227 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009065/20.85, allocations: 1.02 MB / 5.601 GB, free: 9.191 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/20.87, allocations: 5.395 MB / 5.606 GB, free: 7.855 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/20.87, allocations: 1.721 MB / 5.608 GB, free: 7.109 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01386/20.89, allocations: 1.364 MB / 5.609 GB, free: 7.039 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004059/20.89, allocations: 0.9172 MB / 5.61 GB, free: 7.031 MB / 0.573 GB Notification: Performance of SimCode: time 1.764e-06/20.89, allocations: 0 / 5.61 GB, free: 7.031 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9675/21.86, allocations: 135.7 MB / 5.743 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/21.86, allocations: 243.8 kB / 5.743 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.28/31.14, allocations: 0 / 5.743 GB, free: 58.95 MB / 0.6042 GB