Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.328e-05, allocations: 6.25 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.5 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.358/2.465, allocations: 0.7076 GB / 1.001 GB, free: 108 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/2.465, allocations: 88.75 kB / 1.001 GB, free: 108 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.782/5.247, allocations: 0.5557 GB / 1.556 GB, free: 50.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/5.247, allocations: 0 / 1.556 GB, free: 50.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.291e-05/5.247, allocations: 12 kB / 1.556 GB, free: 50.63 MB / 410.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.003309/5.251, allocations: 0.9656 MB / 1.557 GB, free: 49.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/5.251, allocations: 18.75 kB / 1.557 GB, free: 49.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/5.251, allocations: 114.5 kB / 1.557 GB, free: 49.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/5.252, allocations: 143.1 kB / 1.558 GB, free: 49.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/5.254, allocations: 481 kB / 1.558 GB, free: 48.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/5.254, allocations: 54 kB / 1.558 GB, free: 48.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/5.254, allocations: 75.91 kB / 1.558 GB, free: 48.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/5.257, allocations: 0.8943 MB / 1.559 GB, free: 47.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/5.257, allocations: 3.984 kB / 1.559 GB, free: 47.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/5.257, allocations: 39.95 kB / 1.559 GB, free: 47.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/5.257, allocations: 23.94 kB / 1.559 GB, free: 47.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/5.26, allocations: 0.82 MB / 1.56 GB, free: 46.92 MB / 410.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.008262/5.268, allocations: 3.426 MB / 1.563 GB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/5.269, allocations: 0.6143 MB / 1.564 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/5.27, allocations: 347.3 kB / 1.564 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/5.27, allocations: 24.53 kB / 1.564 GB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/5.27, allocations: 43.12 kB / 1.564 GB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 3.577e-06/5.27, allocations: 0 / 1.564 GB, free: 42.18 MB / 410.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.02985/5.3, allocations: 4.306 MB / 1.568 GB, free: 37.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/5.3, allocations: 64.14 kB / 1.568 GB, free: 37.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/5.301, allocations: 0.4952 MB / 1.569 GB, free: 37.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000265/5.302, allocations: 45.7 kB / 1.569 GB, free: 37.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/5.302, allocations: 276.6 kB / 1.569 GB, free: 36.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/5.302, allocations: 252.3 kB / 1.57 GB, free: 36.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/5.302, allocations: 16 kB / 1.57 GB, free: 36.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/5.303, allocations: 366.8 kB / 1.57 GB, free: 36.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/5.304, allocations: 429.4 kB / 1.57 GB, free: 35.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/5.305, allocations: 0.4961 MB / 1.571 GB, free: 35.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/5.307, allocations: 497.9 kB / 1.571 GB, free: 34.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/5.307, allocations: 4 kB / 1.571 GB, free: 34.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002905/5.31, allocations: 1.31 MB / 1.573 GB, free: 33.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/5.31, allocations: 8.781 kB / 1.573 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/5.31, allocations: 0 / 1.573 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008797/5.311, allocations: 326.7 kB / 1.573 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/5.313, allocations: 179.8 kB / 1.573 GB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008076/5.321, allocations: 10.2 MB / 1.583 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/5.322, allocations: 83.91 kB / 1.583 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/5.322, allocations: 47.98 kB / 1.583 GB, free: 21.66 MB / 410.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.0003444/5.323, allocations: 136.9 kB / 1.583 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/5.323, allocations: 67.28 kB / 1.583 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/5.326, allocations: 1.27 MB / 1.585 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/5.326, allocations: 8 kB / 1.585 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/5.326, allocations: 0 / 1.585 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002205/5.328, allocations: 1.59 MB / 1.586 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/5.333, allocations: 2.255 MB / 1.588 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/5.333, allocations: 0 / 1.588 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/5.335, allocations: 227.8 kB / 1.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/5.335, allocations: 64.8 kB / 1.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/5.336, allocations: 39.97 kB / 1.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/5.337, allocations: 1.444 MB / 1.59 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/5.337, allocations: 0 / 1.59 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/5.34, allocations: 1.602 MB / 1.592 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/5.34, allocations: 152.4 kB / 1.592 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/5.341, allocations: 35.52 kB / 1.592 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/5.342, allocations: 75.78 kB / 1.592 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/5.342, allocations: 52.7 kB / 1.592 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/5.342, allocations: 63.94 kB / 1.592 GB, free: 12.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000645/5.343, allocations: 393.1 kB / 1.592 GB, free: 11.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/5.343, allocations: 0 / 1.592 GB, free: 11.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001974/5.345, allocations: 423.9 kB / 1.593 GB, free: 11.32 MB / 410.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.006684/5.352, allocations: 3.486 MB / 1.596 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003919/5.356, allocations: 1.791 MB / 1.598 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/5.356, allocations: 0 / 1.598 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/5.357, allocations: 0.6766 MB / 1.599 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/5.362, allocations: 487.4 kB / 1.599 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/5.368, allocations: 2.099 MB / 1.601 GB, free: 2.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/5.369, allocations: 0.9984 MB / 1.602 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001692/5.37, allocations: 277.2 kB / 1.602 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/5.371, allocations: 271.3 kB / 1.603 GB, free: 1.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/5.371, allocations: 0 / 1.603 GB, free: 1.121 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/5.805, allocations: 47.18 MB / 1.649 GB, free: 63.66 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/5.806, allocations: 202 kB / 1.649 GB, free: 63.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.926/10.73, allocations: 5.906 kB / 1.649 GB, free: 63.44 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat