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 2.003/2.003, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.016e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.48/11.58, allocations: 3.679 GB / 3.994 GB, free: 109.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/11.58, allocations: 83.31 kB / 3.994 GB, free: 109.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.42/20, allocations: 1.447 GB / 5.441 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.206e-06/20, allocations: 0 / 5.441 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003617/20, allocations: 70.66 kB / 5.441 GB, free: 13.21 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.03577/20.04, allocations: 7.273 MB / 5.448 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/20.04, allocations: 12.03 kB / 5.448 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/20.04, allocations: 278.5 kB / 5.448 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/20.04, allocations: 281 kB / 5.448 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/20.05, allocations: 1.624 MB / 5.45 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/20.05, allocations: 147.5 kB / 5.45 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/20.05, allocations: 184 kB / 5.45 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/20.06, allocations: 3.051 MB / 5.453 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.481e-05/20.06, allocations: 0 / 5.453 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/20.06, allocations: 87.91 kB / 5.453 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004801/20.07, allocations: 183.7 kB / 5.454 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/20.08, allocations: 3.361 MB / 5.457 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/20.12, allocations: 11.6 MB / 5.468 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5197/20.64, allocations: 1.539 MB / 5.47 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/20.64, allocations: 0.9988 MB / 5.471 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/20.65, allocations: 1.744 MB / 5.472 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/20.65, allocations: 58.12 kB / 5.472 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00382/20.65, allocations: 316.2 kB / 5.473 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 1.251e-05/20.65, allocations: 0.6562 kB / 5.473 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.04203/20.69, allocations: 6.962 MB / 5.48 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/20.69, allocations: 199.3 kB / 5.48 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/20.7, allocations: 1.431 MB / 5.481 GB, free: 29.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007696/20.7, allocations: 58.92 kB / 5.481 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/20.7, allocations: 1.016 MB / 5.482 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/20.7, allocations: 0.5899 MB / 5.483 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/20.7, allocations: 49.31 kB / 5.483 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002368/20.7, allocations: 400.4 kB / 5.483 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/20.71, allocations: 1.096 MB / 5.484 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004373/20.71, allocations: 1.619 MB / 5.486 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/20.71, allocations: 1.393 MB / 5.487 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/20.71, allocations: 2.219 kB / 5.487 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01597/20.73, allocations: 3.774 MB / 5.491 GB, free: 27.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001567/20.73, allocations: 5.932 MB / 5.497 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-05/20.73, allocations: 13.41 kB / 5.497 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/20.74, allocations: 1.216 MB / 5.498 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00496/20.75, allocations: 0.5404 MB / 5.498 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/20.75, allocations: 2.028 MB / 5.5 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/20.76, allocations: 211.2 kB / 5.501 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/20.76, allocations: 182 kB / 5.501 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/20.76, allocations: 2.594 kB / 5.501 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01626/20.78, allocations: 3.517 MB / 5.504 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.002e-05/20.78, allocations: 15.94 kB / 5.504 GB, free: 20.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008863/20.79, allocations: 0.8678 MB / 5.505 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/20.79, allocations: 0.5465 MB / 5.506 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/20.79, allocations: 1.792 MB / 5.507 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/20.8, allocations: 199 kB / 5.508 GB, free: 19.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/20.8, allocations: 173.1 kB / 5.508 GB, free: 19.49 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.001076/20.8, allocations: 236 kB / 5.508 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/20.8, allocations: 201.1 kB / 5.508 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/20.82, allocations: 3.795 MB / 5.512 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/20.82, allocations: 21.83 kB / 5.512 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/20.82, allocations: 3.344 kB / 5.512 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/20.82, allocations: 8.109 kB / 5.512 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/20.84, allocations: 5.747 MB / 5.517 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.849e-05/20.84, allocations: 6 kB / 5.517 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/20.84, allocations: 340.9 kB / 5.518 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009513/20.85, allocations: 1.077 MB / 5.519 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007504/20.85, allocations: 77.34 kB / 5.519 GB, free: 18.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/20.85, allocations: 1.94 MB / 5.521 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.371e-05/20.85, allocations: 7.094 kB / 5.521 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/20.87, allocations: 4.432 MB / 5.525 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/20.87, allocations: 306.9 kB / 5.525 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009459/20.87, allocations: 43.41 kB / 5.525 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/20.88, allocations: 159.2 kB / 5.526 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/20.88, allocations: 150.2 kB / 5.526 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003996/20.88, allocations: 121.5 kB / 5.526 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002472/20.88, allocations: 1.084 MB / 5.527 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/20.88, allocations: 0 / 5.527 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01553/20.9, allocations: 3.158 MB / 5.53 GB, free: 16.34 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.02737/20.92, allocations: 10.2 MB / 5.54 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01402/20.94, allocations: 4.534 MB / 5.544 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/20.94, allocations: 7.203 kB / 5.544 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003801/20.94, allocations: 1.25 MB / 5.546 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008988/20.95, allocations: 1.025 MB / 5.547 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/20.97, allocations: 5.38 MB / 5.552 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/20.97, allocations: 1.715 MB / 5.554 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009201/20.98, allocations: 1.364 MB / 5.555 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/20.98, allocations: 0.9173 MB / 5.556 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/20.98, allocations: 0 / 5.556 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8581/21.84, allocations: 135.7 MB / 5.688 GB, free: 59.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/21.84, allocations: 244 kB / 5.689 GB, free: 59.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/30.95, allocations: 3.938 kB / 5.689 GB, free: 59.09 MB / 0.5573 GB