Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.995e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4087, allocations: 54.86 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/11.19, allocations: 3.674 GB / 4.025 GB, free: 60.69 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/11.19, allocations: 81.83 kB / 4.025 GB, free: 60.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.08/21.26, allocations: 1.63 GB / 5.655 GB, free: 28.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.823e-06/21.26, allocations: 0 / 5.655 GB, free: 28.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004001/21.27, allocations: 85.38 kB / 5.655 GB, free: 28.66 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: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.04459/21.31, allocations: 8.726 MB / 5.664 GB, free: 23.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/21.31, allocations: 13.94 kB / 5.664 GB, free: 23.8 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002491/21.31, allocations: 424.5 kB / 5.664 GB, free: 23.74 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/21.32, allocations: 403.8 kB / 5.665 GB, free: 23.56 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00958/21.33, allocations: 2.126 MB / 5.667 GB, free: 23.01 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007705/21.33, allocations: 0.501 MB / 5.667 GB, free: 22.71 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/21.33, allocations: 287.9 kB / 5.668 GB, free: 22.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/21.35, allocations: 4.82 MB / 5.672 GB, free: 21.89 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/21.35, allocations: 11.16 kB / 5.672 GB, free: 21.89 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/21.35, allocations: 133.4 kB / 5.672 GB, free: 21.88 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005064/21.35, allocations: 254.8 kB / 5.673 GB, free: 21.86 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/21.37, allocations: 4.86 MB / 5.677 GB, free: 19.51 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/21.42, allocations: 20.58 MB / 5.697 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00805/21.43, allocations: 2.505 MB / 5.7 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004682/21.43, allocations: 1.486 MB / 5.701 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004624/21.44, allocations: 3.392 MB / 5.705 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/21.44, allocations: 68.06 kB / 5.705 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=235): time 6.111e-06/21.44, allocations: 0 / 5.705 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of matching and sorting (n=271): time 0.6916/22.13, allocations: 13.97 MB / 5.718 GB, free: 43.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/22.13, allocations: 238 kB / 5.719 GB, free: 43.49 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006105/22.14, allocations: 1.984 MB / 5.721 GB, free: 43.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/22.14, allocations: 80.42 kB / 5.721 GB, free: 43.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/22.14, allocations: 1.47 MB / 5.722 GB, free: 42.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/22.14, allocations: 0.964 MB / 5.723 GB, free: 42.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006771/22.14, allocations: 81.53 kB / 5.723 GB, free: 42.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004155/22.14, allocations: 467.5 kB / 5.724 GB, free: 41.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006419/22.15, allocations: 1.755 MB / 5.725 GB, free: 41.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008067/22.16, allocations: 3.02 MB / 5.728 GB, free: 40.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/22.16, allocations: 2.331 MB / 5.73 GB, free: 40.22 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.092e-05/22.16, allocations: 12.34 kB / 5.731 GB, free: 40.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02126/22.19, allocations: 5.629 MB / 5.736 GB, free: 39.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.004108/22.19, allocations: 16.1 MB / 5.752 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/22.19, allocations: 40.12 kB / 5.752 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005139/22.2, allocations: 0.7406 MB / 5.752 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007927/22.2, allocations: 0.9311 MB / 5.753 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/22.21, allocations: 2.46 MB / 5.756 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008244/22.22, allocations: 385.7 kB / 5.756 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/22.22, allocations: 286.5 kB / 5.756 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/22.22, allocations: 1.969 kB / 5.756 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01675/22.23, allocations: 5.267 MB / 5.762 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/22.23, allocations: 40.03 kB / 5.762 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004831/22.24, allocations: 0.7313 MB / 5.762 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00767/22.25, allocations: 0.9269 MB / 5.763 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/22.25, allocations: 2.459 MB / 5.766 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007673/22.26, allocations: 376.3 kB / 5.766 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/22.26, allocations: 279.7 kB / 5.766 GB, free: 19.52 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.001918/22.26, allocations: 367 kB / 5.767 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/22.26, allocations: 291.8 kB / 5.767 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/22.28, allocations: 5.603 MB / 5.772 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/22.28, allocations: 38.41 kB / 5.772 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/22.28, allocations: 1.812 kB / 5.772 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001374/22.28, allocations: 14.06 kB / 5.772 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/22.32, allocations: 9.3 MB / 5.782 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.648e-05/22.32, allocations: 1.344 kB / 5.782 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005641/22.33, allocations: 0.5719 MB / 5.782 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006963/22.34, allocations: 0.9119 MB / 5.783 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00118/22.34, allocations: 126.2 kB / 5.783 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/22.34, allocations: 2.349 MB / 5.785 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/22.34, allocations: 4.688 kB / 5.785 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02916/22.37, allocations: 7.418 MB / 5.793 GB, free: 16.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003996/22.37, allocations: 0.8524 MB / 5.793 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/22.38, allocations: 77.56 kB / 5.794 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006291/22.38, allocations: 277.8 kB / 5.794 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/22.38, allocations: 218 kB / 5.794 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007363/22.38, allocations: 182.3 kB / 5.794 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003793/22.39, allocations: 1.448 MB / 5.796 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.32e-07/22.39, allocations: 1.094 kB / 5.796 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02282/22.41, allocations: 4.232 MB / 5.8 GB, free: 15.8 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 (297): * Single equations (assignments): 285 * 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.05149/22.46, allocations: 13.33 MB / 5.813 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02565/22.49, allocations: 7.738 MB / 5.82 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/22.49, allocations: 5.594 kB / 5.82 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007183/22.5, allocations: 2.174 MB / 5.822 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/22.51, allocations: 1.207 MB / 5.824 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/22.54, allocations: 8.503 MB / 5.832 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/22.54, allocations: 2.289 MB / 5.834 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01631/22.56, allocations: 2.388 MB / 5.836 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004534/22.57, allocations: 1.407 MB / 5.838 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/22.57, allocations: 0 / 5.838 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1/23.57, allocations: 175.2 MB / 6.009 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/23.57, allocations: 245.8 kB / 6.009 GB, free: 61.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/35.67, allocations: 0 / 6.009 GB, free: 61.9 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat