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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.769e-05, allocations: 3.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.000826/0.3844, allocations: 293.4 kB / 363.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003748/0.3848, allocations: 107.3 kB / 363.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3849, allocations: 1.375 kB / 363.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.3849, allocations: 0 / 363.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3851, allocations: 23.55 kB / 363.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.3851, allocations: 3.938 kB / 363.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.3852, allocations: 5.844 kB / 363.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.3852, allocations: 3.984 kB / 363.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.3852, allocations: 11.72 kB / 363.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.3853, allocations: 14.94 kB / 363.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3855, allocations: 41.36 kB / 363.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3855, allocations: 3.406 kB / 363.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.3855, allocations: 9.047 kB / 363.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.207e-06/0.3856, allocations: 0.9688 kB / 363.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3857, allocations: 27.73 kB / 363.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3857, allocations: 3.938 kB / 363.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3857, allocations: 0 / 363.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3857, allocations: 0 / 363.4 MB, free: 11.65 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.0003185/0.3861, allocations: 337.4 kB / 363.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3861, allocations: 13.75 kB / 363.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.3862, allocations: 5.328 kB / 363.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3863, allocations: 160.4 kB / 363.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3863, allocations: 5.344 kB / 363.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3864, allocations: 7.719 kB / 363.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3866, allocations: 59.27 kB / 364 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3866, allocations: 0 / 364 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3866, allocations: 5.219 kB / 364 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3866, allocations: 5.094 kB / 364 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3868, allocations: 56.95 kB / 364 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.387, allocations: 175.5 kB / 364.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.3873, allocations: 78.2 kB / 364.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.3877, allocations: 258.3 kB / 364.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3878, allocations: 35.62 kB / 364.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.3878, allocations: 0 / 364.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000363/0.3882, allocations: 101 kB / 364.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3882, allocations: 52.5 kB / 364.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.3883, allocations: 87.28 kB / 364.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3883, allocations: 29.7 kB / 364.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.3884, allocations: 150.6 kB / 365 MB, free: 9.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.3885, allocations: 32.8 kB / 365 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.3885, allocations: 0 / 365 MB, free: 9.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3886, allocations: 324.1 kB / 365.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.3887, allocations: 18.08 kB / 365.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.3888, allocations: 17.97 kB / 365.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.3889, allocations: 22.75 kB / 365.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3889, allocations: 0 / 365.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.3891, allocations: 86.61 kB / 365.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3891, allocations: 5.844 kB / 365.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3891, allocations: 0 / 365.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3892, allocations: 1.281 kB / 365.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.3893, allocations: 20.28 kB / 365.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3894, allocations: 1.75 kB / 365.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.3894, allocations: 5.594 kB / 365.5 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3894, allocations: 5.078 kB / 365.5 MB, free: 9.539 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 9.552e-05/0.3895, allocations: 116.6 kB / 365.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.3896, allocations: 5.125 kB / 365.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.3898, allocations: 94.8 kB / 365.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3899, allocations: 1.406 kB / 365.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3899, allocations: 5.469 kB / 365.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3899, allocations: 3.938 kB / 365.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3901, allocations: 184.6 kB / 365.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3901, allocations: 0 / 365.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3902, allocations: 13.44 kB / 365.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3902, allocations: 0 / 365.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3903, allocations: 5.625 kB / 365.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.3903, allocations: 9.547 kB / 365.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3903, allocations: 0 / 365.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.3905, allocations: 115.5 kB / 366 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.3906, allocations: 78.55 kB / 366.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3906, allocations: 5.375 kB / 366.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.3907, allocations: 7.922 kB / 366.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.3907, allocations: 3.062 kB / 366.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3907, allocations: 2.469 kB / 366.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.3908, allocations: 80.41 kB / 366.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3908, allocations: 0 / 366.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.3911, allocations: 15.91 kB / 366.2 MB, free: 8.82 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.000191/0.3913, allocations: 113.1 kB / 366.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3915, allocations: 53.89 kB / 366.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3915, allocations: 0 / 366.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.3916, allocations: 31.11 kB / 366.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.3917, allocations: 9.391 kB / 366.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.3922, allocations: 177.2 kB / 366.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3925, allocations: 0.6866 MB / 367.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.3926, allocations: 16.86 kB / 367.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3926, allocations: 0 / 367.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of Templates: time 0.003063/0.3957, allocations: 0.8126 MB / 368.1 MB, free: 7.387 MB / 298.7 MB