Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.663/2.663, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.848e-05, allocations: 13.75 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.5973, allocations: 86.3 MB / 496.6 MB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.5976, allocations: 72.94 kB / 496.6 MB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04028/0.6379, allocations: 8.267 MB / 0.4931 GB, free: 9.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.173e-06/0.6379, allocations: 3.938 kB / 0.4931 GB, free: 9.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.115e-06/0.6379, allocations: 0 / 0.4931 GB, free: 9.496 MB / 410.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.0003784/0.6383, allocations: 350.4 kB / 0.4934 GB, free: 9.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6384, allocations: 8.031 kB / 0.4934 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.6384, allocations: 4 kB / 0.4934 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.6385, allocations: 159.1 kB / 0.4936 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.6386, allocations: 3.984 kB / 0.4936 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.6386, allocations: 3.953 kB / 0.4936 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.6387, allocations: 45.69 kB / 0.4936 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.359e-06/0.6387, allocations: 0 / 0.4936 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-06/0.6388, allocations: 0 / 0.4936 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-06/0.6388, allocations: 0 / 0.4936 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.6388, allocations: 4 kB / 0.4936 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.6392, allocations: 244.8 kB / 0.4939 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.6393, allocations: 26.55 kB / 0.4939 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.6393, allocations: 8.859 kB / 0.4939 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.6393, allocations: 0 / 0.4939 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.6394, allocations: 34.62 kB / 0.4939 GB, free: 8.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/0.6394, allocations: 0 / 0.4939 GB, free: 8.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.6395, allocations: 29.7 kB / 0.494 GB, free: 8.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.6396, allocations: 51.41 kB / 0.494 GB, free: 8.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.6397, allocations: 97.03 kB / 0.4941 GB, free: 8.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.6397, allocations: 25.7 kB / 0.4941 GB, free: 8.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.6398, allocations: 91.97 kB / 0.4942 GB, free: 8.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.6398, allocations: 0 / 0.4942 GB, free: 8.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-06/0.6398, allocations: 0 / 0.4942 GB, free: 8.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.64, allocations: 314.8 kB / 0.4945 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.64, allocations: 4 kB / 0.4945 GB, free: 7.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.6401, allocations: 18.58 kB / 0.4945 GB, free: 7.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.6401, allocations: 16.02 kB / 0.4946 GB, free: 7.773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-06/0.6401, allocations: 0 / 0.4946 GB, free: 7.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/0.6402, allocations: 49.62 kB / 0.4946 GB, free: 7.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6403, allocations: 10.66 kB / 0.4946 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6403, allocations: 3.938 kB / 0.4946 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6403, allocations: 0 / 0.4946 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.6404, allocations: 4.094 kB / 0.4946 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6404, allocations: 4 kB / 0.4946 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.6404, allocations: 15.89 kB / 0.4946 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.6404, allocations: 0 / 0.4946 GB, free: 7.684 MB / 410.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.792e-05/0.6405, allocations: 108.9 kB / 0.4947 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.6406, allocations: 0 / 0.4947 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.6407, allocations: 52.66 kB / 0.4948 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-06/0.6407, allocations: 4.031 kB / 0.4948 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-06/0.6408, allocations: 0 / 0.4948 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-06/0.6408, allocations: 3.984 kB / 0.4948 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.641, allocations: 145.7 kB / 0.4949 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.701e-06/0.641, allocations: 3.953 kB / 0.4949 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-06/0.641, allocations: 0 / 0.4949 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.697e-06/0.641, allocations: 0 / 0.4949 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-06/0.641, allocations: 0 / 0.4949 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.641, allocations: 0 / 0.4949 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-06/0.641, allocations: 7.984 kB / 0.495 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.6412, allocations: 127.6 kB / 0.4951 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.6413, allocations: 85.16 kB / 0.4952 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.6413, allocations: 0 / 0.4952 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.6414, allocations: 3.984 kB / 0.4952 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.6414, allocations: 7.922 kB / 0.4952 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-06/0.6414, allocations: 4 kB / 0.4952 GB, free: 7.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.064e-05/0.6415, allocations: 75.28 kB / 0.4952 GB, free: 6.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.94e-07/0.6415, allocations: 4.125 kB / 0.4952 GB, free: 6.961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004298/0.6419, allocations: 47.94 kB / 0.4953 GB, free: 6.914 MB / 410.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.0003572/0.6423, allocations: 151.1 kB / 0.4954 GB, free: 6.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.6424, allocations: 33.7 kB / 0.4955 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.6425, allocations: 0 / 0.4955 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.6425, allocations: 25.7 kB / 0.4955 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.6427, allocations: 8 kB / 0.4955 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.6429, allocations: 69.11 kB / 0.4956 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.6433, allocations: 0.6692 MB / 0.4962 GB, free: 5.895 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.667e-05/0.6433, allocations: 7.938 kB / 0.4962 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.6433, allocations: 7.438 kB / 0.4962 GB, free: 5.879 MB / 410.7 MB Notification: Performance of SimCode: time 1.435e-06/0.6433, allocations: 0 / 0.4962 GB, free: 5.879 MB / 410.7 MB Notification: Performance of Templates: time 0.003545/0.6469, allocations: 0.8415 MB / 0.4971 GB, free: 5.039 MB / 410.7 MB