Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.068e-05, allocations: 8 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4427, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.77/11.22, allocations: 3.621 GB / 3.994 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/11.22, allocations: 81.62 kB / 3.994 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.792/21.01, allocations: 1.635 GB / 5.629 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.688e-06/21.01, allocations: 3.938 kB / 5.629 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0003961/21.01, allocations: 87.86 kB / 5.629 GB, free: 11.69 MB / 0.6043 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.04445/21.05, allocations: 8.739 MB / 5.638 GB, free: 2.848 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/21.05, allocations: 12.03 kB / 5.638 GB, free: 2.836 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002375/21.06, allocations: 421.1 kB / 5.638 GB, free: 2.414 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/21.06, allocations: 399.8 kB / 5.639 GB, free: 2.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009651/21.07, allocations: 2.096 MB / 5.641 GB, free: 15.87 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007765/21.07, allocations: 0.4931 MB / 5.641 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/21.07, allocations: 287.8 kB / 5.642 GB, free: 15.04 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/21.09, allocations: 4.793 MB / 5.646 GB, free: 9.984 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/21.09, allocations: 15.89 kB / 5.646 GB, free: 9.969 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009485/21.09, allocations: 124 kB / 5.646 GB, free: 9.848 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005664/21.09, allocations: 261.2 kB / 5.647 GB, free: 9.59 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/21.11, allocations: 4.797 MB / 5.651 GB, free: 4.785 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6916/21.8, allocations: 20.68 MB / 5.671 GB, free: 30.2 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/21.81, allocations: 2.619 MB / 5.674 GB, free: 30.17 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/21.81, allocations: 1.555 MB / 5.676 GB, free: 30.15 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/21.82, allocations: 3.352 MB / 5.679 GB, free: 26.68 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.725e-05/21.82, allocations: 61.11 kB / 5.679 GB, free: 26.64 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=235): time 5.881e-06/21.82, allocations: 3.031 kB / 5.679 GB, free: 26.64 MB / 0.6199 GB Notification: Performance of matching and sorting (n=271): time 0.09957/21.92, allocations: 14.27 MB / 5.693 GB, free: 25.66 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/21.92, allocations: 234.9 kB / 5.693 GB, free: 25.41 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005461/21.92, allocations: 2.153 MB / 5.695 GB, free: 25.16 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/21.92, allocations: 81.48 kB / 5.695 GB, free: 25.13 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/21.92, allocations: 1.45 MB / 5.697 GB, free: 24.6 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002109/21.93, allocations: 0.957 MB / 5.698 GB, free: 24.13 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007274/21.93, allocations: 86.16 kB / 5.698 GB, free: 24.13 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0003721/21.93, allocations: 464 kB / 5.698 GB, free: 23.82 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005759/21.93, allocations: 1.823 MB / 5.7 GB, free: 23.81 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007443/21.94, allocations: 2.999 MB / 5.703 GB, free: 22.43 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007478/21.95, allocations: 2.39 MB / 5.705 GB, free: 22.25 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.128e-05/21.95, allocations: 10.94 kB / 5.705 GB, free: 22.25 MB / 0.6199 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02078/21.97, allocations: 5.643 MB / 5.711 GB, free: 21.83 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.005253/21.97, allocations: 15.23 MB / 5.726 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/21.98, allocations: 39.5 kB / 5.726 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/21.98, allocations: 0.7251 MB / 5.726 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008035/21.99, allocations: 0.914 MB / 5.727 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004192/21.99, allocations: 2.453 MB / 5.73 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008482/22, allocations: 389.3 kB / 5.73 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/22, allocations: 279.5 kB / 5.73 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/22, allocations: 2.406 kB / 5.73 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01926/22.02, allocations: 5.278 MB / 5.735 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/22.02, allocations: 36.25 kB / 5.735 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004949/22.03, allocations: 0.7317 MB / 5.736 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007817/22.04, allocations: 0.9119 MB / 5.737 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/22.04, allocations: 2.451 MB / 5.739 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007873/22.05, allocations: 381.5 kB / 5.74 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001961/22.05, allocations: 276.7 kB / 5.74 GB, free: 18.58 MB / 0.6355 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.002825/22.05, allocations: 357.9 kB / 5.74 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/22.05, allocations: 303.6 kB / 5.741 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02246/22.08, allocations: 5.735 MB / 5.746 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/22.08, allocations: 41 kB / 5.746 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/22.08, allocations: 3.953 kB / 5.746 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/22.08, allocations: 15.98 kB / 5.746 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03953/22.12, allocations: 9.498 MB / 5.756 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.044e-05/22.12, allocations: 8.812 kB / 5.756 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005647/22.12, allocations: 0.5746 MB / 5.756 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007044/22.13, allocations: 0.9118 MB / 5.757 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/22.13, allocations: 126.8 kB / 5.757 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/22.13, allocations: 2.334 MB / 5.759 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/22.13, allocations: 2.25 kB / 5.759 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02926/22.16, allocations: 7.665 MB / 5.767 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003984/22.17, allocations: 0.8929 MB / 5.768 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/22.17, allocations: 70.39 kB / 5.768 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006789/22.18, allocations: 283.2 kB / 5.768 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/22.18, allocations: 211 kB / 5.768 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001222/22.18, allocations: 186.3 kB / 5.769 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004393/22.18, allocations: 1.592 MB / 5.77 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.92e-07/22.18, allocations: 0.5 kB / 5.77 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02216/22.21, allocations: 4.276 MB / 5.774 GB, free: 14.85 MB / 0.6355 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.05071/22.26, allocations: 13.63 MB / 5.788 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02362/22.28, allocations: 7.789 MB / 5.795 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/22.28, allocations: 7.25 kB / 5.795 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006978/22.29, allocations: 2.218 MB / 5.797 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/22.3, allocations: 1.335 MB / 5.799 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03449/22.33, allocations: 8.548 MB / 5.807 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/22.34, allocations: 2.292 MB / 5.809 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01595/22.35, allocations: 2.427 MB / 5.812 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004573/22.36, allocations: 1.42 MB / 5.813 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of SimCode: time 1.853e-06/22.36, allocations: 0 / 5.813 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/23.45, allocations: 183.1 MB / 5.992 GB, free: 53.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/23.45, allocations: 244.6 kB / 5.992 GB, free: 53.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/36.19, allocations: 3.031 kB / 5.992 GB, free: 53.27 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat