Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.524e-05, allocations: 8 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.4698, allocations: 80.41 MB / 440.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4701, allocations: 68.75 kB / 440.3 MB, free: 468 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03801/0.5081, allocations: 8.166 MB / 448.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.159e-06/0.5082, allocations: 0 / 448.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.5082, allocations: 0 / 448.4 MB, free: 8.301 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000383/0.5086, allocations: 342.3 kB / 448.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5086, allocations: 8.031 kB / 448.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.5087, allocations: 11.95 kB / 448.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.5088, allocations: 159.1 kB / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5089, allocations: 0 / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5089, allocations: 0 / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.509, allocations: 38.53 kB / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.926e-06/0.509, allocations: 0 / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.509, allocations: 0 / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.661e-06/0.509, allocations: 0 / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.5091, allocations: 7.953 kB / 449 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.5093, allocations: 145.7 kB / 449.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.5093, allocations: 22.55 kB / 449.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.5094, allocations: 12.84 kB / 449.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.5094, allocations: 4.062 kB / 449.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.5094, allocations: 35.16 kB / 449.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.032e-06/0.5095, allocations: 0 / 449.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.5096, allocations: 33.7 kB / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5096, allocations: 55.41 kB / 449.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.5097, allocations: 88.95 kB / 449.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5098, allocations: 25.7 kB / 449.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.5098, allocations: 84.14 kB / 449.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.5099, allocations: 8.969 kB / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-06/0.5099, allocations: 0 / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.51, allocations: 314.8 kB / 449.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.5101, allocations: 8.094 kB / 449.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.5101, allocations: 4 kB / 449.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.675e-05/0.5101, allocations: 0 / 449.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-06/0.5101, allocations: 0 / 449.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.746e-05/0.5102, allocations: 37.61 kB / 449.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5103, allocations: 4 kB / 449.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5103, allocations: 0 / 449.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5103, allocations: 4 kB / 449.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-06/0.5103, allocations: 1.406 kB / 449.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.628e-06/0.5103, allocations: 8.078 kB / 449.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.5104, allocations: 0 / 449.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5104, allocations: 3.953 kB / 449.9 MB, free: 6.656 MB / 378.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 9.027e-05/0.5105, allocations: 101 kB / 450 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.5105, allocations: 8 kB / 450 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.5107, allocations: 44.72 kB / 450 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-06/0.5107, allocations: 8.016 kB / 450 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.923e-06/0.5107, allocations: 4 kB / 450 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-06/0.5107, allocations: 0 / 450 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.5109, allocations: 153.6 kB / 450.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-06/0.5109, allocations: 0 / 450.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-06/0.5109, allocations: 0 / 450.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.465e-06/0.5109, allocations: 3.984 kB / 450.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-06/0.5109, allocations: 3.984 kB / 450.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5109, allocations: 1.781 kB / 450.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-06/0.5109, allocations: 0 / 450.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.5111, allocations: 61.09 kB / 450.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.5111, allocations: 85.05 kB / 450.3 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.5111, allocations: 3.984 kB / 450.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.5112, allocations: 0 / 450.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.5112, allocations: 4 kB / 450.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-06/0.5113, allocations: 3.938 kB / 450.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.5113, allocations: 79.28 kB / 450.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.5113, allocations: 4.125 kB / 450.4 MB, free: 6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.5117, allocations: 47.94 kB / 450.5 MB, free: 5.953 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.000354/0.5121, allocations: 151.1 kB / 450.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.5122, allocations: 33.7 kB / 450.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.94e-06/0.5122, allocations: 0 / 450.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.5123, allocations: 29.7 kB / 450.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.5124, allocations: 3.953 kB / 450.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.5126, allocations: 57.86 kB / 450.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.513, allocations: 0.677 MB / 451.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.513, allocations: 0 / 451.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.513, allocations: 7.438 kB / 451.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.405e-06/0.513, allocations: 0 / 451.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of Templates: time 0.004128/0.5172, allocations: 0.8391 MB / 452.3 MB, free: 4.098 MB / 378.7 MB