Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.152e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.56/11.69, allocations: 3.653 GB / 3.967 GB, free: 33.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/11.69, allocations: 83.95 kB / 3.967 GB, free: 33.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.891/14.59, allocations: 470.1 MB / 4.426 GB, free: 55.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/14.59, allocations: 0 / 4.426 GB, free: 55.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001015/14.59, allocations: 29.3 kB / 4.426 GB, free: 55.45 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008691/14.59, allocations: 1.95 MB / 4.428 GB, free: 54.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/14.59, allocations: 10.84 kB / 4.428 GB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004099/14.6, allocations: 130.1 kB / 4.428 GB, free: 54.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/14.6, allocations: 119.7 kB / 4.429 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/14.6, allocations: 0.7718 MB / 4.429 GB, free: 53.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/14.6, allocations: 61.5 kB / 4.429 GB, free: 53.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/14.6, allocations: 66.8 kB / 4.429 GB, free: 53.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/14.6, allocations: 1.211 MB / 4.431 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/14.6, allocations: 0 / 4.431 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/14.6, allocations: 37.92 kB / 4.431 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/14.6, allocations: 75.06 kB / 4.431 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/14.61, allocations: 1.324 MB / 4.432 GB, free: 53.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/14.62, allocations: 4.453 MB / 4.436 GB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/14.62, allocations: 0.606 MB / 4.437 GB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/14.62, allocations: 280.4 kB / 4.437 GB, free: 51.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/14.62, allocations: 0.7843 MB / 4.438 GB, free: 50.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/14.62, allocations: 42.34 kB / 4.438 GB, free: 50.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.787e-06/14.62, allocations: 0 / 4.438 GB, free: 50.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.002002/14.62, allocations: 0.6411 MB / 4.439 GB, free: 50.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/14.62, allocations: 110.6 kB / 4.439 GB, free: 50.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/14.63, allocations: 0.6489 MB / 4.439 GB, free: 49.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/14.63, allocations: 33.67 kB / 4.439 GB, free: 49.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/14.63, allocations: 0.4934 MB / 4.44 GB, free: 49.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/14.63, allocations: 197.7 kB / 4.44 GB, free: 49.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/14.63, allocations: 15.94 kB / 4.44 GB, free: 49.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/14.63, allocations: 345.2 kB / 4.44 GB, free: 48.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/14.63, allocations: 320.8 kB / 4.441 GB, free: 48.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009692/14.63, allocations: 0.5582 MB / 4.441 GB, free: 48.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/14.63, allocations: 422 kB / 4.442 GB, free: 48.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/14.63, allocations: 0 / 4.442 GB, free: 48.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002619/14.63, allocations: 0.9933 MB / 4.443 GB, free: 47.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006856/14.63, allocations: 2.874 MB / 4.445 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/14.63, allocations: 9.125 kB / 4.445 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.57e-05/14.63, allocations: 11.03 kB / 4.445 GB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/14.63, allocations: 236.1 kB / 4.446 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/14.63, allocations: 13.88 kB / 4.446 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/14.64, allocations: 130.6 kB / 4.446 GB, free: 44.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/14.64, allocations: 72.38 kB / 4.446 GB, free: 44.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/14.64, allocations: 7.062 kB / 4.446 GB, free: 44.71 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00239/14.64, allocations: 0.8994 MB / 4.447 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/14.64, allocations: 6.875 kB / 4.447 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/14.64, allocations: 14.84 kB / 4.447 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/14.64, allocations: 231.1 kB / 4.447 GB, free: 44.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/14.64, allocations: 17.44 kB / 4.447 GB, free: 44.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/14.64, allocations: 104.7 kB / 4.447 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/14.64, allocations: 63.7 kB / 4.447 GB, free: 44.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003547/14.64, allocations: 149.7 kB / 4.447 GB, free: 44.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/14.64, allocations: 79.22 kB / 4.447 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/14.65, allocations: 1.02 MB / 4.448 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/14.65, allocations: 11.89 kB / 4.448 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/14.65, allocations: 3.828 kB / 4.448 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/14.65, allocations: 3.703 kB / 4.448 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/14.65, allocations: 1.653 MB / 4.45 GB, free: 42.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/14.65, allocations: 0 / 4.45 GB, free: 42.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/14.65, allocations: 133.1 kB / 4.45 GB, free: 42.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/14.65, allocations: 8 kB / 4.45 GB, free: 42.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/14.65, allocations: 27.06 kB / 4.45 GB, free: 42.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/14.65, allocations: 4 kB / 4.45 GB, free: 42.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/14.65, allocations: 4 kB / 4.45 GB, free: 42.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/14.65, allocations: 0.9262 MB / 4.451 GB, free: 41.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/14.65, allocations: 171.1 kB / 4.451 GB, free: 40.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/14.65, allocations: 23.3 kB / 4.451 GB, free: 40.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/14.65, allocations: 39.12 kB / 4.451 GB, free: 40.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/14.65, allocations: 55.98 kB / 4.451 GB, free: 40.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/14.65, allocations: 43.47 kB / 4.451 GB, free: 40.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009489/14.66, allocations: 0.5022 MB / 4.452 GB, free: 40.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/14.66, allocations: 3.938 kB / 4.452 GB, free: 40.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005537/14.66, allocations: 1.334 MB / 4.453 GB, free: 39.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008956/14.67, allocations: 3.88 MB / 4.457 GB, free: 35.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003347/14.67, allocations: 1.234 MB / 4.458 GB, free: 34.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/14.67, allocations: 0 / 4.458 GB, free: 34.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/14.67, allocations: 337.1 kB / 4.459 GB, free: 34.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/14.68, allocations: 338.4 kB / 4.459 GB, free: 34.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/14.68, allocations: 2.041 MB / 4.461 GB, free: 32.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/14.68, allocations: 1.069 MB / 4.462 GB, free: 31.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/14.69, allocations: 385 kB / 4.462 GB, free: 30.93 MB / 442.7 MB Notification: Performance of SimCode: time 2.334e-06/14.69, allocations: 0 / 4.462 GB, free: 30.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.482/18.17, allocations: 33.44 MB / 4.495 GB, free: 14.17 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat