Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.54e-05, allocations: 7.938 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09272, allocations: 50.42 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.305, allocations: 443.5 MB / 0.7676 GB, free: 95.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/1.305, allocations: 63.97 kB / 0.7677 GB, free: 95.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07809/1.383, allocations: 25.38 MB / 0.7925 GB, free: 70.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.479e-06/1.383, allocations: 4 kB / 0.7925 GB, free: 70.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7e-06/1.383, allocations: 0 / 0.7925 GB, free: 70.23 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008667/1.384, allocations: 434.1 kB / 0.7929 GB, free: 69.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.384, allocations: 8.031 kB / 0.7929 GB, free: 69.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006522/1.391, allocations: 459.8 kB / 0.7934 GB, free: 69.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/1.391, allocations: 167 kB / 0.7935 GB, free: 69.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/1.391, allocations: 8 kB / 0.7935 GB, free: 69.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.391, allocations: 8 kB / 0.7935 GB, free: 69.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/1.392, allocations: 265.2 kB / 0.7938 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.392, allocations: 0 / 0.7938 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/1.392, allocations: 7.984 kB / 0.7938 GB, free: 68.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-06/1.392, allocations: 7.938 kB / 0.7938 GB, free: 68.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/1.392, allocations: 227.9 kB / 0.794 GB, free: 68.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/1.393, allocations: 421 kB / 0.7944 GB, free: 68.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/1.394, allocations: 186.6 kB / 0.7946 GB, free: 67.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/1.395, allocations: 60.84 kB / 0.7947 GB, free: 67.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/1.395, allocations: 3.938 kB / 0.7947 GB, free: 67.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/1.395, allocations: 34.52 kB / 0.7947 GB, free: 67.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 3.218e-06/1.395, allocations: 4 kB / 0.7947 GB, free: 67.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001336/1.396, allocations: 301.3 kB / 0.795 GB, free: 67.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/1.396, allocations: 63.34 kB / 0.795 GB, free: 67.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/1.396, allocations: 96.98 kB / 0.7951 GB, free: 67.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/1.396, allocations: 25.7 kB / 0.7952 GB, free: 67.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/1.396, allocations: 174.3 kB / 0.7953 GB, free: 67.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/1.396, allocations: 59.12 kB / 0.7954 GB, free: 67.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/1.396, allocations: 4 kB / 0.7954 GB, free: 67.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/1.396, allocations: 314.8 kB / 0.7957 GB, free: 66.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.396, allocations: 60.36 kB / 0.7957 GB, free: 66.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/1.397, allocations: 100.8 kB / 0.7958 GB, free: 66.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/1.397, allocations: 63.88 kB / 0.7959 GB, free: 66.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-06/1.397, allocations: 0 / 0.7959 GB, free: 66.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004952/1.397, allocations: 216.2 kB / 0.7961 GB, free: 66.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.397, allocations: 4 kB / 0.7961 GB, free: 66.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.397, allocations: 4 kB / 0.7961 GB, free: 66.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.397, allocations: 4 kB / 0.7961 GB, free: 66.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/1.398, allocations: 51.89 kB / 0.7962 GB, free: 66.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.398, allocations: 7.938 kB / 0.7962 GB, free: 66.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/1.398, allocations: 11.98 kB / 0.7962 GB, free: 66.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.398, allocations: 12.12 kB / 0.7962 GB, free: 66.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.607e-05/1.398, allocations: 113 kB / 0.7963 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/1.399, allocations: 15.84 kB / 0.7963 GB, free: 66.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/1.399, allocations: 233.6 kB / 0.7965 GB, free: 65.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.399, allocations: 4 kB / 0.7965 GB, free: 65.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-06/1.399, allocations: 0 / 0.7965 GB, free: 65.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.583e-06/1.399, allocations: 3.984 kB / 0.7965 GB, free: 65.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.4, allocations: 0.5275 MB / 0.7971 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-06/1.4, allocations: 4.062 kB / 0.7971 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/1.401, allocations: 47.95 kB / 0.7971 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.401, allocations: 0 / 0.7971 GB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.401, allocations: 7.984 kB / 0.7971 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.401, allocations: 7.938 kB / 0.7971 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.334e-06/1.401, allocations: 3.984 kB / 0.7971 GB, free: 65.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/1.401, allocations: 312.5 kB / 0.7974 GB, free: 64.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/1.401, allocations: 88.98 kB / 0.7975 GB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/1.401, allocations: 8 kB / 0.7975 GB, free: 64.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/1.402, allocations: 11.98 kB / 0.7975 GB, free: 64.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/1.402, allocations: 15.94 kB / 0.7976 GB, free: 64.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/1.402, allocations: 8 kB / 0.7976 GB, free: 64.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.455e-05/1.402, allocations: 91.27 kB / 0.7976 GB, free: 64.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.402, allocations: 0 / 0.7976 GB, free: 64.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005467/1.402, allocations: 75.92 kB / 0.7977 GB, free: 64.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006688/1.403, allocations: 0.5204 MB / 0.7982 GB, free: 64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/1.404, allocations: 151.9 kB / 0.7984 GB, free: 63.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.581e-06/1.404, allocations: 3.938 kB / 0.7984 GB, free: 63.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/1.404, allocations: 87.86 kB / 0.7985 GB, free: 63.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.404, allocations: 31.91 kB / 0.7985 GB, free: 63.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/1.405, allocations: 200.9 kB / 0.7987 GB, free: 63.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/1.405, allocations: 0.6974 MB / 0.7994 GB, free: 62.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/1.405, allocations: 35.41 kB / 0.7994 GB, free: 62.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.791e-06/1.405, allocations: 0 / 0.7994 GB, free: 62.74 MB / 442.7 MB Notification: Performance of Templates: time 0.007581/1.413, allocations: 4.854 MB / 0.8041 GB, free: 57.89 MB / 442.7 MB