Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.808/1.808, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.529e-05, allocations: 0 / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2733, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.333/2.606, allocations: 0.6956 GB / 0.9479 GB, free: 101.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/2.606, allocations: 88.61 kB / 0.948 GB, free: 101.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216/5.822, allocations: 0.5621 GB / 1.51 GB, free: 60.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/5.822, allocations: 0 / 1.51 GB, free: 60.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.905e-05/5.822, allocations: 15.66 kB / 1.51 GB, free: 60.21 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.003076/5.825, allocations: 0.7861 MB / 1.511 GB, free: 59.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/5.825, allocations: 7.781 kB / 1.511 GB, free: 59.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/5.827, allocations: 117.8 kB / 1.511 GB, free: 59.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/5.828, allocations: 373.7 kB / 1.511 GB, free: 59.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/5.828, allocations: 13.34 kB / 1.511 GB, free: 59.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/5.828, allocations: 25.19 kB / 1.511 GB, free: 59.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/5.83, allocations: 395.8 kB / 1.512 GB, free: 59.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/5.831, allocations: 478.5 kB / 1.512 GB, free: 59.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/5.831, allocations: 3.031 kB / 1.512 GB, free: 59.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/5.832, allocations: 3.906 kB / 1.512 GB, free: 59.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/5.832, allocations: 7.5 kB / 1.512 GB, free: 59.54 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.00541/5.837, allocations: 1.759 MB / 1.514 GB, free: 58.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/5.838, allocations: 140.8 kB / 1.514 GB, free: 58.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/5.838, allocations: 71.45 kB / 1.514 GB, free: 58.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/5.838, allocations: 3.781 kB / 1.514 GB, free: 58.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/5.838, allocations: 37 kB / 1.514 GB, free: 58.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 3.977e-06/5.838, allocations: 3.047 kB / 1.514 GB, free: 58.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.01046/5.848, allocations: 1.16 MB / 1.515 GB, free: 58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/5.849, allocations: 55.19 kB / 1.515 GB, free: 57.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/5.849, allocations: 386.6 kB / 1.516 GB, free: 57.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/5.85, allocations: 27.02 kB / 1.516 GB, free: 57.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/5.85, allocations: 323.7 kB / 1.516 GB, free: 57.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/5.85, allocations: 87.91 kB / 1.516 GB, free: 57.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/5.85, allocations: 0 / 1.516 GB, free: 57.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/5.85, allocations: 353.4 kB / 1.516 GB, free: 57.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/5.851, allocations: 113.8 kB / 1.517 GB, free: 57.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/5.851, allocations: 419.5 kB / 1.517 GB, free: 56.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/5.852, allocations: 209.7 kB / 1.517 GB, free: 56.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/5.852, allocations: 4.906 kB / 1.517 GB, free: 56.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001904/5.854, allocations: 0.5425 MB / 1.518 GB, free: 56.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/5.854, allocations: 16.64 kB / 1.518 GB, free: 56.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/5.854, allocations: 13.81 kB / 1.518 GB, free: 56.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/5.854, allocations: 53.03 kB / 1.518 GB, free: 56.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/5.856, allocations: 143.1 kB / 1.518 GB, free: 56.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/5.858, allocations: 1.788 MB / 1.52 GB, free: 55.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/5.859, allocations: 21.98 kB / 1.52 GB, free: 55.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/5.859, allocations: 38.5 kB / 1.52 GB, free: 55.08 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.0002502/5.86, allocations: 136.9 kB / 1.52 GB, free: 54.97 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008914/5.861, allocations: 232.5 kB / 1.52 GB, free: 54.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/5.861, allocations: 39.12 kB / 1.52 GB, free: 54.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/5.862, allocations: 273.9 kB / 1.52 GB, free: 54.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/5.862, allocations: 0 / 1.52 GB, free: 54.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/5.862, allocations: 6.828 kB / 1.52 GB, free: 54.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007211/5.863, allocations: 0.4974 MB / 1.521 GB, free: 54.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/5.864, allocations: 0.6396 MB / 1.521 GB, free: 54.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/5.865, allocations: 0 / 1.521 GB, free: 54.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/5.865, allocations: 55.95 kB / 1.522 GB, free: 54.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000146/5.865, allocations: 19.94 kB / 1.522 GB, free: 54.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/5.865, allocations: 3.719 kB / 1.522 GB, free: 54.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/5.867, allocations: 1.234 MB / 1.523 GB, free: 52.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/5.867, allocations: 3.188 kB / 1.523 GB, free: 52.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/5.868, allocations: 407.4 kB / 1.523 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/5.868, allocations: 116.1 kB / 1.523 GB, free: 52.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/5.868, allocations: 1.844 kB / 1.523 GB, free: 52.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/5.869, allocations: 10.47 kB / 1.523 GB, free: 52.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/5.869, allocations: 16.27 kB / 1.523 GB, free: 52.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/5.869, allocations: 30.09 kB / 1.523 GB, free: 52.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006091/5.87, allocations: 282.1 kB / 1.524 GB, free: 52.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.12e-07/5.87, allocations: 0 / 1.524 GB, free: 52.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002235/5.872, allocations: 254.3 kB / 1.524 GB, free: 52.48 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.005953/5.878, allocations: 2.087 MB / 1.526 GB, free: 51.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/5.88, allocations: 423.3 kB / 1.526 GB, free: 51.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/5.88, allocations: 2.719 kB / 1.526 GB, free: 51.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/5.88, allocations: 189.9 kB / 1.526 GB, free: 51.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/5.882, allocations: 178.6 kB / 1.527 GB, free: 51.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/5.886, allocations: 0.7246 MB / 1.527 GB, free: 51.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/5.886, allocations: 0.8333 MB / 1.528 GB, free: 50.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001215/5.888, allocations: 127.8 kB / 1.528 GB, free: 50.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/5.888, allocations: 146 kB / 1.528 GB, free: 50.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/5.888, allocations: 0 / 1.528 GB, free: 50.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08749/5.976, allocations: 20.21 MB / 1.548 GB, free: 49.73 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/5.976, allocations: 191.9 kB / 1.548 GB, free: 49.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/9.556, allocations: 7.844 kB / 1.548 GB, free: 49.54 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat