Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.514e-05, allocations: 4 kB / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.342/2.745, allocations: 0.8221 GB / 1.174 GB, free: 90.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/2.745, allocations: 95.11 kB / 1.174 GB, free: 90.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.939/6.685, allocations: 0.7355 GB / 1.909 GB, free: 64.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.305e-06/6.685, allocations: 0 / 1.909 GB, free: 64.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.139e-05/6.685, allocations: 18.72 kB / 1.909 GB, free: 64.96 MB / 490.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.005174/6.69, allocations: 1.38 MB / 1.911 GB, free: 64.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/6.69, allocations: 11.44 kB / 1.911 GB, free: 64.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002831/6.69, allocations: 126 kB / 1.911 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/6.693, allocations: 279.5 kB / 1.911 GB, free: 64.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/6.695, allocations: 0.6876 MB / 1.912 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/6.695, allocations: 119.9 kB / 1.912 GB, free: 63.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/6.695, allocations: 65.98 kB / 1.912 GB, free: 63.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/6.698, allocations: 1.203 MB / 1.913 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/6.698, allocations: 6.062 kB / 1.913 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/6.698, allocations: 36.95 kB / 1.913 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/6.698, allocations: 65.5 kB / 1.913 GB, free: 63.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/6.701, allocations: 0.9917 MB / 1.914 GB, free: 63.64 MB / 490.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.008533/6.709, allocations: 4.805 MB / 1.919 GB, free: 60.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/6.71, allocations: 250.5 kB / 1.919 GB, free: 60.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/6.71, allocations: 140.1 kB / 1.919 GB, free: 60.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/6.71, allocations: 246.3 kB / 1.919 GB, free: 60.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/6.71, allocations: 50.66 kB / 1.919 GB, free: 60.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.815e-06/6.71, allocations: 0 / 1.919 GB, free: 60.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.009034/6.72, allocations: 1.57 MB / 1.921 GB, free: 59.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/6.72, allocations: 132 kB / 1.921 GB, free: 59.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/6.721, allocations: 0.8143 MB / 1.922 GB, free: 59.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/6.721, allocations: 29.58 kB / 1.922 GB, free: 59.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/6.722, allocations: 0.5883 MB / 1.922 GB, free: 59.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/6.722, allocations: 128.9 kB / 1.923 GB, free: 59.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/6.722, allocations: 30.06 kB / 1.923 GB, free: 59.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/6.722, allocations: 397.9 kB / 1.923 GB, free: 58.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/6.723, allocations: 272.8 kB / 1.923 GB, free: 58.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/6.724, allocations: 0.9094 MB / 1.924 GB, free: 58.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/6.725, allocations: 478.7 kB / 1.925 GB, free: 58.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/6.725, allocations: 7.375 kB / 1.925 GB, free: 58.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002931/6.728, allocations: 1.229 MB / 1.926 GB, free: 57.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/6.728, allocations: 17.59 kB / 1.926 GB, free: 57.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/6.728, allocations: 21.5 kB / 1.926 GB, free: 57.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/6.73, allocations: 265.9 kB / 1.926 GB, free: 57.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/6.731, allocations: 237.4 kB / 1.926 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/6.732, allocations: 0.8788 MB / 1.927 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/6.734, allocations: 66.86 kB / 1.927 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/6.734, allocations: 95.3 kB / 1.927 GB, free: 57.27 MB / 490.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.0002754/6.734, allocations: 185.2 kB / 1.928 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/6.735, allocations: 95.06 kB / 1.928 GB, free: 57.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/6.736, allocations: 458.9 kB / 1.928 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/6.736, allocations: 3.5 kB / 1.928 GB, free: 57.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/6.736, allocations: 7.141 kB / 1.928 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/6.736, allocations: 3.234 kB / 1.928 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/6.738, allocations: 1.077 MB / 1.929 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/6.738, allocations: 3.328 kB / 1.929 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/6.74, allocations: 179.1 kB / 1.929 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/6.74, allocations: 19.77 kB / 1.929 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/6.741, allocations: 18.5 kB / 1.929 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/6.743, allocations: 2.67 MB / 1.932 GB, free: 54.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/6.743, allocations: 0 / 1.932 GB, free: 54.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/6.744, allocations: 0.677 MB / 1.933 GB, free: 53.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/6.745, allocations: 201.8 kB / 1.933 GB, free: 53.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/6.745, allocations: 12.69 kB / 1.933 GB, free: 53.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/6.746, allocations: 27.81 kB / 1.933 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/6.746, allocations: 21.58 kB / 1.933 GB, free: 53.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/6.746, allocations: 27.7 kB / 1.933 GB, free: 53.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001166/6.747, allocations: 0.5995 MB / 1.933 GB, free: 53.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.41e-07/6.747, allocations: 3.125 kB / 1.933 GB, free: 53.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002876/6.75, allocations: 0.5142 MB / 1.934 GB, free: 53.54 MB / 490.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.005667/6.756, allocations: 2.574 MB / 1.936 GB, free: 52.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002129/6.758, allocations: 0.6534 MB / 1.937 GB, free: 52.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/6.758, allocations: 0 / 1.937 GB, free: 52.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/6.759, allocations: 342.5 kB / 1.937 GB, free: 52.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/6.763, allocations: 375.4 kB / 1.938 GB, free: 52.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/6.767, allocations: 1.471 MB / 1.939 GB, free: 51.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/6.768, allocations: 1.046 MB / 1.94 GB, free: 51.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002435/6.771, allocations: 379.4 kB / 1.941 GB, free: 51.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008591/6.772, allocations: 332.7 kB / 1.941 GB, free: 51.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/6.772, allocations: 0 / 1.941 GB, free: 51.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/6.886, allocations: 46.48 MB / 1.986 GB, free: 19.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/6.887, allocations: 271.5 kB / 1.987 GB, free: 18.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.489/11.38, allocations: 0 / 1.987 GB, free: 18.81 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat