Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.986/1.986, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.946e-05, allocations: 5.391 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.522/2.627, allocations: 0.8078 GB / 1.122 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/2.628, allocations: 88.08 kB / 1.122 GB, free: 10.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.22/6.848, allocations: 0.732 GB / 1.854 GB, free: 61.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.324e-06/6.848, allocations: 0 / 1.854 GB, free: 61.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.041e-05/6.848, allocations: 26.19 kB / 1.854 GB, free: 61.66 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005505/6.854, allocations: 1.38 MB / 1.856 GB, free: 61.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/6.854, allocations: 8.812 kB / 1.856 GB, free: 61.01 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003495/6.854, allocations: 126.2 kB / 1.856 GB, free: 60.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/6.856, allocations: 279.3 kB / 1.856 GB, free: 60.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/6.859, allocations: 0.6883 MB / 1.857 GB, free: 60.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/6.859, allocations: 114.8 kB / 1.857 GB, free: 60.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/6.859, allocations: 67.94 kB / 1.857 GB, free: 60.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/6.862, allocations: 1.216 MB / 1.858 GB, free: 60.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/6.862, allocations: 3.438 kB / 1.858 GB, free: 60.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/6.863, allocations: 33.47 kB / 1.858 GB, free: 60.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/6.863, allocations: 67.88 kB / 1.858 GB, free: 60.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/6.865, allocations: 1.006 MB / 1.859 GB, free: 60.39 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008791/6.874, allocations: 4.478 MB / 1.863 GB, free: 57.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/6.875, allocations: 252.5 kB / 1.864 GB, free: 57.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/6.875, allocations: 136.8 kB / 1.864 GB, free: 57.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/6.875, allocations: 15.02 kB / 1.864 GB, free: 57.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/6.875, allocations: 41.17 kB / 1.864 GB, free: 57.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/6.875, allocations: 2.75 kB / 1.864 GB, free: 57.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.00939/6.885, allocations: 1.558 MB / 1.865 GB, free: 57.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/6.885, allocations: 134.5 kB / 1.866 GB, free: 57.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/6.887, allocations: 0.8049 MB / 1.866 GB, free: 56.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/6.887, allocations: 32.14 kB / 1.866 GB, free: 56.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/6.887, allocations: 0.5998 MB / 1.867 GB, free: 56.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/6.887, allocations: 132.2 kB / 1.867 GB, free: 56.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/6.887, allocations: 19.81 kB / 1.867 GB, free: 56.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/6.888, allocations: 367.5 kB / 1.867 GB, free: 56.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/6.888, allocations: 261.7 kB / 1.868 GB, free: 56.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/6.889, allocations: 0.9074 MB / 1.869 GB, free: 55.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/6.89, allocations: 475.3 kB / 1.869 GB, free: 55.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/6.891, allocations: 7.938 kB / 1.869 GB, free: 55.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003079/6.894, allocations: 1.208 MB / 1.87 GB, free: 55.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/6.894, allocations: 11.56 kB / 1.87 GB, free: 55.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/6.894, allocations: 22.94 kB / 1.87 GB, free: 55.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/6.896, allocations: 276.9 kB / 1.87 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/6.897, allocations: 225.1 kB / 1.871 GB, free: 55.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/6.899, allocations: 0.8866 MB / 1.872 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/6.901, allocations: 58.73 kB / 1.872 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/6.901, allocations: 75.84 kB / 1.872 GB, free: 54.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003203/6.901, allocations: 191 kB / 1.872 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/6.901, allocations: 89.86 kB / 1.872 GB, free: 54.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/6.903, allocations: 459.3 kB / 1.872 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/6.903, allocations: 3 kB / 1.872 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/6.903, allocations: 3.844 kB / 1.872 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/6.903, allocations: 0 / 1.872 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/6.905, allocations: 1.092 MB / 1.873 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/6.905, allocations: 0 / 1.873 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/6.907, allocations: 180.7 kB / 1.874 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/6.908, allocations: 30.17 kB / 1.874 GB, free: 53.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/6.908, allocations: 7.25 kB / 1.874 GB, free: 53.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/6.91, allocations: 2.672 MB / 1.876 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/6.91, allocations: 5.625 kB / 1.876 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/6.912, allocations: 0.6626 MB / 1.877 GB, free: 51.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006967/6.912, allocations: 202.3 kB / 1.877 GB, free: 50.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/6.913, allocations: 12.84 kB / 1.877 GB, free: 50.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/6.914, allocations: 24.02 kB / 1.877 GB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/6.914, allocations: 26.88 kB / 1.877 GB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/6.914, allocations: 22.98 kB / 1.877 GB, free: 50.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001239/6.915, allocations: 0.5874 MB / 1.878 GB, free: 50.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/6.915, allocations: 0 / 1.878 GB, free: 50.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002979/6.918, allocations: 0.5285 MB / 1.878 GB, free: 50.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006595/6.925, allocations: 2.593 MB / 1.881 GB, free: 49.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002663/6.927, allocations: 0.6727 MB / 1.881 GB, free: 49.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/6.927, allocations: 3.375 kB / 1.881 GB, free: 49.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/6.929, allocations: 332.9 kB / 1.882 GB, free: 49.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/6.932, allocations: 380.4 kB / 1.882 GB, free: 49.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/6.938, allocations: 1.573 MB / 1.884 GB, free: 49.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/6.939, allocations: 1.042 MB / 1.885 GB, free: 48.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/6.939, allocations: 331.4 kB / 1.885 GB, free: 48.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/6.939, allocations: 0 / 1.885 GB, free: 48.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.738/10.68, allocations: 31.6 MB / 1.916 GB, free: 31.32 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat