Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 270 MB / 282.6 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.907e-05, allocations: 3.984 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4206, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.522, allocations: 462.4 MB / 0.8508 GB, free: 68.05 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/1.522, allocations: 69.53 kB / 0.8509 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.09054/1.612, allocations: 30.41 MB / 0.8806 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.232e-06/1.613, allocations: 0 / 0.8806 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.169e-05/1.613, allocations: 0 / 0.8806 GB, free: 42.46 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.0004004/1.613, allocations: 393.4 kB / 0.881 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.613, allocations: 8.031 kB / 0.881 GB, free: 42.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/1.615, allocations: 185.1 kB / 0.8811 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/1.615, allocations: 202.8 kB / 0.8813 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/1.615, allocations: 2.562 kB / 0.8813 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/1.615, allocations: 10.56 kB / 0.8813 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/1.616, allocations: 220.7 kB / 0.8816 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.616, allocations: 0 / 0.8816 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/1.616, allocations: 3.156 kB / 0.8816 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-06/1.616, allocations: 4 kB / 0.8816 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/1.616, allocations: 150 kB / 0.8817 GB, free: 41.36 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.001034/1.617, allocations: 0.5762 MB / 0.8823 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/1.618, allocations: 127.1 kB / 0.8824 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/1.618, allocations: 66.36 kB / 0.8825 GB, free: 40.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/1.618, allocations: 7.984 kB / 0.8825 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/1.618, allocations: 30.56 kB / 0.8825 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.721e-06/1.618, allocations: 0 / 0.8825 GB, free: 40.6 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.004996/1.623, allocations: 1.087 MB / 0.8836 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/1.623, allocations: 59.36 kB / 0.8836 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/1.623, allocations: 104.7 kB / 0.8837 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/1.623, allocations: 33.14 kB / 0.8837 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/1.623, allocations: 157.8 kB / 0.8839 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/1.623, allocations: 65.94 kB / 0.884 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/1.623, allocations: 3.562 kB / 0.884 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/1.623, allocations: 322.4 kB / 0.8843 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.624, allocations: 68.92 kB / 0.8843 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/1.624, allocations: 96.22 kB / 0.8844 GB, free: 38.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/1.624, allocations: 71.97 kB / 0.8845 GB, free: 38.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.624, allocations: 0 / 0.8845 GB, free: 38.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005421/1.625, allocations: 250.1 kB / 0.8847 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.625, allocations: 8 kB / 0.8847 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.735e-06/1.625, allocations: 3.938 kB / 0.8847 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/1.625, allocations: 51.89 kB / 0.8848 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/1.625, allocations: 51.91 kB / 0.8848 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000364/1.626, allocations: 0.566 MB / 0.8854 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/1.626, allocations: 15.78 kB / 0.8854 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/1.626, allocations: 27.98 kB / 0.8854 GB, free: 37.75 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.0001026/1.626, allocations: 116.1 kB / 0.8855 GB, free: 37.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/1.626, allocations: 11.81 kB / 0.8856 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/1.627, allocations: 333.8 kB / 0.8859 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-06/1.627, allocations: 7.938 kB / 0.8859 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.627, allocations: 0 / 0.8859 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.627, allocations: 4 kB / 0.8859 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/1.628, allocations: 0.5994 MB / 0.8865 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-06/1.628, allocations: 0 / 0.8865 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/1.629, allocations: 67.64 kB / 0.8865 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/1.629, allocations: 20.94 kB / 0.8866 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/1.629, allocations: 15.42 kB / 0.8866 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007683/1.63, allocations: 1.266 MB / 0.8878 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.63, allocations: 3.984 kB / 0.8878 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/1.63, allocations: 456.4 kB / 0.8882 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/1.63, allocations: 89.03 kB / 0.8883 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/1.63, allocations: 7.562 kB / 0.8883 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/1.631, allocations: 7.5 kB / 0.8883 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/1.631, allocations: 19.97 kB / 0.8884 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/1.631, allocations: 31.55 kB / 0.8884 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.647e-05/1.631, allocations: 87.33 kB / 0.8885 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.92e-07/1.631, allocations: 4 kB / 0.8885 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006505/1.632, allocations: 118.2 kB / 0.8886 GB, free: 34.57 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.0008311/1.632, allocations: 0.5457 MB / 0.8891 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005222/1.633, allocations: 189.6 kB / 0.8893 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.902e-06/1.633, allocations: 0 / 0.8893 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/1.633, allocations: 208.9 kB / 0.8895 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/1.634, allocations: 43.52 kB / 0.8895 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/1.634, allocations: 356.2 kB / 0.8899 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/1.635, allocations: 0.7088 MB / 0.8906 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/1.635, allocations: 55.41 kB / 0.8906 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/1.635, allocations: 0 / 0.8906 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.01008/1.645, allocations: 6.471 MB / 0.897 GB, free: 26.11 MB / 0.5261 GB