Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.844e-05, allocations: 4 kB / 225.1 MB, free: 2.73 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.095/2.418, allocations: 0.6962 GB / 0.9539 GB, free: 88.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/2.419, allocations: 95.09 kB / 0.954 GB, free: 88.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.859/5.277, allocations: 0.5698 GB / 1.524 GB, free: 53.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/5.277, allocations: 3.906 kB / 1.524 GB, free: 53.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/5.277, allocations: 12.66 kB / 1.524 GB, free: 53.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002135/5.279, allocations: 0.7794 MB / 1.525 GB, free: 52.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/5.279, allocations: 9.719 kB / 1.525 GB, free: 52.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/5.28, allocations: 75.48 kB / 1.525 GB, free: 52.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009238/5.281, allocations: 116.2 kB / 1.525 GB, free: 52.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/5.281, allocations: 369.5 kB / 1.525 GB, free: 52.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/5.281, allocations: 28.78 kB / 1.525 GB, free: 52.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/5.281, allocations: 43.92 kB / 1.525 GB, free: 52.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/5.283, allocations: 0.5325 MB / 1.526 GB, free: 52.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/5.283, allocations: 3.703 kB / 1.526 GB, free: 52.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/5.283, allocations: 17.31 kB / 1.526 GB, free: 52.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/5.283, allocations: 9 kB / 1.526 GB, free: 52.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009622/5.284, allocations: 416.6 kB / 1.526 GB, free: 52.46 MB / 362.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.003994/5.288, allocations: 1.827 MB / 1.528 GB, free: 51.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/5.288, allocations: 155.2 kB / 1.528 GB, free: 51.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/5.289, allocations: 76.55 kB / 1.528 GB, free: 51.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/5.289, allocations: 5.344 kB / 1.528 GB, free: 51.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/5.289, allocations: 41.28 kB / 1.528 GB, free: 51.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.484e-06/5.289, allocations: 0 / 1.528 GB, free: 51.42 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.008624/5.297, allocations: 1.314 MB / 1.529 GB, free: 50.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/5.297, allocations: 62.08 kB / 1.529 GB, free: 50.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/5.298, allocations: 425.6 kB / 1.53 GB, free: 50.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/5.298, allocations: 35.39 kB / 1.53 GB, free: 50.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/5.298, allocations: 368.4 kB / 1.53 GB, free: 50.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/5.299, allocations: 84.56 kB / 1.53 GB, free: 50.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/5.299, allocations: 14.19 kB / 1.53 GB, free: 50.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/5.299, allocations: 330.8 kB / 1.531 GB, free: 50.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/5.299, allocations: 133 kB / 1.531 GB, free: 50.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/5.299, allocations: 435.8 kB / 1.531 GB, free: 49.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/5.3, allocations: 226.1 kB / 1.531 GB, free: 49.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/5.3, allocations: 0 / 1.531 GB, free: 49.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0014/5.301, allocations: 0.605 MB / 1.532 GB, free: 49.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/5.301, allocations: 13.34 kB / 1.532 GB, free: 49.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/5.301, allocations: 10.84 kB / 1.532 GB, free: 49.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/5.302, allocations: 65 kB / 1.532 GB, free: 49.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/5.303, allocations: 142.6 kB / 1.532 GB, free: 49.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/5.304, allocations: 1.842 MB / 1.534 GB, free: 47.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/5.305, allocations: 41.27 kB / 1.534 GB, free: 47.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/5.305, allocations: 42.73 kB / 1.534 GB, free: 47.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001618/5.305, allocations: 138.8 kB / 1.534 GB, free: 47.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/5.305, allocations: 45.97 kB / 1.534 GB, free: 47.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/5.306, allocations: 296.8 kB / 1.535 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/5.306, allocations: 3.906 kB / 1.535 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/5.306, allocations: 4 kB / 1.535 GB, free: 47.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005249/5.307, allocations: 0.5202 MB / 1.535 GB, free: 46.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/5.308, allocations: 0.7 MB / 1.536 GB, free: 46.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/5.308, allocations: 0 / 1.536 GB, free: 46.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/5.309, allocations: 51.23 kB / 1.536 GB, free: 46.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/5.309, allocations: 23.62 kB / 1.536 GB, free: 46.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/5.309, allocations: 9.766 kB / 1.536 GB, free: 46.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008418/5.31, allocations: 1.274 MB / 1.537 GB, free: 45.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/5.31, allocations: 3.938 kB / 1.537 GB, free: 45.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/5.311, allocations: 424.2 kB / 1.538 GB, free: 45.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/5.311, allocations: 121.1 kB / 1.538 GB, free: 45.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/5.311, allocations: 5.125 kB / 1.538 GB, free: 45.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/5.311, allocations: 20.02 kB / 1.538 GB, free: 45.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/5.311, allocations: 15.88 kB / 1.538 GB, free: 45.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/5.311, allocations: 20.62 kB / 1.538 GB, free: 45.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005463/5.312, allocations: 316.7 kB / 1.538 GB, free: 45.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/5.312, allocations: 3.969 kB / 1.538 GB, free: 45.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001551/5.314, allocations: 287.8 kB / 1.538 GB, free: 45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004135/5.318, allocations: 1.953 MB / 1.54 GB, free: 44.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001278/5.319, allocations: 458.5 kB / 1.541 GB, free: 44.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/5.319, allocations: 0 / 1.541 GB, free: 44.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/5.32, allocations: 206.5 kB / 1.541 GB, free: 43.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/5.322, allocations: 216.5 kB / 1.541 GB, free: 43.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/5.324, allocations: 0.7974 MB / 1.542 GB, free: 43.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/5.325, allocations: 0.8396 MB / 1.543 GB, free: 42.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/5.325, allocations: 152.7 kB / 1.543 GB, free: 42.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/5.325, allocations: 0 / 1.543 GB, free: 42.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.23/8.555, allocations: 18.58 MB / 1.561 GB, free: 30.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat