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.941/1.941, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.406e-05, allocations: 7.984 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3595, allocations: 48.7 MB / 324.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007897/0.3603, allocations: 293.5 kB / 325.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.3607, allocations: 103.3 kB / 325.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.3607, allocations: 0 / 325.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.3607, allocations: 1.203 kB / 325.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3609, allocations: 26.94 kB / 325.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.361, allocations: 0 / 325.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.418e-05/0.361, allocations: 9.328 kB / 325.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.3611, allocations: 1.875 kB / 325.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.3611, allocations: 10.11 kB / 325.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.3612, allocations: 16.97 kB / 325.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3613, allocations: 43.73 kB / 325.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3613, allocations: 4.25 kB / 325.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.3614, allocations: 7.047 kB / 325.4 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-06/0.3614, allocations: 5.188 kB / 325.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3615, allocations: 23 kB / 325.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.3615, allocations: 0 / 325.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3615, allocations: 0 / 325.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.3615, allocations: 1.219 kB / 325.4 MB, free: 3.133 MB / 266.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.0002223/0.3618, allocations: 336.5 kB / 325.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3618, allocations: 8.969 kB / 325.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.3619, allocations: 10.16 kB / 325.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.362, allocations: 161.8 kB / 325.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.362, allocations: 10.27 kB / 325.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.362, allocations: 10.34 kB / 325.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3622, allocations: 53.78 kB / 326 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3622, allocations: 0 / 326 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3623, allocations: 2.391 kB / 326 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3623, allocations: 1.828 kB / 326 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.3624, allocations: 52.7 kB / 326 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.3626, allocations: 181 kB / 326.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3628, allocations: 79.48 kB / 326.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.3632, allocations: 259.9 kB / 326.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3633, allocations: 32.42 kB / 326.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.3633, allocations: 0 / 326.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002979/0.3636, allocations: 101 kB / 326.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3636, allocations: 52.66 kB / 326.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.3637, allocations: 90.8 kB / 326.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3637, allocations: 30.92 kB / 326.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.3638, allocations: 80.89 kB / 326.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.3638, allocations: 34.69 kB / 327 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.3638, allocations: 0 / 327 MB, free: 1.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.3639, allocations: 318.8 kB / 327.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.364, allocations: 19.47 kB / 327.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.364, allocations: 16.88 kB / 327.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.3641, allocations: 23.88 kB / 327.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3641, allocations: 128 / 327.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.3643, allocations: 92.09 kB / 327.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3643, allocations: 4.281 kB / 327.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3643, allocations: 1.344 kB / 327.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3644, allocations: 4.5 kB / 327.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3645, allocations: 16.31 kB / 327.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3646, allocations: 0 / 327.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.3646, allocations: 5.406 kB / 327.5 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3646, allocations: 2.438 kB / 327.5 MB, free: 1.164 MB / 266.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 6.374e-05/0.3647, allocations: 109.4 kB / 327.6 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.3647, allocations: 17.27 kB / 327.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.365, allocations: 101 kB / 327.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.365, allocations: 2.094 kB / 327.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.365, allocations: 1.062 kB / 327.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.365, allocations: 0 / 327.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3652, allocations: 184.1 kB / 327.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3652, allocations: 0 / 327.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3653, allocations: 15.55 kB / 327.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3653, allocations: 1.188 kB / 327.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3654, allocations: 12.52 kB / 327.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3654, allocations: 1.094 kB / 327.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3654, allocations: 0.6562 kB / 327.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.3656, allocations: 110.1 kB / 328 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.3656, allocations: 80.22 kB / 328.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3656, allocations: 5.031 kB / 328.1 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.3657, allocations: 5.203 kB / 328.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.3657, allocations: 4.969 kB / 328.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3657, allocations: 7.344 kB / 328.1 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.247e-05/0.3658, allocations: 76.95 kB / 328.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3658, allocations: 0 / 328.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.3661, allocations: 20.66 kB / 328.2 MB, free: 496 kB / 266.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.0001566/0.3662, allocations: 109 kB / 328.3 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.3664, allocations: 54.81 kB / 328.4 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3664, allocations: 0 / 328.4 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.3665, allocations: 33.5 kB / 328.4 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.3667, allocations: 9.953 kB / 328.4 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3671, allocations: 157.1 kB / 328.6 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3673, allocations: 0.6846 MB / 329.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.3674, allocations: 10.05 kB / 329.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3675, allocations: 11.88 kB / 329.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.3675, allocations: 0 / 329.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Templates: time 0.003591/0.3711, allocations: 0.6052 MB / 329.9 MB, free: 15.43 MB / 282.7 MB