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.779/1.779, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.911e-05, allocations: 0 / 225.1 MB, free: 2.227 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.15/2.412, allocations: 0.6954 GB / 0.9531 GB, free: 88.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/2.413, allocations: 87.58 kB / 0.9532 GB, free: 88.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.914/5.326, allocations: 0.5517 GB / 1.505 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/5.326, allocations: 0 / 1.505 GB, free: 53.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.483e-05/5.326, allocations: 14.19 kB / 1.505 GB, free: 53.44 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.004283/5.331, allocations: 0.9622 MB / 1.506 GB, free: 52.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/5.331, allocations: 9.5 kB / 1.506 GB, free: 52.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004395/5.331, allocations: 119.6 kB / 1.506 GB, free: 52.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/5.333, allocations: 143 kB / 1.506 GB, free: 52.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/5.335, allocations: 481.5 kB / 1.507 GB, free: 52.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/5.335, allocations: 59.22 kB / 1.507 GB, free: 52.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/5.335, allocations: 71.28 kB / 1.507 GB, free: 52.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/5.339, allocations: 0.9029 MB / 1.508 GB, free: 52.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/5.339, allocations: 3.75 kB / 1.508 GB, free: 52.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/5.34, allocations: 36.55 kB / 1.508 GB, free: 52.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/5.34, allocations: 17.69 kB / 1.508 GB, free: 52.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/5.343, allocations: 0.816 MB / 1.508 GB, free: 52.57 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.01084/5.354, allocations: 3.049 MB / 1.511 GB, free: 51.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/5.355, allocations: 0.616 MB / 1.512 GB, free: 51.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009832/5.356, allocations: 356.8 kB / 1.512 GB, free: 51.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/5.356, allocations: 19.25 kB / 1.512 GB, free: 51.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/5.357, allocations: 42.19 kB / 1.512 GB, free: 51.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.949e-06/5.357, allocations: 0 / 1.512 GB, free: 51.35 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.02987/5.386, allocations: 4.249 MB / 1.517 GB, free: 50.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/5.387, allocations: 63.08 kB / 1.517 GB, free: 50.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/5.388, allocations: 0.4915 MB / 1.517 GB, free: 50.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003249/5.388, allocations: 44.89 kB / 1.517 GB, free: 50.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/5.389, allocations: 282.6 kB / 1.517 GB, free: 50.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/5.389, allocations: 249.5 kB / 1.518 GB, free: 50.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/5.389, allocations: 17.34 kB / 1.518 GB, free: 50.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/5.389, allocations: 365.9 kB / 1.518 GB, free: 49.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/5.391, allocations: 430.9 kB / 1.518 GB, free: 49.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/5.392, allocations: 0.497 MB / 1.519 GB, free: 49.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/5.394, allocations: 498 kB / 1.519 GB, free: 49.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/5.394, allocations: 2.125 kB / 1.519 GB, free: 49.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004258/5.398, allocations: 1.303 MB / 1.521 GB, free: 49.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/5.398, allocations: 4.562 kB / 1.521 GB, free: 49.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/5.398, allocations: 9.438 kB / 1.521 GB, free: 49.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/5.399, allocations: 328.2 kB / 1.521 GB, free: 49.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/5.402, allocations: 176.1 kB / 1.521 GB, free: 49.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/5.413, allocations: 10.2 MB / 1.531 GB, free: 40.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/5.415, allocations: 79.03 kB / 1.531 GB, free: 40.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/5.416, allocations: 43.47 kB / 1.531 GB, free: 40.22 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.0004566/5.416, allocations: 143.8 kB / 1.531 GB, free: 40.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/5.416, allocations: 58.72 kB / 1.531 GB, free: 40.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/5.421, allocations: 1.269 MB / 1.533 GB, free: 39.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/5.421, allocations: 9.062 kB / 1.533 GB, free: 39.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/5.421, allocations: 3.875 kB / 1.533 GB, free: 39.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003513/5.425, allocations: 1.593 MB / 1.534 GB, free: 39.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/5.432, allocations: 2.256 MB / 1.536 GB, free: 38.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/5.432, allocations: 0 / 1.536 GB, free: 38.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003065/5.435, allocations: 227.2 kB / 1.537 GB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/5.436, allocations: 69.8 kB / 1.537 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/5.436, allocations: 37.94 kB / 1.537 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/5.438, allocations: 1.432 MB / 1.538 GB, free: 37.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/5.438, allocations: 3.938 kB / 1.538 GB, free: 37.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/5.443, allocations: 1.615 MB / 1.54 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/5.444, allocations: 156.8 kB / 1.54 GB, free: 36.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/5.444, allocations: 27.08 kB / 1.54 GB, free: 36.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/5.446, allocations: 69.36 kB / 1.54 GB, free: 36.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/5.447, allocations: 58.94 kB / 1.54 GB, free: 36.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/5.447, allocations: 63.59 kB / 1.54 GB, free: 36.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001006/5.448, allocations: 398.5 kB / 1.54 GB, free: 36.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/5.448, allocations: 0 / 1.54 GB, free: 36.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003128/5.451, allocations: 420 kB / 1.541 GB, free: 36.4 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.01007/5.461, allocations: 3.486 MB / 1.544 GB, free: 34.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00494/5.466, allocations: 1.786 MB / 1.546 GB, free: 33.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/5.466, allocations: 0 / 1.546 GB, free: 33.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/5.468, allocations: 0.6735 MB / 1.547 GB, free: 33.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/5.475, allocations: 482 kB / 1.547 GB, free: 33.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009759/5.484, allocations: 2.124 MB / 1.549 GB, free: 32.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/5.485, allocations: 0.9838 MB / 1.55 GB, free: 31.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002546/5.488, allocations: 270.8 kB / 1.55 GB, free: 31.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/5.489, allocations: 277.4 kB / 1.551 GB, free: 31.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.753e-06/5.489, allocations: 3.938 kB / 1.551 GB, free: 31.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/5.61, allocations: 47.08 MB / 1.597 GB, free: 6.168 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/5.611, allocations: 217.4 kB / 1.597 GB, free: 5.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.663/10.27, allocations: 0 / 1.597 GB, free: 5.934 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