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.372/2.372, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.157e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.398, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.49/10.89, allocations: 3.674 GB / 4.025 GB, free: 58.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/10.89, allocations: 88.69 kB / 4.025 GB, free: 58.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.762/20.65, allocations: 1.63 GB / 5.655 GB, free: 29.04 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.366e-06/20.65, allocations: 0 / 5.655 GB, free: 29.04 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000329/20.65, allocations: 87.25 kB / 5.655 GB, free: 29.02 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.04066/20.69, allocations: 8.739 MB / 5.664 GB, free: 22.12 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.841e-05/20.69, allocations: 12.03 kB / 5.664 GB, free: 22.11 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003236/20.7, allocations: 419.6 kB / 5.664 GB, free: 21.76 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004724/20.7, allocations: 402.7 kB / 5.665 GB, free: 21.37 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/20.71, allocations: 2.119 MB / 5.667 GB, free: 19.55 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009898/20.71, allocations: 0.5045 MB / 5.667 GB, free: 18.99 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/20.72, allocations: 287.8 kB / 5.668 GB, free: 18.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/20.74, allocations: 4.789 MB / 5.672 GB, free: 13.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/20.74, allocations: 11.94 kB / 5.672 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009931/20.74, allocations: 124 kB / 5.672 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004774/20.74, allocations: 257.2 kB / 5.673 GB, free: 13.28 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/20.75, allocations: 4.797 MB / 5.677 GB, free: 8.477 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05403/20.81, allocations: 20.57 MB / 5.697 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008003/20.81, allocations: 2.497 MB / 5.7 GB, free: 276 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5644/21.38, allocations: 1.483 MB / 5.701 GB, free: 45.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004273/21.38, allocations: 3.393 MB / 5.705 GB, free: 41.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/21.38, allocations: 65.06 kB / 5.705 GB, free: 41.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=235): time 6.081e-06/21.38, allocations: 1.156 kB / 5.705 GB, free: 41.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=271): time 0.1032/21.49, allocations: 13.97 MB / 5.718 GB, free: 40.81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/21.49, allocations: 236.6 kB / 5.719 GB, free: 40.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005367/21.49, allocations: 1.988 MB / 5.721 GB, free: 40.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/21.49, allocations: 81.45 kB / 5.721 GB, free: 40.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/21.49, allocations: 1.466 MB / 5.722 GB, free: 39.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002056/21.5, allocations: 0.9618 MB / 5.723 GB, free: 39.24 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006715/21.5, allocations: 85.17 kB / 5.723 GB, free: 39.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003396/21.5, allocations: 464.6 kB / 5.723 GB, free: 38.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/21.5, allocations: 1.756 MB / 5.725 GB, free: 38.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006798/21.51, allocations: 2.999 MB / 5.728 GB, free: 37.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007093/21.52, allocations: 2.324 MB / 5.73 GB, free: 37.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.219e-05/21.52, allocations: 12.47 kB / 5.73 GB, free: 37.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02093/21.54, allocations: 5.524 MB / 5.736 GB, free: 36.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.00405/21.54, allocations: 16.09 MB / 5.752 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/21.54, allocations: 41 kB / 5.752 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005006/21.55, allocations: 0.7294 MB / 5.752 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007909/21.56, allocations: 0.9298 MB / 5.753 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/21.56, allocations: 2.457 MB / 5.756 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008487/21.57, allocations: 392.4 kB / 5.756 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/21.57, allocations: 282 kB / 5.756 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/21.57, allocations: 3.781 kB / 5.756 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01755/21.59, allocations: 5.163 MB / 5.761 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/21.59, allocations: 37.91 kB / 5.761 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/21.59, allocations: 0.7299 MB / 5.762 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/21.6, allocations: 0.9276 MB / 5.763 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/21.6, allocations: 2.456 MB / 5.765 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007491/21.61, allocations: 382.6 kB / 5.766 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/21.61, allocations: 278.5 kB / 5.766 GB, free: 16.57 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.002185/21.62, allocations: 369.7 kB / 5.766 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/21.62, allocations: 293.1 kB / 5.767 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02003/21.64, allocations: 5.592 MB / 5.772 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.228e-05/21.64, allocations: 39.56 kB / 5.772 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/21.64, allocations: 0 / 5.772 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/21.64, allocations: 16.27 kB / 5.772 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03789/21.68, allocations: 9.296 MB / 5.781 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-05/21.68, allocations: 2.75 kB / 5.781 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005725/21.68, allocations: 0.5739 MB / 5.782 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006989/21.69, allocations: 0.908 MB / 5.783 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/21.69, allocations: 125.1 kB / 5.783 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/21.69, allocations: 2.339 MB / 5.785 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/21.69, allocations: 6.328 kB / 5.785 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02872/21.72, allocations: 7.419 MB / 5.792 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/21.73, allocations: 0.8533 MB / 5.793 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/21.73, allocations: 71.97 kB / 5.793 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005839/21.73, allocations: 288.3 kB / 5.793 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008799/21.73, allocations: 212.3 kB / 5.794 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007146/21.73, allocations: 184.8 kB / 5.794 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003459/21.74, allocations: 1.445 MB / 5.795 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.146e-06/21.74, allocations: 1.219 kB / 5.795 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0214/21.76, allocations: 4.243 MB / 5.799 GB, free: 12.86 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.0486/21.81, allocations: 13.38 MB / 5.812 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02244/21.83, allocations: 7.599 MB / 5.82 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/21.83, allocations: 6.031 kB / 5.82 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006721/21.84, allocations: 2.156 MB / 5.822 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/21.85, allocations: 1.2 MB / 5.823 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/21.88, allocations: 8.51 MB / 5.831 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/21.88, allocations: 2.298 MB / 5.834 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01588/21.9, allocations: 2.383 MB / 5.836 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004605/21.9, allocations: 1.402 MB / 5.837 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of SimCode: time 1.873e-06/21.9, allocations: 0 / 5.837 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.959/22.86, allocations: 175.4 MB / 6.009 GB, free: 70.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/22.86, allocations: 251.3 kB / 6.009 GB, free: 70.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/34.38, allocations: 0 / 6.009 GB, free: 70.28 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