Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.45e-05, allocations: 7.984 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.979/2.092, allocations: 0.7929 GB / 1.194 GB, free: 44.42 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/2.093, allocations: 91.94 kB / 1.194 GB, free: 44.33 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.448/5.54, allocations: 0.7268 GB / 1.92 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/5.54, allocations: 3.25 kB / 1.92 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.04e-05/5.54, allocations: 22.78 kB / 1.92 GB, free: 78.56 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.003983/5.544, allocations: 1.397 MB / 1.922 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/5.545, allocations: 7.5 kB / 1.922 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/5.546, allocations: 283.2 kB / 1.922 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/5.548, allocations: 0.6643 MB / 1.923 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/5.548, allocations: 124.8 kB / 1.923 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/5.548, allocations: 66.31 kB / 1.923 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/5.55, allocations: 1.215 MB / 1.924 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/5.55, allocations: 7.844 kB / 1.924 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/5.551, allocations: 34.47 kB / 1.924 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.099e-05/5.551, allocations: 59.97 kB / 1.924 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/5.553, allocations: 1.002 MB / 1.925 GB, free: 77.3 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.007186/5.56, allocations: 4.802 MB / 1.93 GB, free: 74.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/5.56, allocations: 260.6 kB / 1.93 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/5.561, allocations: 142.5 kB / 1.93 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/5.561, allocations: 270.1 kB / 1.931 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/5.561, allocations: 38.48 kB / 1.931 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.344e-06/5.561, allocations: 0 / 1.931 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.006171/5.567, allocations: 1.605 MB / 1.932 GB, free: 73.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/5.567, allocations: 147 kB / 1.932 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/5.569, allocations: 0.8143 MB / 1.933 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/5.569, allocations: 36.95 kB / 1.933 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/5.569, allocations: 0.5685 MB / 1.934 GB, free: 72.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/5.569, allocations: 130.8 kB / 1.934 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/5.569, allocations: 19.34 kB / 1.934 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001407/5.569, allocations: 398.4 kB / 1.934 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/5.57, allocations: 257.6 kB / 1.934 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/5.571, allocations: 0.8511 MB / 1.935 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/5.571, allocations: 439.1 kB / 1.936 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/5.572, allocations: 10.73 kB / 1.936 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002378/5.574, allocations: 1.15 MB / 1.937 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/5.574, allocations: 22.27 kB / 1.937 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/5.574, allocations: 20.28 kB / 1.937 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/5.575, allocations: 282.5 kB / 1.937 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/5.576, allocations: 208.2 kB / 1.937 GB, free: 71.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/5.577, allocations: 0.9088 MB / 1.938 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/5.579, allocations: 60 kB / 1.938 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/5.579, allocations: 73.23 kB / 1.938 GB, free: 70.95 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.000229/5.579, allocations: 173.5 kB / 1.939 GB, free: 70.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/5.579, allocations: 99.92 kB / 1.939 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/5.58, allocations: 0.5056 MB / 1.939 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-06/5.58, allocations: 3.844 kB / 1.939 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/5.58, allocations: 3.031 kB / 1.939 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.746e-06/5.581, allocations: 3.938 kB / 1.939 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/5.583, allocations: 1.114 MB / 1.94 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-06/5.583, allocations: 3.219 kB / 1.94 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/5.584, allocations: 188.5 kB / 1.94 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/5.584, allocations: 23.34 kB / 1.94 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/5.584, allocations: 7.844 kB / 1.94 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/5.586, allocations: 2.676 MB / 1.943 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/5.586, allocations: 5.906 kB / 1.943 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/5.587, allocations: 0.6935 MB / 1.944 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/5.588, allocations: 209.9 kB / 1.944 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/5.588, allocations: 5.594 kB / 1.944 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/5.589, allocations: 32.17 kB / 1.944 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/5.589, allocations: 23.91 kB / 1.944 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/5.589, allocations: 20.52 kB / 1.944 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001007/5.59, allocations: 0.6065 MB / 1.945 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.73e-07/5.59, allocations: 0 / 1.945 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002211/5.592, allocations: 479.2 kB / 1.945 GB, free: 67.23 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.005316/5.597, allocations: 1.292 MB / 1.946 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002466/5.6, allocations: 0.6318 MB / 1.947 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.938e-06/5.6, allocations: 5.312 kB / 1.947 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009898/5.601, allocations: 339.8 kB / 1.947 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/5.603, allocations: 405.2 kB / 1.948 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/5.605, allocations: 1.168 MB / 1.949 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/5.606, allocations: 1.046 MB / 1.95 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001515/5.608, allocations: 384 kB / 1.95 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/5.608, allocations: 76.02 kB / 1.95 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.586e-06/5.608, allocations: 0 / 1.95 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.06468/5.673, allocations: 33.87 MB / 1.983 GB, free: 49.75 MB / 0.5261 GB