Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.404e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3545, allocations: 54.86 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.49, allocations: 0.5034 GB / 0.8548 GB, free: 41.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.49, allocations: 92.81 kB / 0.8548 GB, free: 41.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9585/2.449, allocations: 217.1 MB / 1.067 GB, free: 30.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.89e-06/2.449, allocations: 3.938 kB / 1.067 GB, free: 30.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.355e-05/2.449, allocations: 24.11 kB / 1.067 GB, free: 30.86 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002794/2.452, allocations: 1.088 MB / 1.068 GB, free: 29.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/2.452, allocations: 8.031 kB / 1.068 GB, free: 29.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/2.453, allocations: 138.9 kB / 1.068 GB, free: 29.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/2.454, allocations: 0.5443 MB / 1.069 GB, free: 29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/2.454, allocations: 108.4 kB / 1.069 GB, free: 28.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/2.454, allocations: 47.91 kB / 1.069 GB, free: 28.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/2.456, allocations: 0.7856 MB / 1.07 GB, free: 27.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/2.456, allocations: 3.938 kB / 1.07 GB, free: 27.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/2.456, allocations: 27.98 kB / 1.07 GB, free: 27.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/2.456, allocations: 40.94 kB / 1.07 GB, free: 27.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/2.457, allocations: 0.5914 MB / 1.07 GB, free: 27.3 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.004939/2.462, allocations: 3.912 MB / 1.074 GB, free: 23.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/2.463, allocations: 311.2 kB / 1.074 GB, free: 22.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/2.463, allocations: 165.3 kB / 1.074 GB, free: 22.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/2.464, allocations: 25.05 kB / 1.075 GB, free: 22.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/2.464, allocations: 42.84 kB / 1.075 GB, free: 22.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.697e-06/2.464, allocations: 0 / 1.075 GB, free: 22.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006153/2.47, allocations: 1.501 MB / 1.076 GB, free: 21.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/2.47, allocations: 136.5 kB / 1.076 GB, free: 20.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/2.471, allocations: 0.5264 MB / 1.077 GB, free: 20.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/2.471, allocations: 37.7 kB / 1.077 GB, free: 20.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/2.471, allocations: 405.2 kB / 1.077 GB, free: 19.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/2.471, allocations: 146 kB / 1.077 GB, free: 19.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/2.471, allocations: 8 kB / 1.077 GB, free: 19.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/2.471, allocations: 338.8 kB / 1.078 GB, free: 19.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/2.472, allocations: 197.5 kB / 1.078 GB, free: 19.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/2.472, allocations: 0.5161 MB / 1.078 GB, free: 18.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/2.473, allocations: 299.2 kB / 1.079 GB, free: 18.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-06/2.473, allocations: 4 kB / 1.079 GB, free: 18.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0017/2.475, allocations: 0.7946 MB / 1.079 GB, free: 17.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/2.475, allocations: 9.562 kB / 1.079 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/2.475, allocations: 15.94 kB / 1.079 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/2.476, allocations: 301.4 kB / 1.08 GB, free: 17.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/2.477, allocations: 135.8 kB / 1.08 GB, free: 16.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/2.478, allocations: 0.8942 MB / 1.081 GB, free: 16.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/2.479, allocations: 44.05 kB / 1.081 GB, free: 16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/2.479, allocations: 71.98 kB / 1.081 GB, free: 15.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/2.479, allocations: 156.7 kB / 1.081 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/2.48, allocations: 71.11 kB / 1.081 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/2.482, allocations: 0.6625 MB / 1.082 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.862e-06/2.482, allocations: 4 kB / 1.082 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.482, allocations: 0 / 1.082 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.835e-06/2.482, allocations: 3.984 kB / 1.082 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/2.484, allocations: 1.246 MB / 1.083 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.052e-06/2.484, allocations: 0 / 1.083 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/2.485, allocations: 211.8 kB / 1.083 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/2.486, allocations: 20.84 kB / 1.083 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/2.486, allocations: 16.16 kB / 1.083 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/2.488, allocations: 2.677 MB / 1.086 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/2.488, allocations: 4.031 kB / 1.086 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/2.489, allocations: 0.8365 MB / 1.087 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/2.49, allocations: 184.2 kB / 1.087 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/2.49, allocations: 11.95 kB / 1.087 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/2.49, allocations: 27.92 kB / 1.087 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/2.49, allocations: 47.94 kB / 1.087 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/2.49, allocations: 39.98 kB / 1.087 GB, free: 9.246 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006418/2.491, allocations: 411.2 kB / 1.087 GB, free: 8.848 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.48e-07/2.491, allocations: 0 / 1.087 GB, free: 8.848 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001869/2.493, allocations: 379.8 kB / 1.088 GB, free: 8.477 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * 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.002148/2.495, allocations: 1.054 MB / 1.089 GB, free: 7.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/2.497, allocations: 0.5196 MB / 1.089 GB, free: 6.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.422e-06/2.497, allocations: 4 kB / 1.089 GB, free: 6.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/2.498, allocations: 382.4 kB / 1.089 GB, free: 6.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/2.5, allocations: 311 kB / 1.09 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/2.508, allocations: 2.429 MB / 1.092 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/2.508, allocations: 0.9416 MB / 1.093 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/2.509, allocations: 111.4 kB / 1.093 GB, free: 2.656 MB / 490.7 MB Notification: Performance of SimCode: time 1.509e-06/2.509, allocations: 0 / 1.093 GB, free: 2.656 MB / 490.7 MB Notification: Performance of Templates: time 0.3113/2.82, allocations: 20.53 MB / 1.113 GB, free: 90.41 MB / 490.7 MB