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.115/2.115, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.215e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 48.69 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.78/11.89, allocations: 3.653 GB / 3.967 GB, free: 33.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/11.89, allocations: 79.95 kB / 3.967 GB, free: 33.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.764/14.66, allocations: 470.2 MB / 4.426 GB, free: 55.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/14.66, allocations: 2.656 kB / 4.426 GB, free: 55.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.974e-05/14.66, allocations: 28.53 kB / 4.426 GB, free: 55.04 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.008737/14.67, allocations: 1.943 MB / 4.428 GB, free: 54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/14.67, allocations: 10.03 kB / 4.428 GB, free: 54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004709/14.67, allocations: 124.1 kB / 4.428 GB, free: 53.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/14.67, allocations: 117.3 kB / 4.429 GB, free: 53.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/14.67, allocations: 0.7761 MB / 4.429 GB, free: 53.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/14.67, allocations: 59.94 kB / 4.429 GB, free: 53.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/14.67, allocations: 69.41 kB / 4.429 GB, free: 53.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/14.67, allocations: 1.197 MB / 4.431 GB, free: 53.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/14.67, allocations: 0 / 4.431 GB, free: 53.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/14.67, allocations: 38.06 kB / 4.431 GB, free: 53.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/14.67, allocations: 72.81 kB / 4.431 GB, free: 53.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/14.68, allocations: 1.311 MB / 4.432 GB, free: 53.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/14.69, allocations: 4.462 MB / 4.436 GB, free: 51.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/14.69, allocations: 0.5974 MB / 4.437 GB, free: 51.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/14.69, allocations: 281.4 kB / 4.437 GB, free: 50.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/14.69, allocations: 0.7875 MB / 4.438 GB, free: 50.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/14.69, allocations: 45.86 kB / 4.438 GB, free: 50.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.457e-06/14.69, allocations: 3.938 kB / 4.438 GB, free: 50.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.002009/14.7, allocations: 0.6382 MB / 4.439 GB, free: 49.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/14.7, allocations: 111.2 kB / 4.439 GB, free: 49.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/14.7, allocations: 0.6463 MB / 4.439 GB, free: 49.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/14.7, allocations: 29.7 kB / 4.439 GB, free: 49.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/14.7, allocations: 0.4944 MB / 4.44 GB, free: 49.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/14.7, allocations: 199.2 kB / 4.44 GB, free: 48.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/14.7, allocations: 15.94 kB / 4.44 GB, free: 48.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/14.7, allocations: 345.2 kB / 4.44 GB, free: 48.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/14.7, allocations: 317.2 kB / 4.441 GB, free: 48.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/14.7, allocations: 0.5563 MB / 4.441 GB, free: 47.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/14.7, allocations: 417.5 kB / 4.442 GB, free: 47.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/14.7, allocations: 0 / 4.442 GB, free: 47.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003052/14.7, allocations: 0.9702 MB / 4.443 GB, free: 47.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008997/14.71, allocations: 2.88 MB / 4.445 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/14.71, allocations: 7.344 kB / 4.445 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.907e-05/14.71, allocations: 15.81 kB / 4.445 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/14.71, allocations: 228.8 kB / 4.446 GB, free: 44.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.721e-05/14.71, allocations: 21.19 kB / 4.446 GB, free: 44.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/14.71, allocations: 131.3 kB / 4.446 GB, free: 44.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/14.71, allocations: 67.38 kB / 4.446 GB, free: 44.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/14.71, allocations: 3.562 kB / 4.446 GB, free: 44.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002413/14.71, allocations: 0.892 MB / 4.447 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/14.71, allocations: 10.31 kB / 4.447 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/14.71, allocations: 10.59 kB / 4.447 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/14.71, allocations: 221.8 kB / 4.447 GB, free: 44.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/14.71, allocations: 20.97 kB / 4.447 GB, free: 44.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/14.72, allocations: 108 kB / 4.447 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/14.72, allocations: 60.59 kB / 4.447 GB, free: 43.95 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.0003515/14.72, allocations: 152.7 kB / 4.447 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/14.72, allocations: 80.31 kB / 4.447 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/14.72, allocations: 1.026 MB / 4.448 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/14.72, allocations: 5.406 kB / 4.448 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/14.72, allocations: 0 / 4.448 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/14.72, allocations: 3.891 kB / 4.448 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/14.72, allocations: 1.647 MB / 4.45 GB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/14.72, allocations: 0 / 4.45 GB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/14.72, allocations: 133.9 kB / 4.45 GB, free: 41.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/14.72, allocations: 4 kB / 4.45 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/14.72, allocations: 23.61 kB / 4.45 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/14.72, allocations: 11.62 kB / 4.45 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/14.72, allocations: 4 kB / 4.45 GB, free: 41.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/14.73, allocations: 0.9216 MB / 4.451 GB, free: 40.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/14.73, allocations: 175.8 kB / 4.451 GB, free: 40.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/14.73, allocations: 19.7 kB / 4.451 GB, free: 40.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/14.73, allocations: 46.19 kB / 4.451 GB, free: 40.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/14.73, allocations: 54.47 kB / 4.451 GB, free: 40.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/14.73, allocations: 46.39 kB / 4.451 GB, free: 40.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009634/14.73, allocations: 0.5021 MB / 4.452 GB, free: 40.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/14.73, allocations: 0 / 4.452 GB, free: 40.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006186/14.74, allocations: 1.322 MB / 4.453 GB, free: 38.83 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.009628/14.75, allocations: 3.911 MB / 4.457 GB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00338/14.75, allocations: 1.2 MB / 4.458 GB, free: 34.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/14.75, allocations: 0 / 4.458 GB, free: 34.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008072/14.75, allocations: 328.5 kB / 4.458 GB, free: 34.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/14.75, allocations: 347 kB / 4.459 GB, free: 33.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/14.76, allocations: 2.026 MB / 4.461 GB, free: 31.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/14.76, allocations: 1.074 MB / 4.462 GB, free: 31.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/14.76, allocations: 391 kB / 4.462 GB, free: 30.67 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/14.76, allocations: 0 / 4.462 GB, free: 30.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.508/18.27, allocations: 33.54 MB / 4.495 GB, free: 13.63 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