Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.266e-05, allocations: 0 / 225.1 MB, free: 2.121 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2632, allocations: 38.77 MB / 263.9 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.267/2.531, allocations: 0.6954 GB / 0.9531 GB, free: 88.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/2.531, allocations: 83.17 kB / 0.9532 GB, free: 88.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026/5.557, allocations: 0.5517 GB / 1.505 GB, free: 53.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/5.557, allocations: 0 / 1.505 GB, free: 53.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.119e-05/5.557, allocations: 14.44 kB / 1.505 GB, free: 53.79 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003489/5.561, allocations: 0.9605 MB / 1.506 GB, free: 53.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/5.561, allocations: 11.84 kB / 1.506 GB, free: 53.28 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003223/5.561, allocations: 122.7 kB / 1.506 GB, free: 53.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/5.562, allocations: 141.7 kB / 1.506 GB, free: 53.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/5.564, allocations: 484 kB / 1.507 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/5.564, allocations: 57.09 kB / 1.507 GB, free: 52.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/5.564, allocations: 69.88 kB / 1.507 GB, free: 52.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/5.567, allocations: 0.9168 MB / 1.508 GB, free: 52.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/5.567, allocations: 3.688 kB / 1.508 GB, free: 52.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/5.567, allocations: 32.22 kB / 1.508 GB, free: 52.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/5.567, allocations: 16.88 kB / 1.508 GB, free: 52.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/5.57, allocations: 0.8275 MB / 1.508 GB, free: 52.93 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.008369/5.578, allocations: 3.043 MB / 1.511 GB, free: 51.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/5.58, allocations: 0.6287 MB / 1.512 GB, free: 51.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/5.58, allocations: 361 kB / 1.512 GB, free: 51.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/5.58, allocations: 15.22 kB / 1.512 GB, free: 51.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/5.581, allocations: 48.38 kB / 1.512 GB, free: 51.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.907e-06/5.581, allocations: 0 / 1.512 GB, free: 51.69 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02199/5.603, allocations: 4.277 MB / 1.517 GB, free: 50.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/5.603, allocations: 58.94 kB / 1.517 GB, free: 50.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/5.604, allocations: 0.4927 MB / 1.517 GB, free: 50.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002629/5.604, allocations: 44.77 kB / 1.517 GB, free: 50.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/5.604, allocations: 281.1 kB / 1.517 GB, free: 50.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/5.604, allocations: 250.4 kB / 1.518 GB, free: 50.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/5.604, allocations: 13.06 kB / 1.518 GB, free: 50.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/5.605, allocations: 370.8 kB / 1.518 GB, free: 50.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/5.606, allocations: 432.5 kB / 1.518 GB, free: 50.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/5.607, allocations: 0.4962 MB / 1.519 GB, free: 50.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/5.608, allocations: 498.8 kB / 1.519 GB, free: 50.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/5.608, allocations: 0 / 1.519 GB, free: 50.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003603/5.612, allocations: 1.353 MB / 1.521 GB, free: 49.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/5.612, allocations: 7.719 kB / 1.521 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/5.612, allocations: 0 / 1.521 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/5.613, allocations: 341 kB / 1.521 GB, free: 49.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/5.615, allocations: 179.7 kB / 1.521 GB, free: 49.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0087/5.624, allocations: 10.21 MB / 1.531 GB, free: 40.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/5.625, allocations: 75.73 kB / 1.531 GB, free: 40.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/5.625, allocations: 47 kB / 1.531 GB, free: 40.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003431/5.625, allocations: 149.7 kB / 1.531 GB, free: 40.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/5.626, allocations: 64.02 kB / 1.532 GB, free: 40.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/5.629, allocations: 1.293 MB / 1.533 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/5.629, allocations: 10.28 kB / 1.533 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/5.629, allocations: 3.75 kB / 1.533 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002604/5.632, allocations: 1.592 MB / 1.534 GB, free: 39.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/5.637, allocations: 2.249 MB / 1.537 GB, free: 39.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/5.638, allocations: 3.719 kB / 1.537 GB, free: 39.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/5.64, allocations: 226.8 kB / 1.537 GB, free: 39.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/5.64, allocations: 68.55 kB / 1.537 GB, free: 39.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/5.64, allocations: 40.45 kB / 1.537 GB, free: 39.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/5.642, allocations: 1.442 MB / 1.538 GB, free: 37.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.642, allocations: 3.219 kB / 1.538 GB, free: 37.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/5.646, allocations: 1.613 MB / 1.54 GB, free: 36.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/5.646, allocations: 146.9 kB / 1.54 GB, free: 36.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/5.646, allocations: 26.75 kB / 1.54 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/5.648, allocations: 77.97 kB / 1.54 GB, free: 36.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/5.648, allocations: 55.98 kB / 1.54 GB, free: 36.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/5.648, allocations: 69.09 kB / 1.54 GB, free: 36.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007002/5.649, allocations: 404.8 kB / 1.541 GB, free: 36.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/5.649, allocations: 3.938 kB / 1.541 GB, free: 36.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002242/5.651, allocations: 416.3 kB / 1.541 GB, free: 36.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.007295/5.659, allocations: 3.469 MB / 1.544 GB, free: 34.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003675/5.663, allocations: 1.833 MB / 1.546 GB, free: 33.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/5.663, allocations: 0 / 1.546 GB, free: 33.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/5.664, allocations: 0.6804 MB / 1.547 GB, free: 33.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/5.668, allocations: 487.6 kB / 1.547 GB, free: 33.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/5.675, allocations: 2.12 MB / 1.549 GB, free: 32.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/5.676, allocations: 0.9837 MB / 1.55 GB, free: 31.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001717/5.678, allocations: 276.6 kB / 1.551 GB, free: 31.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/5.679, allocations: 276.3 kB / 1.551 GB, free: 31.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/5.679, allocations: 0 / 1.551 GB, free: 31.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/5.792, allocations: 47.12 MB / 1.597 GB, free: 5.695 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/5.792, allocations: 210.9 kB / 1.597 GB, free: 5.469 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.005/10.8, allocations: 4 kB / 1.597 GB, free: 5.465 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat