Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 234.9 MB / 249.4 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.795e-05, allocations: 0 / 308 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3762, allocations: 54.87 MB / 362.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0006428/0.3769, allocations: 224.3 kB / 363.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.379, allocations: 1.309 MB / 364.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.3791, allocations: 0 / 364.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.3791, allocations: 0 / 364.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.3791, allocations: 0 / 364.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.3798, allocations: 131.6 kB / 364.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.3799, allocations: 4 kB / 364.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3799, allocations: 7.984 kB / 364.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.38, allocations: 0 / 364.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.38, allocations: 4 kB / 364.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.3806, allocations: 251.7 kB / 364.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.3807, allocations: 16 kB / 364.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3807, allocations: 11.94 kB / 364.8 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.3807, allocations: 0 / 364.8 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3809, allocations: 83.81 kB / 364.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.381, allocations: 0 / 364.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.381, allocations: 0 / 364.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.381, allocations: 4 kB / 364.9 MB, free: 9.664 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003663/0.3814, allocations: 335.3 kB / 365.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3814, allocations: 12.02 kB / 365.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3815, allocations: 4 kB / 365.2 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3816, allocations: 165.4 kB / 365.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.3816, allocations: 0 / 365.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3816, allocations: 0 / 365.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3818, allocations: 29.7 kB / 365.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3818, allocations: 4 kB / 365.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3818, allocations: 0 / 365.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3818, allocations: 3.953 kB / 365.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.3819, allocations: 11.92 kB / 365.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.382, allocations: 145.7 kB / 365.6 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.72e-05/0.3821, allocations: 19.61 kB / 365.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3821, allocations: 0 / 365.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3822, allocations: 38.5 kB / 365.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.3822, allocations: 0 / 365.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.3823, allocations: 45.69 kB / 365.7 MB, free: 8.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3824, allocations: 51.41 kB / 365.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.3825, allocations: 92.95 kB / 365.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3825, allocations: 25.7 kB / 365.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.3825, allocations: 80.14 kB / 365.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3826, allocations: 4.25 kB / 365.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3826, allocations: 4 kB / 366 MB, free: 8.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3827, allocations: 314.8 kB / 366.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.3827, allocations: 4 kB / 366.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.3828, allocations: 0 / 366.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.8e-05/0.3828, allocations: 0 / 366.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3828, allocations: 0 / 366.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.006e-05/0.3829, allocations: 33.7 kB / 366.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3829, allocations: 4 kB / 366.3 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3829, allocations: 4.094 kB / 366.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.383, allocations: 7.938 kB / 366.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.383, allocations: 3.984 kB / 366.3 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3831, allocations: 4 kB / 366.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.3831, allocations: 0 / 366.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3831, allocations: 11.89 kB / 366.3 MB, free: 8.027 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 (1): * Single equations (assignments): 1 * 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 7.985e-05/0.3832, allocations: 110.7 kB / 366.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.3832, allocations: 0 / 366.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.3834, allocations: 52.7 kB / 366.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3834, allocations: 0 / 366.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3834, allocations: 0 / 366.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3834, allocations: 4 kB / 366.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3835, allocations: 153.6 kB / 366.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3836, allocations: 0 / 366.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.3836, allocations: 0 / 366.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3836, allocations: 4 kB / 366.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3836, allocations: 0 / 366.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3836, allocations: 7.969 kB / 366.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3836, allocations: 0 / 366.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.3837, allocations: 61.09 kB / 366.7 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.3838, allocations: 81.09 kB / 366.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3838, allocations: 0 / 366.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3839, allocations: 4 kB / 366.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.3839, allocations: 0 / 366.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3839, allocations: 4.031 kB / 366.8 MB, free: 7.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.384, allocations: 79.28 kB / 366.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.384, allocations: 3.938 kB / 366.9 MB, free: 7.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.3844, allocations: 43.98 kB / 366.9 MB, free: 7.332 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003692/0.3847, allocations: 139.2 kB / 367.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.3848, allocations: 7.938 kB / 367.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3849, allocations: 160 / 367.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.3849, allocations: 37.69 kB / 367.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.3851, allocations: 3.953 kB / 367.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.3853, allocations: 90.64 kB / 367.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3856, allocations: 0.677 MB / 367.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.3856, allocations: 0 / 367.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3857, allocations: 7.438 kB / 367.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3857, allocations: 4 kB / 367.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of Templates: time 0.004019/0.3897, allocations: 0.8647 MB / 368.8 MB, free: 5.438 MB / 298.7 MB