Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.025e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3661, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.52/11.89, allocations: 3.673 GB / 4.019 GB, free: 100 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/11.89, allocations: 85.14 kB / 4.019 GB, free: 99.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.15/22.04, allocations: 1.615 GB / 5.634 GB, free: 20.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.284e-06/22.04, allocations: 4 kB / 5.634 GB, free: 20.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003865/22.04, allocations: 84.11 kB / 5.634 GB, free: 20.47 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.03937/22.08, allocations: 8.732 MB / 5.643 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/22.08, allocations: 10.75 kB / 5.643 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/22.08, allocations: 398.5 kB / 5.643 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008513/22.09, allocations: 2.129 MB / 5.645 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/22.09, allocations: 411.3 kB / 5.646 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/22.09, allocations: 166.8 kB / 5.646 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01306/22.11, allocations: 4.373 MB / 5.65 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/22.12, allocations: 4.422 MB / 5.655 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/22.12, allocations: 12.67 kB / 5.655 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006581/22.12, allocations: 6.375 kB / 5.655 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005377/22.12, allocations: 259 kB / 5.655 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05067/22.17, allocations: 20.27 MB / 5.675 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007594/22.18, allocations: 2.385 MB / 5.677 GB, free: 13.38 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004271/22.18, allocations: 1.429 MB / 5.678 GB, free: 12.08 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004593/22.19, allocations: 3.34 MB / 5.682 GB, free: 8.207 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.992e-05/22.19, allocations: 64.56 kB / 5.682 GB, free: 8.137 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 5.72e-06/22.19, allocations: 0 / 5.682 GB, free: 8.137 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.1019/22.29, allocations: 13.9 MB / 5.695 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/22.29, allocations: 243.7 kB / 5.695 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/22.3, allocations: 1.674 MB / 5.697 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/22.3, allocations: 29.7 kB / 5.697 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/22.3, allocations: 1.475 MB / 5.699 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002149/22.3, allocations: 0.9124 MB / 5.699 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00089/22.3, allocations: 8 kB / 5.699 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005105/22.3, allocations: 473.2 kB / 5.7 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005964/22.31, allocations: 1.699 MB / 5.702 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007419/22.32, allocations: 2.933 MB / 5.704 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5842/22.9, allocations: 5.719 MB / 5.71 GB, free: 50.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.895e-05/22.9, allocations: 11.72 kB / 5.71 GB, free: 50.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.08442/22.99, allocations: 8.689 MB / 5.718 GB, free: 50.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.01274/23, allocations: 15.87 MB / 5.734 GB, free: 33.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/23, allocations: 37.78 kB / 5.734 GB, free: 33.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/23.01, allocations: 0.7265 MB / 5.735 GB, free: 33.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009036/23.02, allocations: 0.9323 MB / 5.736 GB, free: 33.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/23.03, allocations: 2.524 MB / 5.738 GB, free: 32.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/23.04, allocations: 303.9 kB / 5.738 GB, free: 32.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/23.04, allocations: 285.9 kB / 5.739 GB, free: 32.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/23.04, allocations: 5.844 kB / 5.739 GB, free: 32.06 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05435/23.09, allocations: 8.138 MB / 5.747 GB, free: 31.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/23.09, allocations: 39.91 kB / 5.747 GB, free: 31.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/23.1, allocations: 0.7218 MB / 5.747 GB, free: 31.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/23.11, allocations: 0.9291 MB / 5.748 GB, free: 31.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/23.11, allocations: 2.534 MB / 5.751 GB, free: 30.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/23.12, allocations: 294.2 kB / 5.751 GB, free: 30.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/23.12, allocations: 283.5 kB / 5.751 GB, free: 30.37 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (487): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001466/23.12, allocations: 244.4 kB / 5.752 GB, free: 30.26 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02528/23.14, allocations: 4.843 MB / 5.756 GB, free: 30.11 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/23.15, allocations: 275 kB / 5.757 GB, free: 30.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/23.17, allocations: 6.231 MB / 5.763 GB, free: 29.76 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/23.17, allocations: 36.59 kB / 5.763 GB, free: 29.76 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/23.17, allocations: 0 / 5.763 GB, free: 29.76 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.717e-05/23.17, allocations: 14.11 kB / 5.763 GB, free: 29.76 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03241/23.2, allocations: 8.421 MB / 5.771 GB, free: 29.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/23.2, allocations: 4.469 kB / 5.771 GB, free: 29.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005184/23.21, allocations: 0.5494 MB / 5.771 GB, free: 29.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006817/23.22, allocations: 0.8996 MB / 5.772 GB, free: 29.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006666/23.22, allocations: 85.97 kB / 5.772 GB, free: 29.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/23.22, allocations: 2.415 MB / 5.775 GB, free: 27.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/23.22, allocations: 6.188 kB / 5.775 GB, free: 27.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/23.24, allocations: 7.036 MB / 5.782 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/23.25, allocations: 0.8225 MB / 5.782 GB, free: 26.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/23.25, allocations: 22.39 kB / 5.782 GB, free: 26.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004882/23.25, allocations: 227.6 kB / 5.783 GB, free: 26.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006232/23.25, allocations: 208.6 kB / 5.783 GB, free: 26.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005647/23.25, allocations: 174.2 kB / 5.783 GB, free: 26.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002628/23.26, allocations: 1.202 MB / 5.784 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.61e-07/23.26, allocations: 0 / 5.784 GB, free: 26.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01844/23.28, allocations: 3.953 MB / 5.788 GB, free: 26.65 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0443/23.32, allocations: 13.28 MB / 5.801 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0196/23.34, allocations: 7.348 MB / 5.808 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/23.34, allocations: 4.281 kB / 5.808 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005729/23.34, allocations: 2.034 MB / 5.81 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/23.35, allocations: 1.057 MB / 5.811 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/23.38, allocations: 8.156 MB / 5.819 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/23.39, allocations: 2.285 MB / 5.821 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0149/23.4, allocations: 2.242 MB / 5.824 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00442/23.41, allocations: 1.385 MB / 5.825 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of SimCode: time 1.482e-06/23.41, allocations: 1.031 kB / 5.825 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9117/24.32, allocations: 144.7 MB / 5.966 GB, free: 81.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002032/24.32, allocations: 211.2 kB / 5.966 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.38/34.69, allocations: 6.312 kB / 5.966 GB, free: 81.29 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat