Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.934e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.523, allocations: 462.4 MB / 0.8522 GB, free: 156 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/1.523, allocations: 64.77 kB / 0.8523 GB, free: 156 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1136/1.637, allocations: 30.41 MB / 0.882 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.108e-06/1.637, allocations: 0 / 0.882 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.372e-05/1.637, allocations: 0 / 0.882 GB, free: 140.2 MB / 0.5261 GB 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.0005025/1.637, allocations: 392.9 kB / 0.8824 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.637, allocations: 8.031 kB / 0.8824 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/1.64, allocations: 176 kB / 0.8825 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/1.64, allocations: 210.5 kB / 0.8827 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/1.64, allocations: 4 kB / 0.8828 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/1.64, allocations: 11.56 kB / 0.8828 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/1.641, allocations: 206.7 kB / 0.883 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/1.641, allocations: 7.938 kB / 0.883 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/1.641, allocations: 0 / 0.883 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/1.641, allocations: 0 / 0.883 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/1.641, allocations: 151.6 kB / 0.8831 GB, free: 139.2 MB / 0.5261 GB 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.001146/1.642, allocations: 0.5795 MB / 0.8837 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/1.643, allocations: 126.4 kB / 0.8838 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/1.643, allocations: 61.61 kB / 0.8839 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/1.643, allocations: 4 kB / 0.8839 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/1.643, allocations: 38.06 kB / 0.8839 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.495e-06/1.643, allocations: 0 / 0.8839 GB, free: 138.4 MB / 0.5261 GB 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.005508/1.648, allocations: 1.094 MB / 0.885 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/1.648, allocations: 59.36 kB / 0.885 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/1.649, allocations: 105.9 kB / 0.8851 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/1.649, allocations: 31.89 kB / 0.8852 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/1.649, allocations: 96.66 kB / 0.8852 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/1.649, allocations: 62.45 kB / 0.8853 GB, free: 137 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/1.649, allocations: 4.562 kB / 0.8853 GB, free: 137 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.635e-05/1.649, allocations: 323.5 kB / 0.8856 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/1.649, allocations: 65.73 kB / 0.8857 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/1.649, allocations: 91.53 kB / 0.8858 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.649, allocations: 85.97 kB / 0.8858 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-06/1.649, allocations: 0 / 0.8858 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005533/1.65, allocations: 242.6 kB / 0.8861 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.65, allocations: 11.98 kB / 0.8861 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.521e-06/1.65, allocations: 0 / 0.8861 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/1.65, allocations: 51.48 kB / 0.8861 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/1.651, allocations: 54.34 kB / 0.8862 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000382/1.651, allocations: 0.5646 MB / 0.8867 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/1.651, allocations: 14.47 kB / 0.8868 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.651, allocations: 22.31 kB / 0.8868 GB, free: 135.6 MB / 0.5261 GB 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.0001148/1.651, allocations: 124.5 kB / 0.8869 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/1.652, allocations: 7.906 kB / 0.8869 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/1.653, allocations: 330.8 kB / 0.8872 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.653, allocations: 3.984 kB / 0.8872 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.517e-06/1.653, allocations: 0 / 0.8872 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.334e-06/1.653, allocations: 0 / 0.8872 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/1.654, allocations: 0.607 MB / 0.8878 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-06/1.654, allocations: 0 / 0.8878 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/1.654, allocations: 65.7 kB / 0.8879 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/1.654, allocations: 18.41 kB / 0.8879 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.654, allocations: 19.73 kB / 0.8879 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/1.655, allocations: 1.26 MB / 0.8891 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.125e-06/1.655, allocations: 4.031 kB / 0.8892 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/1.656, allocations: 456.5 kB / 0.8896 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/1.656, allocations: 85.02 kB / 0.8897 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/1.656, allocations: 10.92 kB / 0.8897 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/1.656, allocations: 7.062 kB / 0.8897 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/1.656, allocations: 32.66 kB / 0.8897 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/1.656, allocations: 27.98 kB / 0.8897 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.078e-05/1.657, allocations: 96.31 kB / 0.8898 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.02e-07/1.657, allocations: 0 / 0.8898 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006654/1.657, allocations: 116.6 kB / 0.8899 GB, free: 132.4 MB / 0.5261 GB 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.0008803/1.658, allocations: 0.5227 MB / 0.8905 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005544/1.659, allocations: 193.3 kB / 0.8906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.224e-06/1.659, allocations: 4 kB / 0.8906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/1.659, allocations: 203.2 kB / 0.8908 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/1.66, allocations: 48.2 kB / 0.8909 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/1.66, allocations: 333.9 kB / 0.8912 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/1.66, allocations: 0.7165 MB / 0.8919 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006652/1.661, allocations: 77.17 kB / 0.892 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/1.661, allocations: 49.91 kB / 0.892 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.829e-06/1.661, allocations: 0 / 0.892 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.02282/1.684, allocations: 12.56 MB / 0.9043 GB, free: 117.8 MB / 0.5261 GB