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.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.8e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.08, allocations: 44.5 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.254, allocations: 447.1 MB / 0.7294 GB, free: 102.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.254, allocations: 74.22 kB / 0.7295 GB, free: 102.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09149/1.346, allocations: 29.71 MB / 0.7585 GB, free: 77.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.382e-06/1.346, allocations: 1.859 kB / 0.7585 GB, free: 77.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/1.346, allocations: 4 kB / 0.7585 GB, free: 77.98 MB / 410.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.0004323/1.346, allocations: 381.7 kB / 0.7589 GB, free: 77.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.346, allocations: 12.03 kB / 0.7589 GB, free: 77.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/1.348, allocations: 182 kB / 0.7591 GB, free: 77.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/1.349, allocations: 197 kB / 0.7593 GB, free: 77.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.349, allocations: 7.5 kB / 0.7593 GB, free: 77.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/1.349, allocations: 11.69 kB / 0.7593 GB, free: 77.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/1.349, allocations: 218.6 kB / 0.7595 GB, free: 77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.349, allocations: 0 / 0.7595 GB, free: 77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/1.349, allocations: 7.625 kB / 0.7595 GB, free: 76.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-06/1.349, allocations: 0 / 0.7595 GB, free: 76.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/1.35, allocations: 157.1 kB / 0.7596 GB, free: 76.89 MB / 410.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.001103/1.351, allocations: 0.576 MB / 0.7602 GB, free: 76.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/1.351, allocations: 134.5 kB / 0.7603 GB, free: 76.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/1.351, allocations: 68.97 kB / 0.7604 GB, free: 76.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/1.351, allocations: 0 / 0.7604 GB, free: 76.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/1.351, allocations: 34.5 kB / 0.7604 GB, free: 76.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.187e-06/1.351, allocations: 4 kB / 0.7604 GB, free: 76.12 MB / 410.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.005135/1.357, allocations: 1.091 MB / 0.7615 GB, free: 75.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/1.357, allocations: 51.41 kB / 0.7615 GB, free: 75.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/1.357, allocations: 104.4 kB / 0.7616 GB, free: 74.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/1.357, allocations: 29.08 kB / 0.7617 GB, free: 74.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/1.357, allocations: 106.8 kB / 0.7618 GB, free: 74.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/1.357, allocations: 69.27 kB / 0.7618 GB, free: 74.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/1.357, allocations: 3.625 kB / 0.7618 GB, free: 74.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/1.357, allocations: 326 kB / 0.7622 GB, free: 74.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/1.357, allocations: 58.06 kB / 0.7622 GB, free: 74.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/1.357, allocations: 96.06 kB / 0.7623 GB, free: 74.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/1.358, allocations: 81.83 kB / 0.7624 GB, free: 74.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-06/1.358, allocations: 0 / 0.7624 GB, free: 74.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005403/1.358, allocations: 248.2 kB / 0.7626 GB, free: 74.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.358, allocations: 4 kB / 0.7626 GB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-06/1.358, allocations: 4 kB / 0.7626 GB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/1.358, allocations: 52.47 kB / 0.7627 GB, free: 74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/1.359, allocations: 55.22 kB / 0.7627 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/1.359, allocations: 0.5622 MB / 0.7633 GB, free: 73.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/1.359, allocations: 7.469 kB / 0.7633 GB, free: 73.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/1.36, allocations: 27.98 kB / 0.7633 GB, free: 73.34 MB / 410.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.0001063/1.36, allocations: 116.1 kB / 0.7634 GB, free: 73.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/1.36, allocations: 15.86 kB / 0.7634 GB, free: 73.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009947/1.361, allocations: 331.8 kB / 0.7637 GB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.263e-06/1.361, allocations: 4 kB / 0.7638 GB, free: 72.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-06/1.361, allocations: 8 kB / 0.7638 GB, free: 72.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-06/1.361, allocations: 0 / 0.7638 GB, free: 72.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.362, allocations: 0.5932 MB / 0.7643 GB, free: 72.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-06/1.362, allocations: 3.938 kB / 0.7643 GB, free: 72.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/1.362, allocations: 59.89 kB / 0.7644 GB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/1.363, allocations: 28.44 kB / 0.7644 GB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/1.363, allocations: 11.62 kB / 0.7644 GB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000836/1.363, allocations: 1.275 MB / 0.7657 GB, free: 70.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.284e-06/1.363, allocations: 3.953 kB / 0.7657 GB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/1.364, allocations: 458 kB / 0.7661 GB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/1.364, allocations: 85.05 kB / 0.7662 GB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/1.364, allocations: 4 kB / 0.7662 GB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/1.365, allocations: 7.875 kB / 0.7662 GB, free: 70.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/1.365, allocations: 27.86 kB / 0.7662 GB, free: 70.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/1.365, allocations: 27.98 kB / 0.7663 GB, free: 70.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.189e-05/1.365, allocations: 82.97 kB / 0.7663 GB, free: 70.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.17e-07/1.365, allocations: 4.062 kB / 0.7664 GB, free: 70.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006682/1.366, allocations: 116.1 kB / 0.7665 GB, free: 70.15 MB / 410.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.0008789/1.367, allocations: 0.5382 MB / 0.767 GB, free: 69.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005581/1.367, allocations: 185.5 kB / 0.7672 GB, free: 69.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.268e-06/1.367, allocations: 4 kB / 0.7672 GB, free: 69.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/1.367, allocations: 215.7 kB / 0.7674 GB, free: 69.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/1.368, allocations: 44.8 kB / 0.7674 GB, free: 69.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/1.369, allocations: 330.1 kB / 0.7677 GB, free: 68.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/1.369, allocations: 0.7049 MB / 0.7684 GB, free: 68.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006638/1.369, allocations: 77.16 kB / 0.7685 GB, free: 68.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/1.37, allocations: 51.41 kB / 0.7685 GB, free: 68.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.853e-06/1.37, allocations: 0 / 0.7685 GB, free: 68.07 MB / 410.7 MB Notification: Performance of Templates: time 0.02133/1.391, allocations: 12.56 MB / 0.7808 GB, free: 55.53 MB / 410.7 MB