Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.461e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.2/10.33, allocations: 3.456 GB / 3.857 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/10.33, allocations: 84.61 kB / 3.857 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.876/20.21, allocations: 1.584 GB / 5.44 GB, free: 29.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/20.21, allocations: 1 kB / 5.44 GB, free: 29.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003685/20.21, allocations: 84.3 kB / 5.44 GB, free: 29.4 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.03913/20.25, allocations: 8.392 MB / 5.449 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/20.25, allocations: 10.5 kB / 5.449 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002029/20.25, allocations: 421.9 kB / 5.449 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/20.25, allocations: 402.3 kB / 5.449 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008642/20.26, allocations: 2.089 MB / 5.451 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006808/20.26, allocations: 0.4996 MB / 5.452 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/20.26, allocations: 283.4 kB / 5.452 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/20.28, allocations: 4.754 MB / 5.457 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/20.28, allocations: 9.688 kB / 5.457 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007346/20.28, allocations: 129.2 kB / 5.457 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005415/20.28, allocations: 261.7 kB / 5.457 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/20.3, allocations: 4.752 MB / 5.462 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05267/20.35, allocations: 20.88 MB / 5.482 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/20.36, allocations: 2.504 MB / 5.485 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004355/20.36, allocations: 1.533 MB / 5.486 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004232/20.37, allocations: 3.315 MB / 5.489 GB, free: 25.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.702e-05/20.37, allocations: 68.25 kB / 5.489 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 6.171e-06/20.37, allocations: 0 / 5.489 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.09762/20.46, allocations: 14.12 MB / 5.503 GB, free: 24.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/20.46, allocations: 237.9 kB / 5.504 GB, free: 24.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006191/20.47, allocations: 2.172 MB / 5.506 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001111/20.47, allocations: 84.17 kB / 5.506 GB, free: 24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/20.47, allocations: 1.465 MB / 5.507 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/20.48, allocations: 0.9505 MB / 5.508 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/20.48, allocations: 80.41 kB / 5.508 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000469/20.48, allocations: 471.1 kB / 5.509 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006011/20.48, allocations: 1.814 MB / 5.51 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007052/20.49, allocations: 2.993 MB / 5.513 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00702/20.5, allocations: 2.376 MB / 5.516 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.9e-05/20.5, allocations: 10.53 kB / 5.516 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02599/20.52, allocations: 5.566 MB / 5.521 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00806/20.53, allocations: 15.24 MB / 5.536 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/20.53, allocations: 37.81 kB / 5.536 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006953/20.54, allocations: 0.7181 MB / 5.537 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/20.55, allocations: 0.8954 MB / 5.538 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/20.55, allocations: 2.451 MB / 5.54 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/20.57, allocations: 387.2 kB / 5.54 GB, free: 19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/20.57, allocations: 241.6 kB / 5.541 GB, free: 19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/20.57, allocations: 4 kB / 5.541 GB, free: 19 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02063/20.59, allocations: 5.201 MB / 5.546 GB, free: 18.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/20.59, allocations: 38.41 kB / 5.546 GB, free: 18.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007511/20.6, allocations: 0.7254 MB / 5.546 GB, free: 18.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00991/20.61, allocations: 0.8945 MB / 5.547 GB, free: 18.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/20.61, allocations: 2.449 MB / 5.55 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007405/20.62, allocations: 376.9 kB / 5.55 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/20.62, allocations: 240.5 kB / 5.55 GB, free: 17.16 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.001766/20.62, allocations: 362.3 kB / 5.551 GB, free: 16.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/20.62, allocations: 304.6 kB / 5.551 GB, free: 16.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/20.64, allocations: 5.884 MB / 5.557 GB, free: 16.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/20.64, allocations: 32.88 kB / 5.557 GB, free: 16.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/20.64, allocations: 2.812 kB / 5.557 GB, free: 16.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.744e-05/20.64, allocations: 16.31 kB / 5.557 GB, free: 16.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/20.66, allocations: 8.263 MB / 5.565 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/20.66, allocations: 3.281 kB / 5.565 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005346/20.67, allocations: 0.5356 MB / 5.565 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006946/20.67, allocations: 0.9054 MB / 5.566 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/20.68, allocations: 109.9 kB / 5.566 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/20.68, allocations: 2.336 MB / 5.569 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/20.68, allocations: 7.875 kB / 5.569 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/20.7, allocations: 6.555 MB / 5.575 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00394/20.7, allocations: 0.8889 MB / 5.576 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/20.7, allocations: 66.52 kB / 5.576 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006323/20.71, allocations: 283.4 kB / 5.576 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/20.71, allocations: 195.1 kB / 5.576 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006959/20.71, allocations: 151.1 kB / 5.576 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004549/20.72, allocations: 1.674 MB / 5.578 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.453e-06/20.72, allocations: 0 / 5.578 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02232/20.74, allocations: 3.942 MB / 5.582 GB, free: 9.262 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.03665/20.78, allocations: 11.9 MB / 5.594 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02184/20.8, allocations: 7.652 MB / 5.601 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/20.8, allocations: 4.688 kB / 5.601 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006188/20.8, allocations: 2.088 MB / 5.603 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01179/20.82, allocations: 1.302 MB / 5.604 GB, free: 400 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/20.85, allocations: 8.355 MB / 5.613 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003999/20.86, allocations: 2.284 MB / 5.615 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01669/20.87, allocations: 2.749 MB / 5.617 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00422/20.88, allocations: 1.352 MB / 5.619 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of SimCode: time 2.504e-06/20.88, allocations: 0 / 5.619 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9684/21.85, allocations: 173.4 MB / 5.788 GB, free: 50.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/21.85, allocations: 248.5 kB / 5.788 GB, free: 50.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/33.68, allocations: 0 / 5.788 GB, free: 50.54 MB / 0.6667 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat