Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.752e-05, allocations: 0 / 273.1 MB, free: 268 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08457, allocations: 48.71 MB / 321.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3167/0.4013, allocations: 72.81 MB / 394.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4016, allocations: 67.95 kB / 394.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003565/0.4051, allocations: 0.8963 MB / 395.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.947e-06/0.4052, allocations: 0 / 395.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.864e-06/0.4052, allocations: 0 / 395.5 MB, free: 15.94 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003117/0.4055, allocations: 338.3 kB / 395.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4056, allocations: 12.03 kB / 395.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.4056, allocations: 4 kB / 395.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4058, allocations: 171 kB / 396.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4058, allocations: 4 kB / 396.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4058, allocations: 11.98 kB / 396.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.406, allocations: 55.48 kB / 396.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.406, allocations: 2.562 kB / 396.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.406, allocations: 0 / 396.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-06/0.406, allocations: 4 kB / 396.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.4061, allocations: 43.97 kB / 396.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.4064, allocations: 181.5 kB / 396.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.4065, allocations: 62.58 kB / 396.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.4066, allocations: 32.84 kB / 396.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.407, allocations: 255.6 kB / 396.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.407, allocations: 34.5 kB / 396.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.433e-06/0.4071, allocations: 4 kB / 396.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002279/0.4073, allocations: 77.62 kB / 396.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.4074, allocations: 55.34 kB / 396.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.4074, allocations: 89 kB / 397 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4075, allocations: 25.7 kB / 397 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.4075, allocations: 84.12 kB / 397.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.4076, allocations: 35.47 kB / 397.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-06/0.4076, allocations: 224 / 397.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4078, allocations: 319 kB / 397.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.4078, allocations: 23.94 kB / 397.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.4079, allocations: 16 kB / 397.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.408, allocations: 12 kB / 397.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-06/0.408, allocations: 0 / 397.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.4082, allocations: 89.56 kB / 397.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4082, allocations: 4 kB / 397.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-06/0.4082, allocations: 0 / 397.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4082, allocations: 0 / 397.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4084, allocations: 16 kB / 397.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.11e-06/0.4084, allocations: 4 kB / 397.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.4084, allocations: 0 / 397.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4085, allocations: 4.375 kB / 397.6 MB, free: 13.65 MB / 330.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.048e-05/0.4086, allocations: 112.9 kB / 397.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.4086, allocations: 11.86 kB / 397.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.4088, allocations: 94.45 kB / 397.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-06/0.4089, allocations: 0 / 397.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-06/0.4089, allocations: 3.938 kB / 397.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-06/0.4089, allocations: 8 kB / 397.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4091, allocations: 177.5 kB / 398 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-06/0.4091, allocations: 4 kB / 398 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.4092, allocations: 16 kB / 398 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-06/0.4092, allocations: 3.953 kB / 398 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-06/0.4092, allocations: 0 / 398 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.432e-06/0.4092, allocations: 0 / 398 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-06/0.4093, allocations: 0 / 398 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4095, allocations: 113 kB / 398.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.4095, allocations: 81.11 kB / 398.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4096, allocations: 3.953 kB / 398.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.4096, allocations: 0 / 398.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.4096, allocations: 11.98 kB / 398.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-06/0.4097, allocations: 0 / 398.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.4097, allocations: 79.28 kB / 398.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4097, allocations: 0 / 398.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.41, allocations: 23.94 kB / 398.3 MB, free: 12.82 MB / 330.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000168/0.4102, allocations: 119.3 kB / 398.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4103, allocations: 44 kB / 398.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.491e-06/0.4104, allocations: 3.938 kB / 398.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/0.4104, allocations: 28.31 kB / 398.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.4106, allocations: 8.188 kB / 398.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.4109, allocations: 96.75 kB / 398.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4113, allocations: 0.6887 MB / 399.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.4113, allocations: 4 kB / 399.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.4114, allocations: 19.42 kB / 399.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.376e-06/0.4114, allocations: 0 / 399.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of Templates: time 0.003068/0.4144, allocations: 0.6089 MB / 399.9 MB, free: 11.15 MB / 330.7 MB