Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.912e-05/4.927e-05, allocations: 7.984 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.29/10.45, allocations: 3.456 GB / 3.857 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/10.45, allocations: 83.95 kB / 3.857 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.837/20.29, allocations: 1.584 GB / 5.44 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/20.29, allocations: 6.031 kB / 5.44 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003422/20.29, allocations: 83.44 kB / 5.44 GB, free: 29.45 MB / 0.6198 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.03991/20.33, allocations: 8.385 MB / 5.449 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/20.33, allocations: 12.97 kB / 5.449 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002711/20.33, allocations: 422 kB / 5.449 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/20.33, allocations: 404.1 kB / 5.449 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009618/20.34, allocations: 2.088 MB / 5.451 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008156/20.34, allocations: 0.4955 MB / 5.452 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/20.35, allocations: 285.5 kB / 5.452 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/20.37, allocations: 4.759 MB / 5.457 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/20.37, allocations: 8.562 kB / 5.457 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/20.37, allocations: 125.7 kB / 5.457 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000529/20.37, allocations: 258.5 kB / 5.457 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/20.38, allocations: 4.753 MB / 5.462 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05437/20.44, allocations: 20.88 MB / 5.482 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007889/20.45, allocations: 2.504 MB / 5.485 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004427/20.45, allocations: 1.535 MB / 5.486 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004261/20.45, allocations: 3.313 MB / 5.489 GB, free: 25.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/20.45, allocations: 64.61 kB / 5.489 GB, free: 25.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 6.362e-06/20.45, allocations: 3.375 kB / 5.489 GB, free: 25.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.0983/20.55, allocations: 14.11 MB / 5.503 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/20.55, allocations: 245.6 kB / 5.503 GB, free: 24.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00543/20.56, allocations: 2.171 MB / 5.506 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/20.56, allocations: 82.05 kB / 5.506 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/20.56, allocations: 1.465 MB / 5.507 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/20.56, allocations: 0.9502 MB / 5.508 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006018/20.56, allocations: 82.97 kB / 5.508 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003872/20.56, allocations: 461.4 kB / 5.509 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005569/20.57, allocations: 1.819 MB / 5.51 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/20.58, allocations: 2.992 MB / 5.513 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/20.58, allocations: 2.383 MB / 5.516 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-05/20.58, allocations: 10.19 kB / 5.516 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01926/20.6, allocations: 5.567 MB / 5.521 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005899/20.61, allocations: 15.23 MB / 5.536 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/20.61, allocations: 37.28 kB / 5.536 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/20.61, allocations: 0.7278 MB / 5.537 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007723/20.62, allocations: 0.8954 MB / 5.538 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/20.63, allocations: 2.452 MB / 5.54 GB, free: 19.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008083/20.63, allocations: 387.1 kB / 5.54 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/20.64, allocations: 244 kB / 5.541 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/20.64, allocations: 5.188 kB / 5.541 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01613/20.65, allocations: 5.198 MB / 5.546 GB, free: 18.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/20.65, allocations: 36.38 kB / 5.546 GB, free: 18.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004729/20.66, allocations: 0.7313 MB / 5.546 GB, free: 18.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007433/20.66, allocations: 0.8877 MB / 5.547 GB, free: 18.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/20.67, allocations: 2.456 MB / 5.55 GB, free: 17.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007605/20.68, allocations: 375.2 kB / 5.55 GB, free: 17.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/20.68, allocations: 237.8 kB / 5.55 GB, free: 17.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (481): * Single equations (assignments): 474 * 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.001789/20.68, allocations: 363.6 kB / 5.551 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/20.68, allocations: 303 kB / 5.551 GB, free: 16.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/20.7, allocations: 5.881 MB / 5.557 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/20.7, allocations: 37.55 kB / 5.557 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/20.7, allocations: 0 / 5.557 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.119e-05/20.7, allocations: 12.14 kB / 5.557 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/20.72, allocations: 8.264 MB / 5.565 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/20.72, allocations: 6.703 kB / 5.565 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005322/20.73, allocations: 0.5298 MB / 5.565 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006903/20.74, allocations: 0.9104 MB / 5.566 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/20.74, allocations: 110.3 kB / 5.566 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/20.74, allocations: 2.333 MB / 5.569 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/20.74, allocations: 5.344 kB / 5.569 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/20.76, allocations: 6.568 MB / 5.575 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003894/20.76, allocations: 0.8846 MB / 5.576 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/20.76, allocations: 69.64 kB / 5.576 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00624/20.77, allocations: 282.3 kB / 5.576 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009599/20.77, allocations: 208.6 kB / 5.576 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006427/20.77, allocations: 148 kB / 5.576 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004237/20.78, allocations: 1.676 MB / 5.578 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.21e-07/20.78, allocations: 0 / 5.578 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01985/20.8, allocations: 3.933 MB / 5.582 GB, free: 9.492 MB / 0.6511 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.0368/20.83, allocations: 11.89 MB / 5.594 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02123/20.85, allocations: 7.643 MB / 5.601 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/20.85, allocations: 4.781 kB / 5.601 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005937/20.86, allocations: 2.094 MB / 5.603 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/20.87, allocations: 1.311 MB / 5.604 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/20.91, allocations: 8.281 MB / 5.612 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/20.91, allocations: 2.289 MB / 5.615 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01698/20.93, allocations: 2.749 MB / 5.617 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004371/20.93, allocations: 1.358 MB / 5.619 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of SimCode: time 1.322e-06/20.93, allocations: 0 / 5.619 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.066/22, allocations: 173.4 MB / 5.788 GB, free: 50.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/22, allocations: 256.5 kB / 5.788 GB, free: 50.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/33.8, allocations: 0 / 5.788 GB, free: 50.5 MB / 0.6667 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat