Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.612e-05, allocations: 4.938 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 54.85 MB / 359.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.585/1.911, allocations: 0.7223 GB / 1.074 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/1.911, allocations: 72.34 kB / 1.074 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.357/2.268, allocations: 33.35 MB / 1.106 GB, free: 174.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.408e-06/2.268, allocations: 0 / 1.106 GB, free: 174.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/2.268, allocations: 4.672 kB / 1.106 GB, free: 174.5 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000536/2.269, allocations: 412.3 kB / 1.107 GB, free: 174.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/2.269, allocations: 8.75 kB / 1.107 GB, free: 174.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/2.271, allocations: 185.4 kB / 1.107 GB, free: 174.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/2.271, allocations: 200.8 kB / 1.107 GB, free: 173.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/2.271, allocations: 12.52 kB / 1.107 GB, free: 173.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/2.271, allocations: 13.31 kB / 1.107 GB, free: 173.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/2.272, allocations: 185.4 kB / 1.107 GB, free: 173.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/2.272, allocations: 4 kB / 1.107 GB, free: 173.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/2.272, allocations: 5.031 kB / 1.107 GB, free: 173.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-06/2.272, allocations: 6.203 kB / 1.107 GB, free: 173.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/2.272, allocations: 197.1 kB / 1.107 GB, free: 173.7 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.001531/2.274, allocations: 0.6278 MB / 1.108 GB, free: 173.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/2.274, allocations: 148.1 kB / 1.108 GB, free: 173.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/2.275, allocations: 77.08 kB / 1.108 GB, free: 173.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/2.275, allocations: 92.42 kB / 1.108 GB, free: 173 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/2.275, allocations: 45.45 kB / 1.108 GB, free: 173 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.995e-06/2.275, allocations: 0 / 1.108 GB, free: 173 MB / 490.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.005168/2.28, allocations: 1.205 MB / 1.11 GB, free: 172.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/2.28, allocations: 57.41 kB / 1.11 GB, free: 172.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/2.28, allocations: 106.6 kB / 1.11 GB, free: 172.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/2.28, allocations: 30.7 kB / 1.11 GB, free: 172.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/2.28, allocations: 173.8 kB / 1.11 GB, free: 171.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/2.28, allocations: 57.98 kB / 1.11 GB, free: 171.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/2.28, allocations: 5.531 kB / 1.11 GB, free: 171.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.479e-05/2.28, allocations: 323.9 kB / 1.11 GB, free: 171.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/2.281, allocations: 71.5 kB / 1.11 GB, free: 171.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/2.281, allocations: 108.6 kB / 1.11 GB, free: 171.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/2.281, allocations: 91.66 kB / 1.111 GB, free: 171.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-06/2.281, allocations: 0 / 1.111 GB, free: 171.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009441/2.282, allocations: 232.8 kB / 1.111 GB, free: 171.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/2.282, allocations: 9.156 kB / 1.111 GB, free: 171.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/2.282, allocations: 1.5 kB / 1.111 GB, free: 171.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/2.282, allocations: 32.12 kB / 1.111 GB, free: 171.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/2.283, allocations: 55.61 kB / 1.111 GB, free: 171.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/2.283, allocations: 0.5276 MB / 1.111 GB, free: 170.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/2.283, allocations: 11.69 kB / 1.111 GB, free: 170.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/2.283, allocations: 11.23 kB / 1.111 GB, free: 170.7 MB / 490.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.0001091/2.284, allocations: 123.6 kB / 1.112 GB, free: 170.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/2.284, allocations: 13.2 kB / 1.112 GB, free: 170.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/2.284, allocations: 275 kB / 1.112 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.899e-06/2.284, allocations: 2.5 kB / 1.112 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-06/2.284, allocations: 0 / 1.112 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-06/2.284, allocations: 1.312 kB / 1.112 GB, free: 170.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/2.286, allocations: 0.6419 MB / 1.112 GB, free: 170 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.872e-06/2.286, allocations: 1.375 kB / 1.112 GB, free: 170 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/2.286, allocations: 52.77 kB / 1.112 GB, free: 170 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/2.286, allocations: 21.91 kB / 1.113 GB, free: 170 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/2.286, allocations: 8.125 kB / 1.113 GB, free: 170 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/2.287, allocations: 1.268 MB / 1.114 GB, free: 168.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-06/2.287, allocations: 1.375 kB / 1.114 GB, free: 168.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/2.288, allocations: 446.4 kB / 1.114 GB, free: 168.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/2.288, allocations: 88.89 kB / 1.114 GB, free: 168.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/2.288, allocations: 8 kB / 1.114 GB, free: 168.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/2.288, allocations: 15.72 kB / 1.114 GB, free: 168.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/2.288, allocations: 15.45 kB / 1.114 GB, free: 168.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/2.288, allocations: 11.75 kB / 1.114 GB, free: 168.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/2.288, allocations: 95.42 kB / 1.114 GB, free: 168.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.61e-07/2.288, allocations: 0 / 1.114 GB, free: 168.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008493/2.289, allocations: 164.2 kB / 1.115 GB, free: 168.1 MB / 490.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 (19): * Single equations (assignments): 18 * 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.00133/2.291, allocations: 0.6286 MB / 1.115 GB, free: 167.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005538/2.291, allocations: 191.1 kB / 1.115 GB, free: 167.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.784e-06/2.291, allocations: 0 / 1.115 GB, free: 167.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/2.292, allocations: 214.1 kB / 1.116 GB, free: 167.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/2.292, allocations: 38.3 kB / 1.116 GB, free: 167.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/2.293, allocations: 347.7 kB / 1.116 GB, free: 167.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/2.293, allocations: 0.7136 MB / 1.117 GB, free: 166.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/2.293, allocations: 27.8 kB / 1.117 GB, free: 166.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.841e-06/2.293, allocations: 0 / 1.117 GB, free: 166.6 MB / 490.7 MB Notification: Performance of Templates: time 0.01189/2.305, allocations: 7.435 MB / 1.124 GB, free: 164.1 MB / 490.7 MB