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/2, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.778e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.19/11.31, allocations: 3.667 GB / 3.981 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/11.31, allocations: 83.95 kB / 3.982 GB, free: 11.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.913/21.23, allocations: 1.618 GB / 5.6 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/21.23, allocations: 0 / 5.6 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003778/21.23, allocations: 88.72 kB / 5.6 GB, free: 20.61 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.04275/21.27, allocations: 8.726 MB / 5.609 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/21.27, allocations: 6.719 kB / 5.609 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002141/21.27, allocations: 424.6 kB / 5.609 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/21.28, allocations: 396.5 kB / 5.609 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008836/21.28, allocations: 2.13 MB / 5.611 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006872/21.28, allocations: 0.5003 MB / 5.612 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/21.29, allocations: 282 kB / 5.612 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/21.3, allocations: 4.783 MB / 5.617 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/21.3, allocations: 13.59 kB / 5.617 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/21.3, allocations: 133 kB / 5.617 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005072/21.3, allocations: 259 kB / 5.617 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/21.32, allocations: 4.801 MB / 5.622 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05085/21.37, allocations: 19.93 MB / 5.641 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/21.38, allocations: 2.486 MB / 5.644 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004159/21.38, allocations: 1.494 MB / 5.645 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004094/21.39, allocations: 3.395 MB / 5.649 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/21.39, allocations: 66.86 kB / 5.649 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=235): time 6.903e-06/21.39, allocations: 3.562 kB / 5.649 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271): time 0.09935/21.49, allocations: 14 MB / 5.662 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/21.49, allocations: 231.8 kB / 5.663 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005128/21.49, allocations: 1.976 MB / 5.664 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/21.49, allocations: 81.7 kB / 5.665 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/21.49, allocations: 1.465 MB / 5.666 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/21.5, allocations: 0.9592 MB / 5.667 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006634/21.5, allocations: 80 kB / 5.667 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004374/21.5, allocations: 470.6 kB / 5.667 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009254/21.51, allocations: 1.957 MB / 5.669 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007922/21.51, allocations: 3 MB / 5.672 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007589/21.52, allocations: 2.336 MB / 5.675 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-05/21.52, allocations: 12 kB / 5.675 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02211/21.54, allocations: 5.51 MB / 5.68 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.5431/22.09, allocations: 16.09 MB / 5.696 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/22.09, allocations: 39.69 kB / 5.696 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005602/22.09, allocations: 0.727 MB / 5.696 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008938/22.1, allocations: 0.9335 MB / 5.697 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/22.11, allocations: 2.454 MB / 5.7 GB, free: 37.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00836/22.12, allocations: 388.4 kB / 5.7 GB, free: 37.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/22.12, allocations: 284.7 kB / 5.7 GB, free: 37.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/22.12, allocations: 5.781 kB / 5.7 GB, free: 37.89 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02275/22.14, allocations: 5.153 MB / 5.705 GB, free: 37.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/22.14, allocations: 38.91 kB / 5.705 GB, free: 37.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/22.15, allocations: 0.7428 MB / 5.706 GB, free: 37.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008399/22.15, allocations: 0.926 MB / 5.707 GB, free: 37.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/22.16, allocations: 2.455 MB / 5.709 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00757/22.17, allocations: 381 kB / 5.71 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/22.17, allocations: 284.2 kB / 5.71 GB, free: 36.08 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.002372/22.17, allocations: 368.4 kB / 5.71 GB, free: 35.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/22.17, allocations: 288.4 kB / 5.711 GB, free: 35.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02097/22.19, allocations: 5.587 MB / 5.716 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/22.19, allocations: 45.45 kB / 5.716 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/22.19, allocations: 1.625 kB / 5.716 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/22.19, allocations: 13.08 kB / 5.716 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/22.23, allocations: 9.284 MB / 5.725 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-05/22.23, allocations: 0 / 5.725 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005613/22.24, allocations: 0.5739 MB / 5.726 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007076/22.24, allocations: 0.9069 MB / 5.727 GB, free: 35.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/22.25, allocations: 128.6 kB / 5.727 GB, free: 35.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/22.25, allocations: 2.339 MB / 5.729 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/22.25, allocations: 0.9375 kB / 5.729 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/22.28, allocations: 7.428 MB / 5.736 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003657/22.28, allocations: 0.854 MB / 5.737 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/22.28, allocations: 71.48 kB / 5.737 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006274/22.29, allocations: 282.4 kB / 5.738 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/22.29, allocations: 214.2 kB / 5.738 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006898/22.29, allocations: 182.3 kB / 5.738 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003519/22.29, allocations: 1.45 MB / 5.739 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.002e-06/22.29, allocations: 0 / 5.739 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02236/22.32, allocations: 4.233 MB / 5.744 GB, free: 32.74 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.04881/22.37, allocations: 13.37 MB / 5.757 GB, free: 30.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02353/22.39, allocations: 7.607 MB / 5.764 GB, free: 30.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/22.39, allocations: 4.219 kB / 5.764 GB, free: 30.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007063/22.4, allocations: 2.15 MB / 5.766 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/22.41, allocations: 1.22 MB / 5.767 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/22.44, allocations: 8.506 MB / 5.776 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/22.45, allocations: 2.29 MB / 5.778 GB, free: 28.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01702/22.46, allocations: 2.391 MB / 5.78 GB, free: 28.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004859/22.47, allocations: 1.407 MB / 5.782 GB, free: 28.21 MB / 0.5573 GB Notification: Performance of SimCode: time 2.114e-06/22.47, allocations: 0 / 5.782 GB, free: 28.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9437/23.41, allocations: 175.4 MB / 5.953 GB, free: 74.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/23.41, allocations: 244.1 kB / 5.953 GB, free: 73.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/35, allocations: 4.078 kB / 5.953 GB, free: 73.77 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