Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.347e-05, allocations: 0 / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3295, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4539, allocations: 80.42 MB / 440.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4542, allocations: 68.56 kB / 440.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03813/0.4923, allocations: 8.158 MB / 448.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.38e-06/0.4924, allocations: 4 kB / 448.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.957e-06/0.4924, allocations: 0 / 448.4 MB, free: 8.406 MB / 378.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.0003733/0.4928, allocations: 342.4 kB / 448.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4928, allocations: 8.031 kB / 448.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.4929, allocations: 7.953 kB / 448.8 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.493, allocations: 163 kB / 448.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.493, allocations: 0 / 448.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4931, allocations: 8 kB / 448.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4932, allocations: 29.7 kB / 448.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4932, allocations: 5.234 kB / 449 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-06/0.4932, allocations: 0 / 449 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4933, allocations: 4 kB / 449 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.4933, allocations: 7.953 kB / 449 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.4937, allocations: 244.9 kB / 449.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.4937, allocations: 18.52 kB / 449.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.4938, allocations: 4.859 kB / 449.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4938, allocations: 8.094 kB / 449.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.4938, allocations: 38.45 kB / 449.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.15e-06/0.4939, allocations: 0 / 449.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.494, allocations: 37.7 kB / 449.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4941, allocations: 58.03 kB / 449.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.4942, allocations: 85 kB / 449.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4942, allocations: 25.7 kB / 449.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.4943, allocations: 158.5 kB / 449.6 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.4943, allocations: 7.891 kB / 449.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.4943, allocations: 4 kB / 449.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4945, allocations: 315 kB / 449.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.4945, allocations: 4 kB / 450 MB, free: 6.656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.4946, allocations: 18.52 kB / 450 MB, free: 6.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.4946, allocations: 4 kB / 450 MB, free: 6.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-06/0.4946, allocations: 0 / 450 MB, free: 6.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001127/0.4947, allocations: 57.66 kB / 450 MB, free: 6.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4948, allocations: 5.719 kB / 450 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.4948, allocations: 0 / 450 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4948, allocations: 7.953 kB / 450 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.4949, allocations: 4 kB / 450 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4949, allocations: 0 / 450 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.4949, allocations: 0.875 kB / 450 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.495, allocations: 4 kB / 450.1 MB, free: 6.543 MB / 378.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.331e-05/0.4951, allocations: 105 kB / 450.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.4951, allocations: 4.062 kB / 450.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.4953, allocations: 52.8 kB / 450.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-06/0.4953, allocations: 3.953 kB / 450.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.655e-06/0.4953, allocations: 4 kB / 450.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-06/0.4953, allocations: 0 / 450.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.4955, allocations: 149.7 kB / 450.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.4955, allocations: 0 / 450.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-06/0.4955, allocations: 0 / 450.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-06/0.4955, allocations: 1.031 kB / 450.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-06/0.4956, allocations: 8.031 kB / 450.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4956, allocations: 0 / 450.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.522e-06/0.4956, allocations: 3.953 kB / 450.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.4957, allocations: 131.5 kB / 450.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4958, allocations: 81.05 kB / 450.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4958, allocations: 0 / 450.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.4959, allocations: 0 / 450.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.4959, allocations: 8.031 kB / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-06/0.4959, allocations: 3.953 kB / 450.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.496, allocations: 83.27 kB / 450.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.496, allocations: 0.6562 kB / 450.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.4964, allocations: 47.94 kB / 450.7 MB, free: 5.773 MB / 378.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.0003522/0.4968, allocations: 155.1 kB / 450.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.4969, allocations: 37.92 kB / 450.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.641e-06/0.4969, allocations: 4.062 kB / 450.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.497, allocations: 29.7 kB / 450.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.4971, allocations: 3.094 kB / 450.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.4973, allocations: 80 kB / 451 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.4977, allocations: 0.6731 MB / 451.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.4977, allocations: 7.438 kB / 451.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of SimCode: time 3.488e-06/0.4977, allocations: 0 / 451.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of Templates: time 0.002851/0.5006, allocations: 0.9792 MB / 452.7 MB, free: 3.742 MB / 378.7 MB