Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 270 MB / 282.7 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.357e-05, allocations: 4 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 61.88 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4558, allocations: 86.3 MB / 495.1 MB, free: 4.391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.456, allocations: 71.95 kB / 495.2 MB, free: 4.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03912/0.4952, allocations: 8.267 MB / 0.4917 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.931e-06/0.4952, allocations: 0 / 0.4917 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.888e-06/0.4952, allocations: 0 / 0.4917 GB, free: 12.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003643/0.4956, allocations: 338.4 kB / 0.492 GB, free: 11.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4957, allocations: 12.03 kB / 0.492 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.4957, allocations: 4 kB / 0.492 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.4958, allocations: 167.1 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4959, allocations: 4 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4959, allocations: 7.953 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.496, allocations: 33.69 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.677e-06/0.496, allocations: 3.938 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-06/0.4961, allocations: 0 / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-06/0.4961, allocations: 0 / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.4961, allocations: 8 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.4965, allocations: 248.8 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.4966, allocations: 18.58 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.4966, allocations: 4.859 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4966, allocations: 0 / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4967, allocations: 38.62 kB / 0.4925 GB, free: 11.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.915e-06/0.4967, allocations: 3.938 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.4968, allocations: 41.62 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4969, allocations: 51.41 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/0.497, allocations: 89 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.497, allocations: 25.7 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.4971, allocations: 158.5 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-06/0.4971, allocations: 4 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-06/0.4971, allocations: 0 / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4973, allocations: 318.8 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.4973, allocations: 4.156 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.4974, allocations: 18.58 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.4974, allocations: 11.95 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4974, allocations: 0 / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.4976, allocations: 45.62 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4976, allocations: 12.09 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4976, allocations: 0 / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4976, allocations: 0 / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.4977, allocations: 4 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4977, allocations: 7.938 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.4977, allocations: 3.906 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-06/0.4978, allocations: 0 / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.746e-05/0.4978, allocations: 112.9 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.4979, allocations: 0 / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.498, allocations: 48.75 kB / 0.4934 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-06/0.4981, allocations: 0 / 0.4934 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-06/0.4981, allocations: 0 / 0.4934 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-06/0.4981, allocations: 0 / 0.4934 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.4983, allocations: 153.7 kB / 0.4936 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.4983, allocations: 3.953 kB / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-06/0.4983, allocations: 0 / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-06/0.4983, allocations: 0 / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-06/0.4983, allocations: 0 / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.095e-06/0.4984, allocations: 8.031 kB / 0.4936 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.041e-06/0.4984, allocations: 0 / 0.4936 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4985, allocations: 131.5 kB / 0.4937 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.4986, allocations: 81.06 kB / 0.4938 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4986, allocations: 0 / 0.4938 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.4987, allocations: 4 kB / 0.4938 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.4987, allocations: 0 / 0.4938 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.657e-06/0.4987, allocations: 12.03 kB / 0.4938 GB, free: 9.523 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.4988, allocations: 75.28 kB / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.4988, allocations: 0 / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.4992, allocations: 55.86 kB / 0.494 GB, free: 9.395 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003427/0.4996, allocations: 151.1 kB / 0.4941 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.4997, allocations: 41.62 kB / 0.4941 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.174e-06/0.4997, allocations: 288 / 0.4941 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.4997, allocations: 33.7 kB / 0.4942 GB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.4999, allocations: 0 / 0.4942 GB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.5001, allocations: 78.95 kB / 0.4942 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.5005, allocations: 0.6771 MB / 0.4949 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/0.5005, allocations: 7.438 kB / 0.4949 GB, free: 8.336 MB / 426.7 MB Notification: Performance of SimCode: time 1.43e-06/0.5005, allocations: 0 / 0.4949 GB, free: 8.336 MB / 426.7 MB Notification: Performance of Templates: time 0.002921/0.5034, allocations: 0.9724 MB / 0.4959 GB, free: 7.367 MB / 426.7 MB