Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.993/1.993, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.486e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.53/11.64, allocations: 3.679 GB / 3.994 GB, free: 3.598 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/11.64, allocations: 83.95 kB / 3.994 GB, free: 3.516 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.148/20.79, allocations: 1.447 GB / 5.441 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.486e-06/20.79, allocations: 0 / 5.441 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003217/20.79, allocations: 64.16 kB / 5.441 GB, free: 20.91 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.03743/20.83, allocations: 7.265 MB / 5.448 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/20.83, allocations: 15.97 kB / 5.448 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/20.83, allocations: 279.7 kB / 5.448 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/20.83, allocations: 284.5 kB / 5.448 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/20.84, allocations: 1.628 MB / 5.45 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/20.84, allocations: 151.4 kB / 5.45 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/20.84, allocations: 180 kB / 5.45 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009501/20.85, allocations: 3.073 MB / 5.453 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/20.85, allocations: 0 / 5.453 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005449/20.85, allocations: 79.97 kB / 5.453 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003624/20.85, allocations: 187.7 kB / 5.454 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/20.86, allocations: 3.388 MB / 5.457 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0406/20.9, allocations: 11.6 MB / 5.468 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/20.91, allocations: 1.577 MB / 5.47 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/20.91, allocations: 0.9932 MB / 5.471 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002815/20.91, allocations: 1.746 MB / 5.472 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/20.91, allocations: 55.88 kB / 5.472 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003765/20.92, allocations: 321.9 kB / 5.473 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 1.08e-05/20.92, allocations: 0 / 5.473 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.5738/21.49, allocations: 6.971 MB / 5.48 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/21.49, allocations: 200.3 kB / 5.48 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/21.5, allocations: 1.427 MB / 5.481 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008207/21.5, allocations: 60.36 kB / 5.481 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009728/21.5, allocations: 0.9631 MB / 5.482 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/21.5, allocations: 0.5917 MB / 5.483 GB, free: 34.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/21.5, allocations: 48.34 kB / 5.483 GB, free: 34.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001865/21.5, allocations: 404.3 kB / 5.483 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/21.5, allocations: 1.093 MB / 5.484 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/21.51, allocations: 1.633 MB / 5.486 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/21.51, allocations: 1.382 MB / 5.487 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.642e-05/21.51, allocations: 7.375 kB / 5.487 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01739/21.53, allocations: 3.714 MB / 5.491 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001782/21.53, allocations: 5.808 MB / 5.496 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.994e-05/21.53, allocations: 13.88 kB / 5.496 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/21.54, allocations: 1.215 MB / 5.498 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005011/21.55, allocations: 0.5448 MB / 5.498 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/21.55, allocations: 2.025 MB / 5.5 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005282/21.56, allocations: 203.8 kB / 5.5 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/21.56, allocations: 178 kB / 5.501 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/21.56, allocations: 6.844 kB / 5.501 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01442/21.57, allocations: 3.559 MB / 5.504 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.679e-05/21.57, allocations: 13.97 kB / 5.504 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/21.58, allocations: 0.8545 MB / 5.505 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/21.59, allocations: 0.5479 MB / 5.505 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/21.59, allocations: 1.788 MB / 5.507 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/21.59, allocations: 192.6 kB / 5.507 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005169/21.59, allocations: 181.6 kB / 5.508 GB, free: 25.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.001056/21.6, allocations: 227.8 kB / 5.508 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008239/21.6, allocations: 204.9 kB / 5.508 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/21.61, allocations: 3.8 MB / 5.512 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/21.61, allocations: 23.27 kB / 5.512 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/21.61, allocations: 5 kB / 5.512 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/21.61, allocations: 8.672 kB / 5.512 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/21.63, allocations: 5.751 MB / 5.517 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/21.63, allocations: 9.609 kB / 5.517 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/21.63, allocations: 349.1 kB / 5.518 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009505/21.64, allocations: 1.073 MB / 5.519 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007754/21.64, allocations: 72.27 kB / 5.519 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/21.65, allocations: 1.942 MB / 5.521 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/21.65, allocations: 10.39 kB / 5.521 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/21.66, allocations: 4.42 MB / 5.525 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/21.66, allocations: 310 kB / 5.525 GB, free: 22.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/21.66, allocations: 43.84 kB / 5.525 GB, free: 22.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004206/21.67, allocations: 157.4 kB / 5.525 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008075/21.67, allocations: 143.9 kB / 5.526 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004583/21.67, allocations: 119.8 kB / 5.526 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002952/21.67, allocations: 1.088 MB / 5.527 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.393e-06/21.67, allocations: 0 / 5.527 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01771/21.69, allocations: 3.166 MB / 5.53 GB, free: 22.33 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.03057/21.72, allocations: 10.15 MB / 5.54 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01573/21.73, allocations: 4.54 MB / 5.544 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/21.73, allocations: 2.938 kB / 5.544 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004319/21.74, allocations: 1.267 MB / 5.545 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009206/21.75, allocations: 1.029 MB / 5.546 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/21.77, allocations: 5.51 MB / 5.552 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/21.77, allocations: 1.711 MB / 5.554 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003551/21.77, allocations: 0.9944 MB / 5.554 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/21.77, allocations: 1.344 kB / 5.554 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.752/26.53, allocations: 97.27 MB / 5.649 GB, free: 0.7695 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat