Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.243e-05, allocations: 7.984 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4182, allocations: 54.85 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.414/2.832, allocations: 0.8213 GB / 1.173 GB, free: 90.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/2.833, allocations: 95.41 kB / 1.173 GB, free: 90.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.803/6.636, allocations: 0.711 GB / 1.884 GB, free: 65.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.896e-06/6.636, allocations: 2.344 kB / 1.884 GB, free: 65.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001656/6.636, allocations: 29.08 kB / 1.884 GB, free: 65.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.009417/6.646, allocations: 1.561 MB / 1.885 GB, free: 64.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/6.646, allocations: 9.344 kB / 1.885 GB, free: 64.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006865/6.647, allocations: 170.3 kB / 1.886 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/6.649, allocations: 307 kB / 1.886 GB, free: 64.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/6.653, allocations: 0.8201 MB / 1.887 GB, free: 64.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/6.653, allocations: 148.5 kB / 1.887 GB, free: 64.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005926/6.654, allocations: 113.3 kB / 1.887 GB, free: 64.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/6.659, allocations: 1.734 MB / 1.889 GB, free: 64.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-05/6.659, allocations: 11.69 kB / 1.889 GB, free: 64.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003224/6.659, allocations: 42.55 kB / 1.889 GB, free: 64.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/6.659, allocations: 80.11 kB / 1.889 GB, free: 64.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004736/6.664, allocations: 1.572 MB / 1.89 GB, free: 64.2 MB / 490.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.01535/6.679, allocations: 6.681 MB / 1.897 GB, free: 60.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/6.681, allocations: 0.6071 MB / 1.897 GB, free: 60.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/6.682, allocations: 362.2 kB / 1.898 GB, free: 60.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/6.682, allocations: 245.3 kB / 1.898 GB, free: 60.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/6.682, allocations: 45.53 kB / 1.898 GB, free: 60.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 4.248e-06/6.682, allocations: 3.719 kB / 1.898 GB, free: 60.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01577/6.698, allocations: 3.478 MB / 1.901 GB, free: 59.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/6.698, allocations: 111.1 kB / 1.901 GB, free: 59.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/6.7, allocations: 0.8655 MB / 1.902 GB, free: 59.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/6.7, allocations: 45.27 kB / 1.902 GB, free: 59.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/6.701, allocations: 0.5702 MB / 1.903 GB, free: 59.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/6.701, allocations: 247.7 kB / 1.903 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/6.701, allocations: 25.16 kB / 1.903 GB, free: 59.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/6.701, allocations: 351.4 kB / 1.904 GB, free: 58.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/6.703, allocations: 0.5193 MB / 1.904 GB, free: 58.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/6.704, allocations: 0.8955 MB / 1.905 GB, free: 58.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/6.706, allocations: 0.6491 MB / 1.906 GB, free: 58.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/6.706, allocations: 3.531 kB / 1.906 GB, free: 58.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004419/6.71, allocations: 1.799 MB / 1.907 GB, free: 58.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/6.71, allocations: 7.094 kB / 1.907 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/6.71, allocations: 13.16 kB / 1.907 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008011/6.718, allocations: 1.289 MB / 1.909 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/6.72, allocations: 187.5 kB / 1.909 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/6.723, allocations: 1.71 MB / 1.91 GB, free: 57.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/6.726, allocations: 120.6 kB / 1.911 GB, free: 57.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/6.726, allocations: 98.38 kB / 1.911 GB, free: 57.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (98): * Single equations (assignments): 97 * 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 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/6.726, allocations: 170.7 kB / 1.911 GB, free: 57.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/6.727, allocations: 104 kB / 1.911 GB, free: 57.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/6.73, allocations: 1.242 MB / 1.912 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/6.73, allocations: 7.812 kB / 1.912 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/6.73, allocations: 3.953 kB / 1.912 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/6.73, allocations: 3.844 kB / 1.912 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/6.736, allocations: 2.466 MB / 1.915 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/6.736, allocations: 0 / 1.915 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/6.74, allocations: 313.5 kB / 1.915 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/6.74, allocations: 72.44 kB / 1.915 GB, free: 56.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/6.74, allocations: 37.44 kB / 1.915 GB, free: 56.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/6.743, allocations: 2.835 MB / 1.918 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/6.743, allocations: 0 / 1.918 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/6.747, allocations: 1.669 MB / 1.919 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/6.748, allocations: 310.6 kB / 1.92 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/6.749, allocations: 28 kB / 1.92 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/6.75, allocations: 73.72 kB / 1.92 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/6.751, allocations: 54.16 kB / 1.92 GB, free: 53.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/6.751, allocations: 60.88 kB / 1.92 GB, free: 53.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001459/6.752, allocations: 0.6627 MB / 1.92 GB, free: 53.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/6.752, allocations: 0 / 1.92 GB, free: 53.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003447/6.756, allocations: 0.601 MB / 1.921 GB, free: 53.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (71): * Single equations (assignments): 69 * 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.008841/6.765, allocations: 3.694 MB / 1.925 GB, free: 52.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003931/6.769, allocations: 1.352 MB / 1.926 GB, free: 52.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/6.769, allocations: 0.75 kB / 1.926 GB, free: 52.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/6.771, allocations: 0.7552 MB / 1.927 GB, free: 52.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/6.776, allocations: 0.5914 MB / 1.927 GB, free: 52.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009251/6.786, allocations: 2.733 MB / 1.93 GB, free: 51.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/6.787, allocations: 1.195 MB / 1.931 GB, free: 51.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/6.789, allocations: 468.9 kB / 1.932 GB, free: 51.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/6.789, allocations: 0 / 1.932 GB, free: 51.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.909/10.7, allocations: 40.03 MB / 1.971 GB, free: 32.12 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat