Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 223.8 MB, free: 0.7812 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.904e-05, allocations: 3.281 kB / 276.2 MB, free: 15.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3715, allocations: 48.69 MB / 324.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006459/0.3722, allocations: 215.2 kB / 325.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3744, allocations: 1.296 MB / 326.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.3745, allocations: 1.203 kB / 326.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.3745, allocations: 0 / 326.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.3746, allocations: 0 / 326.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.3753, allocations: 139.7 kB / 326.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.478e-05/0.3754, allocations: 1.688 kB / 326.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.3755, allocations: 2.391 kB / 326.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.3755, allocations: 6.141 kB / 326.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.3755, allocations: 1.969 kB / 326.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.3762, allocations: 252.4 kB / 326.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.3763, allocations: 17.66 kB / 326.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.3763, allocations: 9.719 kB / 326.8 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.3763, allocations: 5.031 kB / 326.8 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3766, allocations: 78.83 kB / 326.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3766, allocations: 0 / 326.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3766, allocations: 1.375 kB / 326.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3766, allocations: 0 / 326.9 MB, free: 2.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003312/0.3769, allocations: 335.7 kB / 327.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.377, allocations: 13.38 kB / 327.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.377, allocations: 1.906 kB / 327.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.059e-05/0.3771, allocations: 166.5 kB / 327.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3771, allocations: 1.188 kB / 327.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3772, allocations: 5 kB / 327.4 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3773, allocations: 39.56 kB / 327.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3773, allocations: 0 / 327.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3774, allocations: 1.094 kB / 327.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3774, allocations: 0 / 327.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.3774, allocations: 9.672 kB / 327.4 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.3778, allocations: 249.5 kB / 327.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.3778, allocations: 17.17 kB / 327.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3779, allocations: 1.453 kB / 327.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3779, allocations: 32.14 kB / 327.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.3779, allocations: 0 / 327.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.3781, allocations: 46.36 kB / 327.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3781, allocations: 51.41 kB / 327.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.3782, allocations: 88.78 kB / 327.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3782, allocations: 27.14 kB / 327.9 MB, free: 1.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.3782, allocations: 85.17 kB / 328 MB, free: 1.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.3782, allocations: 1.406 kB / 328 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3783, allocations: 4 kB / 328 MB, free: 1.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.3783, allocations: 317.4 kB / 328.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.3783, allocations: 6.141 kB / 328.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.3784, allocations: 18.55 kB / 328.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.3784, allocations: 8.562 kB / 328.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3784, allocations: 0 / 328.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.955e-05/0.3785, allocations: 48.5 kB / 328.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3786, allocations: 14.08 kB / 328.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3786, allocations: 5.406 kB / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3786, allocations: 1.641 kB / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.3787, allocations: 5.109 kB / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3787, allocations: 1.75 kB / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.3787, allocations: 5.031 kB / 328.5 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3788, allocations: 6.375 kB / 328.5 MB, free: 0.8672 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.253e-05/0.3788, allocations: 112 kB / 328.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.3789, allocations: 1.125 kB / 328.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.379, allocations: 55.41 kB / 328.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.379, allocations: 1.766 kB / 328.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3791, allocations: 0.8125 kB / 328.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3791, allocations: 0 / 328.6 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.3792, allocations: 150.5 kB / 328.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3792, allocations: 1.547 kB / 328.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-06/0.3792, allocations: 1.219 kB / 328.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.3793, allocations: 2 kB / 328.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3793, allocations: 5.938 kB / 328.8 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3793, allocations: 3.938 kB / 328.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3793, allocations: 0.5625 kB / 328.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.687e-05/0.3794, allocations: 133.3 kB / 328.9 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.3794, allocations: 79.03 kB / 329 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3794, allocations: 0.6562 kB / 329 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.3795, allocations: 1.875 kB / 329 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3796, allocations: 5.406 kB / 329 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3796, allocations: 2 kB / 329 MB, free: 272 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.3796, allocations: 77.08 kB / 329.1 MB, free: 196 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3796, allocations: 3.938 kB / 329.1 MB, free: 192 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.3801, allocations: 40.33 kB / 329.1 MB, free: 188 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 (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.0003755/0.3805, allocations: 140.2 kB / 329.3 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.796e-05/0.3806, allocations: 8.516 kB / 329.3 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3806, allocations: 5.781 kB / 329.3 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.3807, allocations: 29.22 kB / 329.3 MB, free: 56 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3808, allocations: 9.453 kB / 329.3 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.3811, allocations: 90.38 kB / 329.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3814, allocations: 0.6748 MB / 330.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3815, allocations: 2 kB / 330.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.3815, allocations: 12.91 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3815, allocations: 0 / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of Templates: time 0.005049/0.3866, allocations: 0.8686 MB / 331 MB, free: 15.15 MB / 282.7 MB