Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.626/1.626, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.647e-05, allocations: 7.438 kB / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.245, allocations: 441.3 MB / 0.6885 GB, free: 103.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/1.245, allocations: 67.97 kB / 0.6886 GB, free: 103.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08772/1.333, allocations: 29.72 MB / 0.7176 GB, free: 73.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.982e-06/1.333, allocations: 0 / 0.7176 GB, free: 73.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/1.333, allocations: 4 kB / 0.7176 GB, free: 73.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004017/1.333, allocations: 386.6 kB / 0.718 GB, free: 73.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.334, allocations: 12.03 kB / 0.718 GB, free: 73.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.336, allocations: 179.6 kB / 0.7182 GB, free: 72.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/1.336, allocations: 210.9 kB / 0.7184 GB, free: 72.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.336, allocations: 4.219 kB / 0.7184 GB, free: 72.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/1.336, allocations: 8 kB / 0.7184 GB, free: 72.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/1.336, allocations: 216 kB / 0.7186 GB, free: 72.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.336, allocations: 3.984 kB / 0.7186 GB, free: 72.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/1.337, allocations: 8 kB / 0.7186 GB, free: 72.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.337, allocations: 0 / 0.7186 GB, free: 72.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/1.337, allocations: 148 kB / 0.7187 GB, free: 72.23 MB / 362.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.00104/1.338, allocations: 0.5832 MB / 0.7193 GB, free: 71.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/1.338, allocations: 134.5 kB / 0.7194 GB, free: 71.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/1.338, allocations: 64.86 kB / 0.7195 GB, free: 71.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/1.339, allocations: 3.984 kB / 0.7195 GB, free: 71.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/1.339, allocations: 38.5 kB / 0.7195 GB, free: 71.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.567e-06/1.339, allocations: 0 / 0.7195 GB, free: 71.34 MB / 362.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005039/1.344, allocations: 1.087 MB / 0.7206 GB, free: 70.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/1.344, allocations: 51.41 kB / 0.7207 GB, free: 70.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/1.344, allocations: 101 kB / 0.7208 GB, free: 70 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/1.344, allocations: 25.7 kB / 0.7208 GB, free: 69.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/1.344, allocations: 170.4 kB / 0.7209 GB, free: 69.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/1.344, allocations: 67 kB / 0.721 GB, free: 69.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/1.344, allocations: 4 kB / 0.721 GB, free: 69.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/1.344, allocations: 330.7 kB / 0.7213 GB, free: 69.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.344, allocations: 67.98 kB / 0.7214 GB, free: 69.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/1.344, allocations: 91.61 kB / 0.7215 GB, free: 69.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/1.345, allocations: 76.66 kB / 0.7215 GB, free: 69.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-06/1.345, allocations: 0 / 0.7215 GB, free: 69.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005273/1.345, allocations: 244.7 kB / 0.7218 GB, free: 68.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.345, allocations: 7.938 kB / 0.7218 GB, free: 68.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.446e-06/1.345, allocations: 0 / 0.7218 GB, free: 68.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/1.345, allocations: 52.83 kB / 0.7218 GB, free: 68.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/1.346, allocations: 55.89 kB / 0.7219 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003738/1.346, allocations: 0.5681 MB / 0.7224 GB, free: 68.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/1.346, allocations: 8.031 kB / 0.7225 GB, free: 68.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/1.347, allocations: 23.94 kB / 0.7225 GB, free: 68.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.347, allocations: 120.9 kB / 0.7226 GB, free: 68.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/1.347, allocations: 15.8 kB / 0.7226 GB, free: 68.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009417/1.348, allocations: 339 kB / 0.7229 GB, free: 67.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.644e-06/1.348, allocations: 4 kB / 0.7229 GB, free: 67.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.348, allocations: 4 kB / 0.7229 GB, free: 67.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-06/1.348, allocations: 3.984 kB / 0.7229 GB, free: 67.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000999/1.349, allocations: 0.5884 MB / 0.7235 GB, free: 67.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.349, allocations: 4 kB / 0.7235 GB, free: 67.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/1.349, allocations: 59.89 kB / 0.7236 GB, free: 66.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/1.349, allocations: 24.94 kB / 0.7236 GB, free: 66.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/1.349, allocations: 11.98 kB / 0.7236 GB, free: 66.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/1.35, allocations: 1.272 MB / 0.7249 GB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-06/1.35, allocations: 0 / 0.7249 GB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/1.351, allocations: 461 kB / 0.7253 GB, free: 65.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/1.351, allocations: 89.05 kB / 0.7254 GB, free: 64.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/1.351, allocations: 4 kB / 0.7254 GB, free: 64.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/1.351, allocations: 11.98 kB / 0.7254 GB, free: 64.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/1.351, allocations: 27.97 kB / 0.7254 GB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/1.351, allocations: 23.98 kB / 0.7254 GB, free: 64.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/1.352, allocations: 87.28 kB / 0.7255 GB, free: 64.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.04e-07/1.352, allocations: 4.062 kB / 0.7255 GB, free: 64.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006342/1.352, allocations: 115.9 kB / 0.7256 GB, free: 64.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.0008312/1.353, allocations: 0.5357 MB / 0.7262 GB, free: 64.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005141/1.354, allocations: 192.2 kB / 0.7263 GB, free: 63.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.579e-06/1.354, allocations: 0 / 0.7263 GB, free: 63.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/1.354, allocations: 201.8 kB / 0.7265 GB, free: 63.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/1.354, allocations: 54.59 kB / 0.7266 GB, free: 63.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/1.355, allocations: 347 kB / 0.7269 GB, free: 63.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/1.355, allocations: 0.7126 MB / 0.7276 GB, free: 62.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/1.356, allocations: 59.41 kB / 0.7277 GB, free: 62.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.63e-06/1.356, allocations: 0 / 0.7277 GB, free: 62.49 MB / 362.7 MB Notification: Performance of Templates: time 0.009653/1.365, allocations: 6.462 MB / 0.734 GB, free: 56.04 MB / 362.7 MB