Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.9e-05, allocations: 0 / 348.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 61.88 MB / 410.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5516, allocations: 86.31 MB / 496.6 MB, free: 1.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5519, allocations: 71.95 kB / 496.6 MB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03882/0.5907, allocations: 8.258 MB / 0.4931 GB, free: 9.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5908, allocations: 7.938 kB / 0.4931 GB, free: 9.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.656e-06/0.5908, allocations: 0 / 0.4931 GB, free: 9.562 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.0003889/0.5912, allocations: 352.9 kB / 0.4934 GB, free: 9.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5912, allocations: 12.03 kB / 0.4934 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.5913, allocations: 0 / 0.4934 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5914, allocations: 163.1 kB / 0.4936 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5914, allocations: 0 / 0.4936 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.5915, allocations: 3.953 kB / 0.4936 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5916, allocations: 41.69 kB / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.112e-06/0.5916, allocations: 4 kB / 0.4936 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5916, allocations: 0 / 0.4936 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-06/0.5916, allocations: 0 / 0.4936 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.5917, allocations: 4 kB / 0.4936 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.5921, allocations: 248.8 kB / 0.4939 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.5921, allocations: 18.58 kB / 0.4939 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.5922, allocations: 8.891 kB / 0.4939 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5922, allocations: 4 kB / 0.4939 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5922, allocations: 34.62 kB / 0.4939 GB, free: 8.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.12e-06/0.5922, allocations: 0 / 0.4939 GB, free: 8.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.5924, allocations: 29.7 kB / 0.4939 GB, free: 8.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5924, allocations: 51.41 kB / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.5925, allocations: 96.94 kB / 0.4941 GB, free: 8.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5926, allocations: 25.7 kB / 0.4941 GB, free: 8.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.5926, allocations: 96.12 kB / 0.4942 GB, free: 8.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-06/0.5927, allocations: 0 / 0.4942 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5927, allocations: 0 / 0.4942 GB, free: 8.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5928, allocations: 314.8 kB / 0.4945 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.5929, allocations: 4 kB / 0.4945 GB, free: 7.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.5929, allocations: 18.58 kB / 0.4945 GB, free: 7.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.5929, allocations: 11.95 kB / 0.4945 GB, free: 7.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-06/0.593, allocations: 0 / 0.4945 GB, free: 7.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001057/0.5931, allocations: 49.62 kB / 0.4946 GB, free: 7.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5931, allocations: 8 kB / 0.4946 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5931, allocations: 3.938 kB / 0.4946 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5931, allocations: 0 / 0.4946 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.87e-05/0.5932, allocations: 4 kB / 0.4946 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.174e-06/0.5932, allocations: 3.984 kB / 0.4946 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.5932, allocations: 12 kB / 0.4946 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5933, allocations: 3.984 kB / 0.4946 GB, free: 7.75 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.51e-05/0.5934, allocations: 108.9 kB / 0.4947 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5934, allocations: 0 / 0.4947 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.5935, allocations: 56.73 kB / 0.4948 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5936, allocations: 4 kB / 0.4948 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-06/0.5936, allocations: 0 / 0.4948 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.143e-06/0.5936, allocations: 8.016 kB / 0.4948 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.5938, allocations: 145.7 kB / 0.4949 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.404e-06/0.5938, allocations: 3.953 kB / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-06/0.5938, allocations: 0 / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.727e-06/0.5939, allocations: 0 / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5939, allocations: 0 / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5939, allocations: 0 / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-06/0.5939, allocations: 4 kB / 0.4949 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.594, allocations: 131.5 kB / 0.4951 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.5941, allocations: 85.06 kB / 0.4951 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.5941, allocations: 3.938 kB / 0.4951 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.5942, allocations: 0 / 0.4951 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.5942, allocations: 3.984 kB / 0.4952 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-06/0.5943, allocations: 4 kB / 0.4952 GB, free: 7.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.5943, allocations: 75.28 kB / 0.4952 GB, free: 7.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.5943, allocations: 0 / 0.4952 GB, free: 7.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.5948, allocations: 47.94 kB / 0.4953 GB, free: 6.98 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.0003485/0.5951, allocations: 155.3 kB / 0.4954 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.5953, allocations: 33.7 kB / 0.4955 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5953, allocations: 0 / 0.4955 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.5953, allocations: 29.64 kB / 0.4955 GB, free: 6.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.5955, allocations: 12.48 kB / 0.4955 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.5957, allocations: 60.92 kB / 0.4956 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.5961, allocations: 0.6734 MB / 0.4962 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.5961, allocations: 4 kB / 0.4962 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.5961, allocations: 7.438 kB / 0.4962 GB, free: 5.941 MB / 410.7 MB Notification: Performance of SimCode: time 1.409e-06/0.5961, allocations: 0 / 0.4962 GB, free: 5.941 MB / 410.7 MB Notification: Performance of Templates: time 0.00364/0.5998, allocations: 0.8376 MB / 0.497 GB, free: 5.105 MB / 410.7 MB