Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.66e-05, allocations: 0 / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.5203, allocations: 86.31 MB / 496.6 MB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5205, allocations: 67.97 kB / 496.6 MB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03867/0.5592, allocations: 8.262 MB / 0.4931 GB, free: 9.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.5593, allocations: 4 kB / 0.4931 GB, free: 9.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.864e-06/0.5593, allocations: 0 / 0.4931 GB, free: 9.516 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003836/0.5597, allocations: 346.4 kB / 0.4934 GB, free: 9.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5597, allocations: 8.031 kB / 0.4934 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.5598, allocations: 4 kB / 0.4934 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.5599, allocations: 163 kB / 0.4936 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.56, allocations: 0 / 0.4936 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.56, allocations: 3.953 kB / 0.4936 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.592e-05/0.5601, allocations: 37.69 kB / 0.4936 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-06/0.5601, allocations: 0 / 0.4936 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-06/0.5601, allocations: 0 / 0.4936 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-06/0.5601, allocations: 0 / 0.4936 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.5602, allocations: 4 kB / 0.4936 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.5604, allocations: 145.7 kB / 0.4937 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.172e-05/0.5604, allocations: 22.55 kB / 0.4938 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.5605, allocations: 4.859 kB / 0.4938 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.5605, allocations: 12.02 kB / 0.4938 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.5605, allocations: 38.53 kB / 0.4938 GB, free: 8.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.137e-06/0.5606, allocations: 0 / 0.4938 GB, free: 8.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.5607, allocations: 33.7 kB / 0.4939 GB, free: 8.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5607, allocations: 51.41 kB / 0.4939 GB, free: 8.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.5608, allocations: 89 kB / 0.494 GB, free: 8.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5609, allocations: 25.7 kB / 0.494 GB, free: 8.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.5609, allocations: 84.3 kB / 0.4941 GB, free: 8.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.561, allocations: 4 kB / 0.4941 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-06/0.561, allocations: 0 / 0.4941 GB, free: 8.266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5611, allocations: 322.8 kB / 0.4944 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.5612, allocations: 3.938 kB / 0.4944 GB, free: 7.938 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.5612, allocations: 4 kB / 0.4944 GB, free: 7.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.701e-05/0.5612, allocations: 0 / 0.4944 GB, free: 7.934 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-06/0.5612, allocations: 0 / 0.4944 GB, free: 7.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.5613, allocations: 37.77 kB / 0.4944 GB, free: 7.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.5614, allocations: 11.89 kB / 0.4945 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.5614, allocations: 4 kB / 0.4945 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5614, allocations: 4 kB / 0.4945 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-06/0.5614, allocations: 0 / 0.4945 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.676e-06/0.5614, allocations: 0 / 0.4945 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.5615, allocations: 0 / 0.4945 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.5615, allocations: 3.984 kB / 0.4945 GB, free: 7.867 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.812e-05/0.5616, allocations: 101 kB / 0.4946 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.5616, allocations: 4 kB / 0.4946 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.5618, allocations: 60.61 kB / 0.4946 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5618, allocations: 0 / 0.4946 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-06/0.5618, allocations: 0 / 0.4946 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.058e-06/0.5618, allocations: 3.984 kB / 0.4946 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.562, allocations: 141.7 kB / 0.4948 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.506e-06/0.562, allocations: 4 kB / 0.4948 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-06/0.562, allocations: 0 / 0.4948 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.562, allocations: 4.031 kB / 0.4948 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-06/0.562, allocations: 0 / 0.4948 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.562, allocations: 7.938 kB / 0.4948 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-06/0.562, allocations: 0 / 0.4948 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.5621, allocations: 57.14 kB / 0.4948 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.5622, allocations: 81.11 kB / 0.4949 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.5622, allocations: 0 / 0.4949 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.5623, allocations: 3.984 kB / 0.4949 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.5623, allocations: 15.92 kB / 0.4949 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5624, allocations: 0 / 0.4949 GB, free: 7.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.5624, allocations: 75.28 kB / 0.495 GB, free: 7.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.5624, allocations: 0 / 0.495 GB, free: 7.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.5628, allocations: 51.94 kB / 0.4951 GB, free: 7.164 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.0003488/0.5631, allocations: 150.2 kB / 0.4952 GB, free: 7.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.947e-05/0.5632, allocations: 29.8 kB / 0.4952 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.808e-06/0.5633, allocations: 4.062 kB / 0.4952 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.5633, allocations: 29.7 kB / 0.4953 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.5634, allocations: 9.156 kB / 0.4953 GB, free: 6.934 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.5637, allocations: 64.92 kB / 0.4953 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.564, allocations: 0.677 MB / 0.496 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.304e-05/0.5641, allocations: 0 / 0.496 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.5641, allocations: 7.438 kB / 0.496 GB, free: 6.137 MB / 410.7 MB Notification: Performance of SimCode: time 1.356e-06/0.5641, allocations: 0 / 0.496 GB, free: 6.137 MB / 410.7 MB Notification: Performance of Templates: time 0.003613/0.5677, allocations: 0.8453 MB / 0.4968 GB, free: 5.293 MB / 410.7 MB