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.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.135e-05, allocations: 8 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4605, allocations: 54.85 MB / 362.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007617/0.4613, allocations: 296.2 kB / 363.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003495/0.4617, allocations: 99.55 kB / 363.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.4617, allocations: 1.25 kB / 363.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.4618, allocations: 0 / 363.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.462, allocations: 27.36 kB / 363.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.462, allocations: 3.938 kB / 363.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.674e-05/0.462, allocations: 5.172 kB / 363.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.4621, allocations: 1.125 kB / 363.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.4621, allocations: 14.86 kB / 363.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.4622, allocations: 7.766 kB / 363.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.4623, allocations: 53.41 kB / 363.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.4624, allocations: 4.281 kB / 363.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.4624, allocations: 7.875 kB / 363.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.4624, allocations: 1.375 kB / 363.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.4625, allocations: 31.05 kB / 363.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.4625, allocations: 0 / 363.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4625, allocations: 0 / 363.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4626, allocations: 1.375 kB / 363.4 MB, free: 11.9 MB / 298.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.0003027/0.4629, allocations: 328.4 kB / 363.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4629, allocations: 14.31 kB / 363.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.463, allocations: 13.61 kB / 363.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4631, allocations: 164.5 kB / 363.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.4632, allocations: 1.531 kB / 363.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4632, allocations: 11.05 kB / 363.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4634, allocations: 55.38 kB / 364 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4634, allocations: 0 / 364 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4634, allocations: 4 kB / 364 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.4634, allocations: 5.891 kB / 364 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.4636, allocations: 57.06 kB / 364.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.4638, allocations: 175.2 kB / 364.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.464, allocations: 83.39 kB / 364.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/0.4645, allocations: 248.5 kB / 364.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4645, allocations: 32.69 kB / 364.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.4646, allocations: 0 / 364.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003221/0.4649, allocations: 105.4 kB / 364.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4649, allocations: 52.66 kB / 364.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.465, allocations: 94.14 kB / 364.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4651, allocations: 27.42 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.4651, allocations: 84.12 kB / 364.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.4652, allocations: 27.22 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4652, allocations: 1.5 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4653, allocations: 326.7 kB / 365.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.4654, allocations: 19.12 kB / 365.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.4654, allocations: 21.33 kB / 365.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.4655, allocations: 18.75 kB / 365.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4655, allocations: 0 / 365.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.4658, allocations: 87.28 kB / 365.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4658, allocations: 4.844 kB / 365.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4658, allocations: 0 / 365.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4658, allocations: 0.8438 kB / 365.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.466, allocations: 21.8 kB / 365.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.466, allocations: 0 / 365.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.4661, allocations: 5.438 kB / 365.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.4661, allocations: 2.656 kB / 365.5 MB, free: 9.855 MB / 298.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 0.0001031/0.4662, allocations: 115.3 kB / 365.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.4663, allocations: 7.219 kB / 365.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.4666, allocations: 102.2 kB / 365.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4666, allocations: 1.062 kB / 365.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4666, allocations: 5.125 kB / 365.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4666, allocations: 3.938 kB / 365.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.4668, allocations: 176.9 kB / 365.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4668, allocations: 0 / 365.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.467, allocations: 21.36 kB / 365.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.467, allocations: 1.156 kB / 365.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.467, allocations: 5.094 kB / 365.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.467, allocations: 0 / 365.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.467, allocations: 1.219 kB / 365.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4673, allocations: 119.1 kB / 366 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.4674, allocations: 82.27 kB / 366.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4674, allocations: 1.125 kB / 366.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.4674, allocations: 0.9375 kB / 366.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.4675, allocations: 11.3 kB / 366.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4675, allocations: 2.125 kB / 366.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.4676, allocations: 76.41 kB / 366.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4676, allocations: 0 / 366.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.4679, allocations: 19.25 kB / 366.2 MB, free: 9.133 MB / 298.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.0001877/0.4681, allocations: 110.4 kB / 366.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.4683, allocations: 56.81 kB / 366.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4683, allocations: 0 / 366.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.4684, allocations: 34.77 kB / 366.4 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.4685, allocations: 10.14 kB / 366.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.469, allocations: 145.3 kB / 366.5 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4693, allocations: 0.691 MB / 367.2 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.4694, allocations: 8.5 kB / 367.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.4694, allocations: 15.61 kB / 367.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4694, allocations: 0 / 367.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of Templates: time 0.003644/0.4731, allocations: 0.603 MB / 367.9 MB, free: 7.816 MB / 298.7 MB