Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 209.3 MB / 221.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.991e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.16/11.27, allocations: 3.667 GB / 3.981 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/11.27, allocations: 83.95 kB / 3.982 GB, free: 13.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.944/21.22, allocations: 1.618 GB / 5.6 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/21.22, allocations: 0 / 5.6 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003522/21.22, allocations: 86.28 kB / 5.6 GB, free: 20.71 MB / 0.5261 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.04256/21.26, allocations: 8.725 MB / 5.609 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/21.26, allocations: 9.875 kB / 5.609 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002408/21.26, allocations: 422 kB / 5.609 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/21.26, allocations: 393.7 kB / 5.609 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009282/21.27, allocations: 2.134 MB / 5.611 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/21.27, allocations: 0.4992 MB / 5.612 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/21.28, allocations: 284.2 kB / 5.612 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/21.29, allocations: 4.823 MB / 5.617 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/21.29, allocations: 15.03 kB / 5.617 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/21.3, allocations: 131.3 kB / 5.617 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006281/21.3, allocations: 253.6 kB / 5.617 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/21.31, allocations: 4.858 MB / 5.622 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05394/21.37, allocations: 19.93 MB / 5.641 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/21.38, allocations: 2.514 MB / 5.644 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005953/21.38, allocations: 1.49 MB / 5.645 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004138/21.39, allocations: 3.403 MB / 5.649 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/21.39, allocations: 63.38 kB / 5.649 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=235): time 6.562e-06/21.39, allocations: 3.141 kB / 5.649 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271): time 0.09815/21.49, allocations: 13.99 MB / 5.662 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/21.49, allocations: 235.8 kB / 5.663 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/21.49, allocations: 1.987 MB / 5.665 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/21.49, allocations: 81.7 kB / 5.665 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/21.5, allocations: 1.475 MB / 5.666 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002122/21.5, allocations: 0.9586 MB / 5.667 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/21.5, allocations: 84 kB / 5.667 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004576/21.5, allocations: 468.2 kB / 5.668 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006181/21.51, allocations: 1.752 MB / 5.669 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/21.52, allocations: 3.198 MB / 5.672 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007423/21.52, allocations: 2.327 MB / 5.675 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.563e-05/21.52, allocations: 12 kB / 5.675 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02157/21.55, allocations: 5.619 MB / 5.68 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.5372/22.08, allocations: 16.1 MB / 5.696 GB, free: 40.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/22.08, allocations: 40.56 kB / 5.696 GB, free: 40.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005443/22.09, allocations: 0.7276 MB / 5.697 GB, free: 40.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008449/22.1, allocations: 0.9332 MB / 5.698 GB, free: 40.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/22.1, allocations: 2.46 MB / 5.7 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008143/22.11, allocations: 384 kB / 5.7 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/22.11, allocations: 281.6 kB / 5.701 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/22.11, allocations: 7 kB / 5.701 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02164/22.13, allocations: 5.265 MB / 5.706 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/22.13, allocations: 42 kB / 5.706 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0054/22.14, allocations: 0.7372 MB / 5.706 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008371/22.15, allocations: 0.9226 MB / 5.707 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/22.15, allocations: 2.458 MB / 5.71 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007561/22.16, allocations: 381.7 kB / 5.71 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/22.16, allocations: 277.5 kB / 5.71 GB, free: 37.36 MB / 0.5573 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.0024/22.16, allocations: 369.4 kB / 5.711 GB, free: 37.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/22.16, allocations: 298.1 kB / 5.711 GB, free: 37.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/22.19, allocations: 5.589 MB / 5.717 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.225e-05/22.19, allocations: 32.41 kB / 5.717 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/22.19, allocations: 2.812 kB / 5.717 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/22.19, allocations: 14.48 kB / 5.717 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03805/22.22, allocations: 9.29 MB / 5.726 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.053e-05/22.22, allocations: 6.641 kB / 5.726 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005575/22.23, allocations: 0.5736 MB / 5.726 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006969/22.24, allocations: 0.9084 MB / 5.727 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001126/22.24, allocations: 124.9 kB / 5.727 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/22.24, allocations: 2.34 MB / 5.729 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/22.24, allocations: 1.875 kB / 5.729 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02929/22.27, allocations: 7.429 MB / 5.737 GB, free: 34.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003746/22.27, allocations: 0.8547 MB / 5.738 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/22.28, allocations: 76.39 kB / 5.738 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/22.28, allocations: 277.9 kB / 5.738 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/22.28, allocations: 216 kB / 5.738 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008207/22.28, allocations: 181.9 kB / 5.738 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004037/22.29, allocations: 1.446 MB / 5.74 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.82e-07/22.29, allocations: 0.75 kB / 5.74 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02248/22.31, allocations: 4.234 MB / 5.744 GB, free: 34.02 MB / 0.5573 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.05102/22.36, allocations: 13.33 MB / 5.757 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02409/22.39, allocations: 7.747 MB / 5.764 GB, free: 31.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/22.39, allocations: 5.219 kB / 5.764 GB, free: 31.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006926/22.39, allocations: 2.165 MB / 5.767 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/22.4, allocations: 1.209 MB / 5.768 GB, free: 31.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/22.44, allocations: 8.527 MB / 5.776 GB, free: 30.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/22.44, allocations: 2.295 MB / 5.778 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01669/22.46, allocations: 2.384 MB / 5.781 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004688/22.46, allocations: 1.401 MB / 5.782 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of SimCode: time 1.603e-06/22.46, allocations: 0.75 kB / 5.782 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9365/23.4, allocations: 175.2 MB / 5.953 GB, free: 74.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/23.4, allocations: 247.7 kB / 5.953 GB, free: 74.24 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/34.83, allocations: 7.125 kB / 5.953 GB, free: 74.24 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat