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.352/2.352, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.637e-05, allocations: 0 / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4092, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.18/11.59, allocations: 3.673 GB / 4.019 GB, free: 126.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/11.59, allocations: 85.73 kB / 4.019 GB, free: 126.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.885/21.48, allocations: 1.615 GB / 5.634 GB, free: 31.19 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.716e-06/21.48, allocations: 0 / 5.634 GB, free: 31.19 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003778/21.48, allocations: 92.14 kB / 5.634 GB, free: 31.18 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.04545/21.52, allocations: 8.735 MB / 5.643 GB, free: 26.78 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/21.52, allocations: 11.09 kB / 5.643 GB, free: 26.78 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/21.53, allocations: 400.7 kB / 5.643 GB, free: 26.6 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009124/21.54, allocations: 2.129 MB / 5.645 GB, free: 26.12 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006132/21.54, allocations: 404.6 kB / 5.646 GB, free: 25.84 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/21.54, allocations: 169.3 kB / 5.646 GB, free: 25.84 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01506/21.55, allocations: 4.373 MB / 5.65 GB, free: 25.82 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/21.57, allocations: 4.419 MB / 5.654 GB, free: 25.12 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/21.57, allocations: 14.81 kB / 5.654 GB, free: 25.12 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006288/21.57, allocations: 5.688 kB / 5.654 GB, free: 25.12 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005222/21.57, allocations: 267.9 kB / 5.655 GB, free: 25.12 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04972/21.62, allocations: 20.13 MB / 5.674 GB, free: 15.13 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006578/21.63, allocations: 2.377 MB / 5.677 GB, free: 15.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/21.63, allocations: 1.426 MB / 5.678 GB, free: 15.09 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00352/21.63, allocations: 3.344 MB / 5.681 GB, free: 11.61 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.664e-05/21.63, allocations: 66.41 kB / 5.681 GB, free: 11.57 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 5.15e-06/21.63, allocations: 0 / 5.681 GB, free: 11.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.08592/21.72, allocations: 13.77 MB / 5.695 GB, free: 10.49 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/21.72, allocations: 236.2 kB / 5.695 GB, free: 10.24 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/21.72, allocations: 1.67 MB / 5.697 GB, free: 9.977 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/21.72, allocations: 34.77 kB / 5.697 GB, free: 9.945 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/21.73, allocations: 1.476 MB / 5.698 GB, free: 9.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/21.73, allocations: 0.9148 MB / 5.699 GB, free: 8.586 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/21.73, allocations: 0 / 5.699 GB, free: 8.586 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002491/21.73, allocations: 472.9 kB / 5.699 GB, free: 8.277 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004026/21.73, allocations: 1.702 MB / 5.701 GB, free: 8.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004992/21.74, allocations: 2.933 MB / 5.704 GB, free: 6.805 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04059/21.78, allocations: 5.717 MB / 5.71 GB, free: 6.762 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.699e-05/21.78, allocations: 10.72 kB / 5.71 GB, free: 6.762 MB / 0.573 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.05012/21.83, allocations: 8.697 MB / 5.718 GB, free: 6.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.006045/21.83, allocations: 15.87 MB / 5.734 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/21.83, allocations: 39 kB / 5.734 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004668/21.84, allocations: 0.7189 MB / 5.734 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007527/21.85, allocations: 0.9368 MB / 5.735 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/21.85, allocations: 2.532 MB / 5.738 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007372/21.86, allocations: 311.4 kB / 5.738 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/21.86, allocations: 289.1 kB / 5.738 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/21.86, allocations: 3.938 kB / 5.738 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04874/21.91, allocations: 8.138 MB / 5.746 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/21.91, allocations: 42.2 kB / 5.746 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004571/21.91, allocations: 0.7191 MB / 5.747 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007533/21.92, allocations: 0.9289 MB / 5.748 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/21.92, allocations: 2.523 MB / 5.75 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00707/21.93, allocations: 301.6 kB / 5.751 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/21.93, allocations: 280.6 kB / 5.751 GB, free: 1.938 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.001767/21.93, allocations: 239.2 kB / 5.751 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02496/21.96, allocations: 4.848 MB / 5.756 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/21.96, allocations: 272.1 kB / 5.756 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/21.99, allocations: 6.263 MB / 5.762 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/21.99, allocations: 35.86 kB / 5.762 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/21.99, allocations: 0 / 5.762 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.126e-05/21.99, allocations: 12.61 kB / 5.762 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03329/22.02, allocations: 8.43 MB / 5.771 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/22.02, allocations: 0 / 5.771 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005455/22.03, allocations: 0.5514 MB / 5.771 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006787/22.03, allocations: 0.8971 MB / 5.772 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/22.04, allocations: 90.39 kB / 5.772 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/22.04, allocations: 2.414 MB / 5.774 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/22.04, allocations: 0 / 5.774 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/22.07, allocations: 7.044 MB / 5.781 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003647/22.07, allocations: 0.8283 MB / 5.782 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/22.07, allocations: 23.64 kB / 5.782 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005632/22.08, allocations: 228.7 kB / 5.782 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/22.08, allocations: 202.9 kB / 5.783 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006945/22.08, allocations: 173.4 kB / 5.783 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.5546/22.63, allocations: 1.211 MB / 5.784 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.022e-06/22.63, allocations: 0 / 5.784 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02404/22.66, allocations: 3.952 MB / 5.788 GB, free: 57.02 MB / 0.6042 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.049/22.71, allocations: 13.27 MB / 5.801 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01953/22.73, allocations: 7.345 MB / 5.808 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/22.73, allocations: 6.875 kB / 5.808 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005369/22.73, allocations: 2.044 MB / 5.81 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009727/22.74, allocations: 1.044 MB / 5.811 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/22.77, allocations: 8.154 MB / 5.819 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/22.77, allocations: 2.279 MB / 5.821 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01402/22.79, allocations: 2.25 MB / 5.823 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004155/22.79, allocations: 1.392 MB / 5.825 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.372e-06/22.79, allocations: 0 / 5.825 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.344/23.14, allocations: 144.6 MB / 5.966 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/23.14, allocations: 198.5 kB / 5.966 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.839/32.98, allocations: 8.031 kB / 5.966 GB, free: 18.12 MB / 0.6042 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