Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.691e-05, allocations: 3.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.56/11.67, allocations: 3.667 GB / 3.981 GB, free: 12.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/11.67, allocations: 79.95 kB / 3.982 GB, free: 12.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.12/21.79, allocations: 1.618 GB / 5.6 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/21.79, allocations: 0 / 5.6 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003738/21.79, allocations: 90.09 kB / 5.6 GB, free: 20.58 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.04522/21.84, allocations: 8.725 MB / 5.609 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/21.84, allocations: 9.625 kB / 5.609 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001933/21.84, allocations: 424.9 kB / 5.609 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/21.84, allocations: 396.5 kB / 5.609 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008956/21.85, allocations: 2.129 MB / 5.611 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006196/21.85, allocations: 0.4981 MB / 5.612 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/21.85, allocations: 284.6 kB / 5.612 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/21.87, allocations: 4.784 MB / 5.617 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/21.87, allocations: 22.38 kB / 5.617 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006861/21.87, allocations: 123.2 kB / 5.617 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005045/21.87, allocations: 263.7 kB / 5.617 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/21.88, allocations: 4.794 MB / 5.622 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04894/21.93, allocations: 19.94 MB / 5.641 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/21.94, allocations: 2.495 MB / 5.644 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003687/21.94, allocations: 1.49 MB / 5.645 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003901/21.95, allocations: 3.399 MB / 5.649 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.215e-05/21.95, allocations: 62.38 kB / 5.649 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=235): time 5.821e-06/21.95, allocations: 0 / 5.649 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271): time 0.09689/22.04, allocations: 13.98 MB / 5.662 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/22.04, allocations: 239.8 kB / 5.663 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/22.05, allocations: 1.983 MB / 5.664 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/22.05, allocations: 81.7 kB / 5.665 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/22.05, allocations: 1.396 MB / 5.666 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/22.05, allocations: 0.9558 MB / 5.667 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006827/22.06, allocations: 84 kB / 5.667 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004317/22.06, allocations: 473 kB / 5.667 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006038/22.06, allocations: 1.759 MB / 5.669 GB, free: 56 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01594/22.08, allocations: 3.495 MB / 5.672 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/22.09, allocations: 2.327 MB / 5.675 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.268e-05/22.09, allocations: 11.95 kB / 5.675 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02015/22.11, allocations: 5.395 MB / 5.68 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.547/22.65, allocations: 15.52 MB / 5.695 GB, free: 41.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/22.65, allocations: 40.67 kB / 5.695 GB, free: 41.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/22.66, allocations: 0.727 MB / 5.696 GB, free: 41.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008328/22.67, allocations: 0.9331 MB / 5.697 GB, free: 41.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/22.67, allocations: 2.46 MB / 5.699 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/22.68, allocations: 382.3 kB / 5.7 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/22.68, allocations: 283.9 kB / 5.7 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/22.68, allocations: 3.5 kB / 5.7 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02092/22.7, allocations: 5.155 MB / 5.705 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/22.7, allocations: 39.84 kB / 5.705 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005232/22.71, allocations: 0.7355 MB / 5.706 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00818/22.72, allocations: 0.9237 MB / 5.707 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/22.72, allocations: 2.462 MB / 5.709 GB, free: 37.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006789/22.73, allocations: 385.6 kB / 5.709 GB, free: 37.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/22.73, allocations: 281.4 kB / 5.71 GB, free: 37.89 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.00184/22.73, allocations: 364.8 kB / 5.71 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/22.73, allocations: 293.2 kB / 5.71 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01922/22.75, allocations: 5.587 MB / 5.716 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.144e-05/22.75, allocations: 35.95 kB / 5.716 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/22.75, allocations: 3.656 kB / 5.716 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.817e-05/22.75, allocations: 18.77 kB / 5.716 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0364/22.79, allocations: 9.283 MB / 5.725 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.842e-05/22.79, allocations: 0 / 5.725 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005587/22.79, allocations: 0.5723 MB / 5.725 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006795/22.8, allocations: 0.918 MB / 5.726 GB, free: 37.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/22.8, allocations: 127.7 kB / 5.726 GB, free: 37.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/22.8, allocations: 2.335 MB / 5.729 GB, free: 35.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/22.81, allocations: 5.938 kB / 5.729 GB, free: 35.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02687/22.83, allocations: 7.42 MB / 5.736 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003471/22.84, allocations: 0.8546 MB / 5.737 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/22.84, allocations: 73.75 kB / 5.737 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005858/22.84, allocations: 276.6 kB / 5.737 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00092/22.84, allocations: 216.8 kB / 5.737 GB, free: 34.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006694/22.84, allocations: 177 kB / 5.737 GB, free: 34.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003549/22.85, allocations: 1.448 MB / 5.739 GB, free: 34.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/22.85, allocations: 1.969 kB / 5.739 GB, free: 34.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02202/22.87, allocations: 4.236 MB / 5.743 GB, free: 34.55 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.04653/22.92, allocations: 13.38 MB / 5.756 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02188/22.94, allocations: 7.537 MB / 5.763 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/22.94, allocations: 4.188 kB / 5.763 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006556/22.95, allocations: 2.155 MB / 5.766 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/22.96, allocations: 1.217 MB / 5.767 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/22.99, allocations: 8.69 MB / 5.775 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/22.99, allocations: 2.287 MB / 5.777 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005079/23, allocations: 1.512 MB / 5.779 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/23, allocations: 0 / 5.779 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.21/29.21, allocations: 145.6 MB / 5.921 GB, free: 81.64 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat