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.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.144e-05, allocations: 7.984 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08566, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.263, allocations: 451.4 MB / 0.7503 GB, free: 78.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/1.263, allocations: 79.31 kB / 0.7503 GB, free: 78.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08996/1.353, allocations: 29.76 MB / 0.7794 GB, free: 53.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.982e-06/1.353, allocations: 0 / 0.7794 GB, free: 53.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/1.353, allocations: 0 / 0.7794 GB, free: 53.55 MB / 426.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.0003993/1.354, allocations: 394.4 kB / 0.7798 GB, free: 53.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.354, allocations: 8.031 kB / 0.7798 GB, free: 53.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/1.356, allocations: 194 kB / 0.78 GB, free: 52.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/1.356, allocations: 197.5 kB / 0.7802 GB, free: 52.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.356, allocations: 11.69 kB / 0.7802 GB, free: 52.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/1.356, allocations: 7.062 kB / 0.7802 GB, free: 52.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/1.357, allocations: 217.1 kB / 0.7804 GB, free: 52.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.357, allocations: 0 / 0.7804 GB, free: 52.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/1.357, allocations: 224 / 0.7804 GB, free: 52.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.734e-06/1.357, allocations: 7.984 kB / 0.7804 GB, free: 52.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/1.357, allocations: 155.8 kB / 0.7805 GB, free: 52.44 MB / 426.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.001082/1.358, allocations: 0.5735 MB / 0.7811 GB, free: 51.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/1.359, allocations: 127.6 kB / 0.7812 GB, free: 51.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/1.359, allocations: 58.11 kB / 0.7813 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/1.359, allocations: 7.984 kB / 0.7813 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/1.359, allocations: 34.19 kB / 0.7813 GB, free: 51.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.249e-06/1.359, allocations: 0 / 0.7813 GB, free: 51.69 MB / 426.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.005085/1.364, allocations: 1.091 MB / 0.7824 GB, free: 50.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.364, allocations: 55.36 kB / 0.7824 GB, free: 50.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/1.364, allocations: 116.2 kB / 0.7825 GB, free: 50.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.364, allocations: 25.7 kB / 0.7826 GB, free: 50.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/1.364, allocations: 99.83 kB / 0.7827 GB, free: 50.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/1.364, allocations: 69.69 kB / 0.7827 GB, free: 50.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/1.364, allocations: 0 / 0.7827 GB, free: 50.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/1.364, allocations: 322.8 kB / 0.783 GB, free: 49.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/1.365, allocations: 64.88 kB / 0.7831 GB, free: 49.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/1.365, allocations: 96.67 kB / 0.7832 GB, free: 49.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/1.365, allocations: 77.95 kB / 0.7833 GB, free: 49.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.365, allocations: 0 / 0.7833 GB, free: 49.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005494/1.366, allocations: 248.8 kB / 0.7835 GB, free: 49.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.366, allocations: 4 kB / 0.7835 GB, free: 49.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-06/1.366, allocations: 0 / 0.7835 GB, free: 49.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/1.366, allocations: 53.95 kB / 0.7836 GB, free: 49.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/1.366, allocations: 51.91 kB / 0.7836 GB, free: 49.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/1.367, allocations: 0.5649 MB / 0.7842 GB, free: 48.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/1.367, allocations: 8.594 kB / 0.7842 GB, free: 48.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/1.367, allocations: 23.98 kB / 0.7842 GB, free: 48.9 MB / 426.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.0001053/1.367, allocations: 119.7 kB / 0.7843 GB, free: 48.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/1.367, allocations: 11.91 kB / 0.7843 GB, free: 48.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/1.368, allocations: 338.1 kB / 0.7846 GB, free: 48.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-06/1.368, allocations: 7.938 kB / 0.7846 GB, free: 48.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.189e-06/1.368, allocations: 0 / 0.7846 GB, free: 48.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.321e-06/1.368, allocations: 4 kB / 0.7847 GB, free: 48.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.369, allocations: 0.5932 MB / 0.7852 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.694e-06/1.369, allocations: 4 kB / 0.7852 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/1.37, allocations: 63.45 kB / 0.7853 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/1.37, allocations: 32.28 kB / 0.7853 GB, free: 47.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/1.37, allocations: 8 kB / 0.7853 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000778/1.371, allocations: 1.263 MB / 0.7866 GB, free: 46.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.928e-06/1.371, allocations: 0 / 0.7866 GB, free: 46.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/1.371, allocations: 461.4 kB / 0.787 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/1.371, allocations: 85.05 kB / 0.7871 GB, free: 45.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/1.371, allocations: 11.38 kB / 0.7871 GB, free: 45.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/1.372, allocations: 11.41 kB / 0.7871 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/1.372, allocations: 23.41 kB / 0.7871 GB, free: 45.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/1.372, allocations: 27.92 kB / 0.7872 GB, free: 45.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.678e-05/1.372, allocations: 87.27 kB / 0.7872 GB, free: 45.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.77e-07/1.372, allocations: 0 / 0.7872 GB, free: 45.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006434/1.373, allocations: 123.7 kB / 0.7874 GB, free: 45.71 MB / 426.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.0008513/1.374, allocations: 0.541 MB / 0.7879 GB, free: 45.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005418/1.374, allocations: 189.1 kB / 0.7881 GB, free: 45.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.374, allocations: 0 / 0.7881 GB, free: 45.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/1.374, allocations: 209.7 kB / 0.7883 GB, free: 44.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/1.375, allocations: 47.47 kB / 0.7883 GB, free: 44.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/1.376, allocations: 330.3 kB / 0.7886 GB, free: 44.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/1.376, allocations: 0.7049 MB / 0.7893 GB, free: 43.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006655/1.376, allocations: 85.14 kB / 0.7894 GB, free: 43.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/1.377, allocations: 55.22 kB / 0.7895 GB, free: 43.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.671e-06/1.377, allocations: 0 / 0.7895 GB, free: 43.62 MB / 426.7 MB Notification: Performance of Templates: time 0.02266/1.399, allocations: 12.55 MB / 0.8017 GB, free: 31.09 MB / 426.7 MB