Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.744e-05, allocations: 4 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4523, allocations: 54.86 MB / 359.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.25/11.7, allocations: 3.686 GB / 4.038 GB, free: 46.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/11.7, allocations: 88.73 kB / 4.038 GB, free: 46.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.472/21.18, allocations: 1.457 GB / 5.494 GB, free: 38.77 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.627e-06/21.18, allocations: 1.312 kB / 5.494 GB, free: 38.77 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003906/21.18, allocations: 64.22 kB / 5.494 GB, free: 38.77 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.04002/21.22, allocations: 7.274 MB / 5.502 GB, free: 35.53 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/21.22, allocations: 11.75 kB / 5.502 GB, free: 35.53 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001722/21.22, allocations: 282.2 kB / 5.502 GB, free: 35.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/21.22, allocations: 278.2 kB / 5.502 GB, free: 35.36 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007175/21.23, allocations: 1.62 MB / 5.504 GB, free: 34.95 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/21.23, allocations: 151.2 kB / 5.504 GB, free: 34.94 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/21.23, allocations: 186.6 kB / 5.504 GB, free: 34.94 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/21.24, allocations: 3.048 MB / 5.507 GB, free: 34.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-05/21.24, allocations: 3.531 kB / 5.507 GB, free: 34.71 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005618/21.24, allocations: 82.77 kB / 5.507 GB, free: 34.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000393/21.24, allocations: 182.4 kB / 5.507 GB, free: 34.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/21.25, allocations: 3.365 MB / 5.511 GB, free: 34.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04078/21.29, allocations: 11.99 MB / 5.522 GB, free: 30.06 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005138/21.3, allocations: 1.549 MB / 5.524 GB, free: 30.03 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/21.3, allocations: 1.002 MB / 5.525 GB, free: 30.02 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002392/21.3, allocations: 1.75 MB / 5.526 GB, free: 28.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.461e-05/21.31, allocations: 57.81 kB / 5.527 GB, free: 28.28 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004416/21.31, allocations: 319.4 kB / 5.527 GB, free: 28.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=157): time 1.78e-05/21.31, allocations: 0 / 5.527 GB, free: 28.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=169): time 0.0411/21.35, allocations: 6.966 MB / 5.534 GB, free: 27.44 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/21.35, allocations: 203.5 kB / 5.534 GB, free: 27.22 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/21.35, allocations: 1.426 MB / 5.535 GB, free: 27.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007902/21.36, allocations: 60.7 kB / 5.535 GB, free: 26.99 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/21.36, allocations: 0.971 MB / 5.536 GB, free: 26.46 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/21.36, allocations: 0.5923 MB / 5.537 GB, free: 26.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/21.36, allocations: 47.34 kB / 5.537 GB, free: 26.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001909/21.36, allocations: 401 kB / 5.537 GB, free: 25.77 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/21.36, allocations: 1.093 MB / 5.538 GB, free: 25.77 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/21.36, allocations: 1.627 MB / 5.54 GB, free: 25.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/21.37, allocations: 1.385 MB / 5.541 GB, free: 25.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/21.37, allocations: 4.312 kB / 5.541 GB, free: 25.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01526/21.38, allocations: 3.67 MB / 5.545 GB, free: 24.89 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001582/21.39, allocations: 5.807 MB / 5.551 GB, free: 18.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.857e-05/21.39, allocations: 19.59 kB / 5.551 GB, free: 18.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/21.4, allocations: 1.228 MB / 5.552 GB, free: 18.83 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005053/21.4, allocations: 0.5358 MB / 5.552 GB, free: 18.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/21.41, allocations: 2.01 MB / 5.554 GB, free: 17.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/21.41, allocations: 215.4 kB / 5.554 GB, free: 17.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/21.41, allocations: 178.6 kB / 5.555 GB, free: 17.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/21.41, allocations: 4.125 kB / 5.555 GB, free: 17.77 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01606/21.43, allocations: 3.508 MB / 5.558 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.888e-05/21.43, allocations: 15.06 kB / 5.558 GB, free: 17.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00869/21.44, allocations: 0.8745 MB / 5.559 GB, free: 17.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/21.44, allocations: 0.5454 MB / 5.559 GB, free: 17.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/21.45, allocations: 1.791 MB / 5.561 GB, free: 16.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/21.45, allocations: 196.8 kB / 5.561 GB, free: 16.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/21.45, allocations: 180.7 kB / 5.562 GB, free: 16.57 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.00108/21.45, allocations: 238.6 kB / 5.562 GB, free: 16.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/21.46, allocations: 199 kB / 5.562 GB, free: 16.35 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/21.47, allocations: 3.799 MB / 5.566 GB, free: 16.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/21.47, allocations: 18.88 kB / 5.566 GB, free: 16.12 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/21.47, allocations: 0 / 5.566 GB, free: 16.12 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/21.47, allocations: 10.92 kB / 5.566 GB, free: 16.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/21.49, allocations: 5.752 MB / 5.571 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.678e-05/21.49, allocations: 5.938 kB / 5.571 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/21.49, allocations: 337.7 kB / 5.572 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009493/21.5, allocations: 1.08 MB / 5.573 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007335/21.5, allocations: 74.72 kB / 5.573 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/21.51, allocations: 1.928 MB / 5.575 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/21.51, allocations: 8.031 kB / 5.575 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/21.52, allocations: 4.426 MB / 5.579 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/21.52, allocations: 312.2 kB / 5.579 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/21.52, allocations: 47.36 kB / 5.579 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/21.52, allocations: 149.8 kB / 5.579 GB, free: 13.49 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/21.52, allocations: 147.9 kB / 5.58 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004511/21.53, allocations: 117.1 kB / 5.58 GB, free: 13.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002691/21.53, allocations: 1.09 MB / 5.581 GB, free: 13.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.92e-07/21.53, allocations: 0 / 5.581 GB, free: 13.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01694/21.54, allocations: 3.173 MB / 5.584 GB, free: 12.77 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.02922/21.57, allocations: 10.19 MB / 5.594 GB, free: 9.422 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01575/21.59, allocations: 4.467 MB / 5.598 GB, free: 9.129 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/21.59, allocations: 6.906 kB / 5.598 GB, free: 9.129 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004434/21.59, allocations: 1.252 MB / 5.599 GB, free: 9.125 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009701/21.6, allocations: 1.027 MB / 5.6 GB, free: 9.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/21.63, allocations: 5.478 MB / 5.606 GB, free: 7.727 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/21.63, allocations: 1.719 MB / 5.607 GB, free: 6.988 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00351/21.63, allocations: 0.9994 MB / 5.608 GB, free: 6.98 MB / 0.573 GB Notification: Performance of SimCode: time 1.482e-06/21.63, allocations: 0 / 5.608 GB, free: 6.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.782/26.41, allocations: 97.52 MB / 5.704 GB, free: 4.875 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat does not exist to compare? outputFormat=mat