Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.047/2.047, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.413e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.442/2.551, allocations: 0.8078 GB / 1.122 GB, free: 10.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.551, allocations: 92.25 kB / 1.122 GB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077/6.628, allocations: 0.732 GB / 1.854 GB, free: 61.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/6.628, allocations: 0 / 1.854 GB, free: 61.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.411e-05/6.628, allocations: 22.62 kB / 1.854 GB, free: 61.81 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.005303/6.634, allocations: 1.385 MB / 1.856 GB, free: 61.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/6.634, allocations: 9.344 kB / 1.856 GB, free: 61.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003051/6.634, allocations: 123.7 kB / 1.856 GB, free: 61.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/6.636, allocations: 282.4 kB / 1.856 GB, free: 61.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/6.639, allocations: 0.688 MB / 1.857 GB, free: 60.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/6.639, allocations: 117.5 kB / 1.857 GB, free: 60.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/6.639, allocations: 66.81 kB / 1.857 GB, free: 60.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/6.642, allocations: 1.215 MB / 1.858 GB, free: 60.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/6.642, allocations: 6.156 kB / 1.858 GB, free: 60.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/6.643, allocations: 36.02 kB / 1.858 GB, free: 60.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/6.643, allocations: 73.05 kB / 1.858 GB, free: 60.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/6.645, allocations: 1.004 MB / 1.859 GB, free: 60.54 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.00952/6.655, allocations: 4.474 MB / 1.863 GB, free: 58.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/6.656, allocations: 244.6 kB / 1.864 GB, free: 58.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/6.656, allocations: 143.2 kB / 1.864 GB, free: 58.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/6.656, allocations: 13.98 kB / 1.864 GB, free: 58.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/6.656, allocations: 37.67 kB / 1.864 GB, free: 58.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 4.699e-06/6.656, allocations: 0 / 1.864 GB, free: 58.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.009026/6.665, allocations: 1.572 MB / 1.865 GB, free: 57.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/6.665, allocations: 131.9 kB / 1.866 GB, free: 57.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/6.667, allocations: 0.8089 MB / 1.866 GB, free: 57.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/6.667, allocations: 33.7 kB / 1.866 GB, free: 57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/6.667, allocations: 0.579 MB / 1.867 GB, free: 56.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/6.667, allocations: 128.5 kB / 1.867 GB, free: 56.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/6.668, allocations: 23.72 kB / 1.867 GB, free: 56.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/6.668, allocations: 402 kB / 1.867 GB, free: 56.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/6.668, allocations: 265 kB / 1.868 GB, free: 56.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/6.669, allocations: 0.9039 MB / 1.869 GB, free: 55.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/6.67, allocations: 476 kB / 1.869 GB, free: 55.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/6.67, allocations: 7.859 kB / 1.869 GB, free: 55.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002808/6.673, allocations: 1.254 MB / 1.87 GB, free: 55.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/6.673, allocations: 16.22 kB / 1.87 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/6.673, allocations: 25.91 kB / 1.87 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/6.675, allocations: 267.7 kB / 1.871 GB, free: 55.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/6.676, allocations: 223.5 kB / 1.871 GB, free: 55.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/6.678, allocations: 0.8861 MB / 1.872 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/6.679, allocations: 63.69 kB / 1.872 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/6.679, allocations: 77.38 kB / 1.872 GB, free: 54.68 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.0002413/6.679, allocations: 190.8 kB / 1.872 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/6.68, allocations: 87.88 kB / 1.872 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/6.681, allocations: 467.5 kB / 1.872 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/6.681, allocations: 3.719 kB / 1.872 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/6.681, allocations: 3.844 kB / 1.872 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/6.681, allocations: 0 / 1.872 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/6.683, allocations: 1.089 MB / 1.874 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/6.683, allocations: 0 / 1.874 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/6.685, allocations: 179.4 kB / 1.874 GB, free: 54.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/6.685, allocations: 23.97 kB / 1.874 GB, free: 54.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/6.685, allocations: 7.875 kB / 1.874 GB, free: 54.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/6.687, allocations: 2.671 MB / 1.876 GB, free: 51.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.687, allocations: 0 / 1.876 GB, free: 51.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/6.688, allocations: 0.6718 MB / 1.877 GB, free: 51.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/6.689, allocations: 202.4 kB / 1.877 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/6.689, allocations: 2.938 kB / 1.877 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/6.69, allocations: 37.52 kB / 1.877 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/6.69, allocations: 25.39 kB / 1.877 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/6.69, allocations: 18.11 kB / 1.877 GB, free: 51.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0011/6.691, allocations: 0.588 MB / 1.878 GB, free: 51 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/6.691, allocations: 2.953 kB / 1.878 GB, free: 51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002516/6.694, allocations: 0.5244 MB / 1.878 GB, free: 50.95 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.005794/6.7, allocations: 2.59 MB / 1.881 GB, free: 49.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/6.702, allocations: 0.6667 MB / 1.882 GB, free: 49.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/6.702, allocations: 3.469 kB / 1.882 GB, free: 49.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/6.703, allocations: 340 kB / 1.882 GB, free: 49.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/6.706, allocations: 380.6 kB / 1.882 GB, free: 49.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/6.711, allocations: 1.511 MB / 1.884 GB, free: 49.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/6.711, allocations: 1.053 MB / 1.885 GB, free: 48.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001796/6.713, allocations: 323.7 kB / 1.885 GB, free: 48.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/6.714, allocations: 317.7 kB / 1.885 GB, free: 48.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/6.714, allocations: 0 / 1.885 GB, free: 48.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/6.818, allocations: 46.35 MB / 1.931 GB, free: 16.19 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/6.818, allocations: 283.6 kB / 1.931 GB, free: 15.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.536/11.35, allocations: 0 / 1.931 GB, free: 15.85 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat