Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.103e-05, allocations: 4 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.0934, allocations: 50.41 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.106/7.199, allocations: 2.787 GB / 3.122 GB, free: 17.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/7.199, allocations: 65.84 kB / 3.122 GB, free: 17.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6086/7.808, allocations: 108.1 MB / 3.227 GB, free: 84.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/7.808, allocations: 0 / 3.227 GB, free: 84.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/7.808, allocations: 4 kB / 3.227 GB, free: 84.47 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.006233/7.814, allocations: 1.149 MB / 3.229 GB, free: 83.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/7.814, allocations: 12.03 kB / 3.229 GB, free: 83.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006301/7.815, allocations: 54.81 kB / 3.229 GB, free: 83.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/7.815, allocations: 217.6 kB / 3.229 GB, free: 83.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/7.815, allocations: 12.28 kB / 3.229 GB, free: 83.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/7.815, allocations: 15.95 kB / 3.229 GB, free: 83.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/7.816, allocations: 370.6 kB / 3.229 GB, free: 82.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/7.817, allocations: 0 / 3.229 GB, free: 82.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/7.817, allocations: 8 kB / 3.229 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-06/7.817, allocations: 4 kB / 3.229 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/7.818, allocations: 311.8 kB / 3.229 GB, free: 82.54 MB / 442.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.001445/7.819, allocations: 1.198 MB / 3.231 GB, free: 81.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/7.82, allocations: 257.9 kB / 3.231 GB, free: 81.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/7.82, allocations: 90.66 kB / 3.231 GB, free: 80.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09932/7.92, allocations: 47.35 MB / 3.277 GB, free: 31.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/7.92, allocations: 42.75 kB / 3.277 GB, free: 31.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 3.924e-06/7.92, allocations: 0 / 3.277 GB, free: 31.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.006503/7.926, allocations: 1.425 MB / 3.279 GB, free: 30.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/7.926, allocations: 106.8 kB / 3.279 GB, free: 30.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/7.926, allocations: 117 kB / 3.279 GB, free: 29.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/7.926, allocations: 29.7 kB / 3.279 GB, free: 29.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/7.926, allocations: 175.4 kB / 3.279 GB, free: 29.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/7.927, allocations: 118.4 kB / 3.279 GB, free: 29.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/7.927, allocations: 8 kB / 3.279 GB, free: 29.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/7.927, allocations: 322.8 kB / 3.28 GB, free: 29.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/7.927, allocations: 107.9 kB / 3.28 GB, free: 29.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/7.927, allocations: 171.1 kB / 3.28 GB, free: 28.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/7.927, allocations: 120.7 kB / 3.28 GB, free: 28.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-06/7.927, allocations: 4 kB / 3.28 GB, free: 28.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008679/7.928, allocations: 362 kB / 3.28 GB, free: 28.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/7.928, allocations: 4 kB / 3.28 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.517e-06/7.928, allocations: 4 kB / 3.28 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/7.929, allocations: 37.05 kB / 3.28 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/7.929, allocations: 99.81 kB / 3.28 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/7.93, allocations: 0.5406 MB / 3.281 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/7.93, allocations: 36 kB / 3.281 GB, free: 27.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/7.93, allocations: 12 kB / 3.281 GB, free: 27.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001219/7.93, allocations: 128.9 kB / 3.281 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/7.93, allocations: 15.84 kB / 3.281 GB, free: 27.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/7.932, allocations: 1.44 MB / 3.282 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/7.932, allocations: 24 kB / 3.283 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.736e-06/7.932, allocations: 4 kB / 3.283 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/7.932, allocations: 3.984 kB / 3.283 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/7.935, allocations: 1.951 MB / 3.284 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.408e-06/7.935, allocations: 4 kB / 3.284 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/7.936, allocations: 83.88 kB / 3.285 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/7.936, allocations: 72.83 kB / 3.285 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/7.936, allocations: 19.98 kB / 3.285 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003361/7.937, allocations: 0.5875 MB / 3.285 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/7.937, allocations: 0 / 3.285 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/7.939, allocations: 1.68 MB / 3.287 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/7.939, allocations: 128.4 kB / 3.287 GB, free: 21.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/7.939, allocations: 15.95 kB / 3.287 GB, free: 21.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/7.939, allocations: 24.02 kB / 3.287 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/7.939, allocations: 31.97 kB / 3.287 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/7.939, allocations: 19.98 kB / 3.287 GB, free: 21.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.374e-05/7.939, allocations: 91.2 kB / 3.287 GB, free: 21.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.75e-07/7.939, allocations: 0 / 3.287 GB, free: 21.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004148/7.944, allocations: 0.9718 MB / 3.288 GB, free: 20.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.007628/7.951, allocations: 1.242 MB / 3.289 GB, free: 18.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/7.953, allocations: 0.543 MB / 3.29 GB, free: 18.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.94e-06/7.953, allocations: 4 kB / 3.29 GB, free: 18.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/7.953, allocations: 488.6 kB / 3.29 GB, free: 17.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/7.954, allocations: 83.58 kB / 3.29 GB, free: 17.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/7.956, allocations: 1.093 MB / 3.291 GB, free: 16.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/7.957, allocations: 0.8256 MB / 3.292 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/7.957, allocations: 39.41 kB / 3.292 GB, free: 15.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.981e-06/7.957, allocations: 4 kB / 3.292 GB, free: 15.85 MB / 442.7 MB Notification: Performance of Templates: time 0.2955/8.252, allocations: 23.64 MB / 3.315 GB, free: 78.14 MB / 442.7 MB