Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 1.876/1.876, allocations: 209.3 MB / 221.9 MB, free: 1.848 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.733e-05, allocations: 4 kB / 273 MB, free: 0.7383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08649, allocations: 48.71 MB / 321.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.23, allocations: 449.6 MB / 0.7533 GB, free: 75.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/1.231, allocations: 71.95 kB / 0.7533 GB, free: 75.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08899/1.32, allocations: 29.76 MB / 0.7824 GB, free: 46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.049e-06/1.32, allocations: 0 / 0.7824 GB, free: 46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/1.32, allocations: 0 / 0.7824 GB, free: 46 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.000402/1.32, allocations: 390.6 kB / 0.7828 GB, free: 45.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.32, allocations: 8.031 kB / 0.7828 GB, free: 45.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/1.322, allocations: 180.2 kB / 0.7829 GB, free: 45.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/1.322, allocations: 206.9 kB / 0.7831 GB, free: 45.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.322, allocations: 8 kB / 0.7831 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/1.323, allocations: 4 kB / 0.7831 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/1.323, allocations: 212 kB / 0.7833 GB, free: 44.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.323, allocations: 0 / 0.7833 GB, free: 44.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/1.323, allocations: 4 kB / 0.7833 GB, free: 44.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-06/1.323, allocations: 4 kB / 0.7834 GB, free: 44.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/1.324, allocations: 151.9 kB / 0.7835 GB, free: 44.76 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.001053/1.325, allocations: 0.5722 MB / 0.7841 GB, free: 44.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/1.325, allocations: 122.6 kB / 0.7842 GB, free: 44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/1.325, allocations: 64.84 kB / 0.7842 GB, free: 43.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/1.325, allocations: 15.97 kB / 0.7842 GB, free: 43.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/1.325, allocations: 38.5 kB / 0.7843 GB, free: 43.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.507e-06/1.325, allocations: 0 / 0.7843 GB, free: 43.88 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.005048/1.33, allocations: 1.083 MB / 0.7853 GB, free: 42.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.33, allocations: 55.41 kB / 0.7854 GB, free: 42.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/1.33, allocations: 101 kB / 0.7855 GB, free: 42.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/1.33, allocations: 37.7 kB / 0.7855 GB, free: 42.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/1.33, allocations: 162.3 kB / 0.7857 GB, free: 42.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/1.331, allocations: 75.02 kB / 0.7858 GB, free: 42.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/1.331, allocations: 8 kB / 0.7858 GB, free: 42.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/1.331, allocations: 314.8 kB / 0.7861 GB, free: 41.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/1.331, allocations: 64.22 kB / 0.7861 GB, free: 41.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/1.331, allocations: 97.42 kB / 0.7862 GB, free: 41.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/1.331, allocations: 79.84 kB / 0.7863 GB, free: 41.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-06/1.331, allocations: 0 / 0.7863 GB, free: 41.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005421/1.332, allocations: 244.7 kB / 0.7865 GB, free: 41.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.332, allocations: 8 kB / 0.7865 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.211e-06/1.332, allocations: 0 / 0.7865 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/1.332, allocations: 56.88 kB / 0.7866 GB, free: 41.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/1.332, allocations: 51.91 kB / 0.7866 GB, free: 41.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003672/1.333, allocations: 0.5641 MB / 0.7872 GB, free: 40.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/1.333, allocations: 7.906 kB / 0.7872 GB, free: 40.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/1.333, allocations: 27.98 kB / 0.7872 GB, free: 40.71 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.0001032/1.333, allocations: 124.2 kB / 0.7873 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/1.333, allocations: 11.86 kB / 0.7874 GB, free: 40.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009597/1.334, allocations: 335 kB / 0.7877 GB, free: 40.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-06/1.334, allocations: 0 / 0.7877 GB, free: 40.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.454e-06/1.334, allocations: 0 / 0.7877 GB, free: 40.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.099e-06/1.334, allocations: 3.984 kB / 0.7877 GB, free: 40.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.335, allocations: 0.6074 MB / 0.7883 GB, free: 39.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.651e-06/1.335, allocations: 0 / 0.7883 GB, free: 39.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/1.336, allocations: 63.89 kB / 0.7883 GB, free: 39.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/1.336, allocations: 20.84 kB / 0.7883 GB, free: 39.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/1.336, allocations: 12 kB / 0.7884 GB, free: 39.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007726/1.337, allocations: 1.268 MB / 0.7896 GB, free: 38.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-06/1.337, allocations: 11.92 kB / 0.7896 GB, free: 38.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/1.338, allocations: 459.4 kB / 0.79 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/1.338, allocations: 85.02 kB / 0.7901 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/1.338, allocations: 8 kB / 0.7901 GB, free: 37.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/1.338, allocations: 4 kB / 0.7901 GB, free: 37.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/1.338, allocations: 31.98 kB / 0.7902 GB, free: 37.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/1.338, allocations: 31.98 kB / 0.7902 GB, free: 37.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/1.338, allocations: 87.58 kB / 0.7903 GB, free: 37.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.56e-07/1.338, allocations: 0 / 0.7903 GB, free: 37.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006381/1.339, allocations: 119.9 kB / 0.7904 GB, free: 37.17 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.000849/1.34, allocations: 0.5345 MB / 0.7909 GB, free: 36.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005288/1.34, allocations: 187.9 kB / 0.7911 GB, free: 36.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.707e-06/1.34, allocations: 4 kB / 0.7911 GB, free: 36.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/1.341, allocations: 217.9 kB / 0.7913 GB, free: 36.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/1.341, allocations: 41.36 kB / 0.7914 GB, free: 36.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/1.342, allocations: 346.9 kB / 0.7917 GB, free: 35.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/1.342, allocations: 0.7127 MB / 0.7924 GB, free: 35.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/1.342, allocations: 51.41 kB / 0.7924 GB, free: 35.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.716e-06/1.342, allocations: 0 / 0.7924 GB, free: 35.01 MB / 426.7 MB Notification: Performance of Templates: time 0.009943/1.352, allocations: 6.466 MB / 0.7987 GB, free: 28.56 MB / 426.7 MB