Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.955e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.529/2.665, allocations: 0.7929 GB / 1.194 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/2.665, allocations: 91.12 kB / 1.194 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.138/6.804, allocations: 0.7268 GB / 1.921 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/6.804, allocations: 0 / 1.921 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001141/6.804, allocations: 21.12 kB / 1.921 GB, free: 81.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006236/6.81, allocations: 1.393 MB / 1.922 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/6.81, allocations: 9.5 kB / 1.922 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003296/6.811, allocations: 125.9 kB / 1.922 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/6.813, allocations: 290.1 kB / 1.922 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/6.815, allocations: 0.6612 MB / 1.923 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/6.815, allocations: 118 kB / 1.923 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/6.816, allocations: 66.33 kB / 1.923 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/6.818, allocations: 1.214 MB / 1.924 GB, free: 79.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/6.818, allocations: 2.297 kB / 1.924 GB, free: 79.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/6.819, allocations: 40.91 kB / 1.924 GB, free: 79.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/6.819, allocations: 71.56 kB / 1.924 GB, free: 79.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/6.821, allocations: 0.9995 MB / 1.925 GB, free: 79.71 MB / 0.5261 GB 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.009233/6.83, allocations: 4.798 MB / 1.93 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/6.831, allocations: 263.7 kB / 1.93 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/6.831, allocations: 150.9 kB / 1.931 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/6.832, allocations: 263.9 kB / 1.931 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/6.832, allocations: 42.12 kB / 1.931 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.166e-06/6.832, allocations: 0 / 1.931 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.009253/6.841, allocations: 1.597 MB / 1.932 GB, free: 75.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/6.841, allocations: 136.3 kB / 1.933 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/6.843, allocations: 0.8242 MB / 1.933 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/6.843, allocations: 33.52 kB / 1.933 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/6.843, allocations: 0.5669 MB / 1.934 GB, free: 74.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/6.843, allocations: 130.8 kB / 1.934 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/6.843, allocations: 19.97 kB / 1.934 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001541/6.844, allocations: 404.2 kB / 1.934 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/6.844, allocations: 258.4 kB / 1.935 GB, free: 74.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/6.845, allocations: 0.8515 MB / 1.936 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/6.846, allocations: 444.1 kB / 1.936 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/6.846, allocations: 3.438 kB / 1.936 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002665/6.849, allocations: 1.152 MB / 1.937 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/6.849, allocations: 20.16 kB / 1.937 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/6.849, allocations: 22.22 kB / 1.937 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/6.851, allocations: 291.3 kB / 1.937 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/6.852, allocations: 213.2 kB / 1.938 GB, free: 72.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/6.854, allocations: 0.9008 MB / 1.938 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/6.855, allocations: 61.61 kB / 1.939 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/6.855, allocations: 72.42 kB / 1.939 GB, free: 72.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/6.856, allocations: 182.3 kB / 1.939 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/6.856, allocations: 96.48 kB / 1.939 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/6.857, allocations: 0.5081 MB / 1.939 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/6.857, allocations: 3.812 kB / 1.939 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/6.857, allocations: 0 / 1.939 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/6.857, allocations: 3.281 kB / 1.939 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/6.86, allocations: 1.116 MB / 1.94 GB, free: 71.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/6.86, allocations: 0 / 1.94 GB, free: 71.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/6.862, allocations: 186.2 kB / 1.941 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/6.862, allocations: 27 kB / 1.941 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/6.862, allocations: 7.344 kB / 1.941 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/6.864, allocations: 2.677 MB / 1.943 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/6.864, allocations: 3.422 kB / 1.943 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/6.865, allocations: 0.7 MB / 1.944 GB, free: 68.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/6.866, allocations: 202 kB / 1.944 GB, free: 67.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/6.866, allocations: 10.98 kB / 1.944 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/6.867, allocations: 28.64 kB / 1.944 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/6.867, allocations: 21.69 kB / 1.944 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/6.867, allocations: 21.12 kB / 1.944 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001136/6.868, allocations: 0.6035 MB / 1.945 GB, free: 67.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.342e-06/6.868, allocations: 6 kB / 1.945 GB, free: 67.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002422/6.871, allocations: 478.4 kB / 1.945 GB, free: 67.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005419/6.876, allocations: 2.498 MB / 1.948 GB, free: 66.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001979/6.878, allocations: 0.6296 MB / 1.948 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/6.878, allocations: 3.094 kB / 1.948 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/6.88, allocations: 350.9 kB / 1.949 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/6.883, allocations: 401 kB / 1.949 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/6.887, allocations: 1.443 MB / 1.95 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/6.888, allocations: 1.042 MB / 1.951 GB, free: 64.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001896/6.89, allocations: 387.6 kB / 1.952 GB, free: 64.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/6.891, allocations: 325.2 kB / 1.952 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/6.891, allocations: 0 / 1.952 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/7.023, allocations: 45.62 MB / 1.997 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/7.023, allocations: 278.1 kB / 1.997 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.868/11.89, allocations: 0 / 1.997 GB, free: 22.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat