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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.987e-05, allocations: 0 / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3665, allocations: 48.7 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007959/0.3674, allocations: 295 kB / 325.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.3677, allocations: 103.9 kB / 325.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.3678, allocations: 1.375 kB / 325.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.3678, allocations: 3.938 kB / 325.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.368, allocations: 25.03 kB / 325.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.368, allocations: 0 / 325.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.959e-05/0.3681, allocations: 9.641 kB / 325.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.3681, allocations: 1.828 kB / 325.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.3682, allocations: 15.61 kB / 325.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.3682, allocations: 15.28 kB / 325.3 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.3684, allocations: 42.59 kB / 325.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3684, allocations: 3.688 kB / 325.3 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.3684, allocations: 4.75 kB / 325.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.724e-06/0.3685, allocations: 0 / 325.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3686, allocations: 27.52 kB / 325.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.3686, allocations: 0 / 325.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.3686, allocations: 0 / 325.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3686, allocations: 0 / 325.4 MB, free: 2.758 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.0002302/0.3689, allocations: 339.5 kB / 325.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3689, allocations: 12.91 kB / 325.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.369, allocations: 2.25 kB / 325.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.3691, allocations: 165.2 kB / 325.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3691, allocations: 6.109 kB / 325.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3691, allocations: 2.984 kB / 325.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3693, allocations: 58.75 kB / 326 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3693, allocations: 0 / 326 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3693, allocations: 1.188 kB / 326 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3693, allocations: 1.406 kB / 326 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3695, allocations: 65.27 kB / 326 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.3697, allocations: 173.7 kB / 326.2 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3699, allocations: 82.86 kB / 326.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.3703, allocations: 252.1 kB / 326.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.3703, allocations: 32.64 kB / 326.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3703, allocations: 7.938 kB / 326.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000294/0.3706, allocations: 99.72 kB / 326.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3707, allocations: 56.98 kB / 326.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.3707, allocations: 87.97 kB / 326.8 MB, free: 1.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3708, allocations: 25.7 kB / 326.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.3708, allocations: 150.6 kB / 327 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.3708, allocations: 36.25 kB / 327 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.3709, allocations: 4 kB / 327 MB, free: 1.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.3709, allocations: 318.8 kB / 327.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.371, allocations: 15.52 kB / 327.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.3711, allocations: 20.95 kB / 327.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.3711, allocations: 18.41 kB / 327.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3711, allocations: 1.188 kB / 327.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.3713, allocations: 87.66 kB / 327.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3714, allocations: 9.188 kB / 327.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3714, allocations: 3.938 kB / 327.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3714, allocations: 1.719 kB / 327.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3716, allocations: 15.94 kB / 327.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3716, allocations: 4.906 kB / 327.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.3717, allocations: 7.906 kB / 327.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3717, allocations: 2.219 kB / 327.5 MB, free: 0.7227 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.633e-05/0.3718, allocations: 112.6 kB / 327.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.3718, allocations: 15.02 kB / 327.6 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.372, allocations: 100.5 kB / 327.7 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3721, allocations: 1.188 kB / 327.7 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3721, allocations: 4 kB / 327.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3721, allocations: 0.8438 kB / 327.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3722, allocations: 174.5 kB / 327.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3722, allocations: 3.609 kB / 327.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3724, allocations: 15.02 kB / 327.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3724, allocations: 1.844 kB / 327.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3724, allocations: 3.953 kB / 327.9 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3725, allocations: 2.5 kB / 327.9 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3725, allocations: 0 / 327.9 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3727, allocations: 119.3 kB / 328 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3727, allocations: 78.48 kB / 328.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3727, allocations: 1.922 kB / 328.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.3728, allocations: 7.953 kB / 328.1 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.3728, allocations: 9.359 kB / 328.1 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3728, allocations: 3.094 kB / 328.1 MB, free: 132 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.333e-05/0.3729, allocations: 76.44 kB / 328.2 MB, free: 56 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3729, allocations: 0 / 328.2 MB, free: 56 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.3732, allocations: 20.55 kB / 328.2 MB, free: 48 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.0001926/0.3734, allocations: 112.4 kB / 328.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.3736, allocations: 58.69 kB / 328.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3736, allocations: 0 / 328.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.3737, allocations: 29.72 kB / 328.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.3738, allocations: 3.031 kB / 328.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.3743, allocations: 186.4 kB / 328.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3746, allocations: 0.6845 MB / 329.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3746, allocations: 12.78 kB / 329.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3746, allocations: 0 / 329.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Templates: time 0.003158/0.3778, allocations: 0.8126 MB / 330.1 MB, free: 14.99 MB / 282.7 MB