Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 234.9 MB / 249.4 MB, free: 10.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.298e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4479, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0007578/0.4487, allocations: 230.8 kB / 363.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.4513, allocations: 1.29 MB / 364.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.4514, allocations: 0 / 364.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.4514, allocations: 5.156 kB / 364.4 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.4515, allocations: 0 / 364.4 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.4522, allocations: 137.2 kB / 364.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.4522, allocations: 5.047 kB / 364.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.4523, allocations: 4.531 kB / 364.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.4523, allocations: 2.5 kB / 364.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.4524, allocations: 1.906 kB / 364.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006127/0.453, allocations: 252.5 kB / 364.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.4531, allocations: 18.06 kB / 364.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.4531, allocations: 0 / 364.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.4531, allocations: 1.5 kB / 364.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.4533, allocations: 86.5 kB / 364.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4534, allocations: 3.938 kB / 364.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4534, allocations: 0 / 364.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.4534, allocations: 4.938 kB / 364.9 MB, free: 10.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003993/0.4538, allocations: 335.9 kB / 365.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4539, allocations: 10.12 kB / 365.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.4539, allocations: 0 / 365.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.454, allocations: 163.5 kB / 365.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4541, allocations: 1.125 kB / 365.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4541, allocations: 5.031 kB / 365.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4542, allocations: 38.12 kB / 365.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4543, allocations: 1.062 kB / 365.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4543, allocations: 4 kB / 365.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4543, allocations: 5.172 kB / 365.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.4543, allocations: 12.69 kB / 365.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.4548, allocations: 243.7 kB / 365.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.4548, allocations: 17.45 kB / 365.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.4549, allocations: 0 / 365.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4549, allocations: 39.89 kB / 365.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4549, allocations: 0 / 365.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.4551, allocations: 42.72 kB / 365.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.4551, allocations: 52.22 kB / 365.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.4552, allocations: 87.34 kB / 365.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4552, allocations: 26.55 kB / 366 MB, free: 9.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.4553, allocations: 85.45 kB / 366 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-06/0.4553, allocations: 4.25 kB / 366 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.4553, allocations: 5.531 kB / 366 MB, free: 9.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4554, allocations: 314.8 kB / 366.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.4555, allocations: 2.188 kB / 366.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.4555, allocations: 17.7 kB / 366.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.4556, allocations: 7.25 kB / 366.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4556, allocations: 0 / 366.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.544e-05/0.4557, allocations: 50.28 kB / 366.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4557, allocations: 5.125 kB / 366.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4557, allocations: 1.25 kB / 366.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4557, allocations: 5.328 kB / 366.4 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.4558, allocations: 13.38 kB / 366.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4559, allocations: 3.984 kB / 366.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.4559, allocations: 13.41 kB / 366.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4559, allocations: 6.672 kB / 366.5 MB, free: 8.973 MB / 298.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 8.508e-05/0.456, allocations: 111.2 kB / 366.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.4561, allocations: 1.594 kB / 366.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.4562, allocations: 39.58 kB / 366.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4562, allocations: 13.2 kB / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4562, allocations: 0 / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4563, allocations: 0 / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.4564, allocations: 148.6 kB / 366.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4565, allocations: 5.406 kB / 366.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-06/0.4565, allocations: 0 / 366.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4565, allocations: 0 / 366.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.4565, allocations: 1.062 kB / 366.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4565, allocations: 11.92 kB / 366.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4565, allocations: 5.016 kB / 366.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.4566, allocations: 126.8 kB / 366.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.4567, allocations: 78.23 kB / 367 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.4567, allocations: 4.969 kB / 367 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.4568, allocations: 1.25 kB / 367 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.4569, allocations: 3.984 kB / 367 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4569, allocations: 5.359 kB / 367 MB, free: 8.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.4569, allocations: 76.75 kB / 367.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.457, allocations: 1.406 kB / 367.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.4574, allocations: 41.31 kB / 367.1 MB, free: 8.277 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.0003871/0.4578, allocations: 140.2 kB / 367.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.4579, allocations: 11.16 kB / 367.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4579, allocations: 1.375 kB / 367.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.4579, allocations: 31.55 kB / 367.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.4581, allocations: 5.344 kB / 367.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.4584, allocations: 87.97 kB / 367.4 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4587, allocations: 0.6761 MB / 368.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.655e-05/0.4587, allocations: 9.25 kB / 368.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.4587, allocations: 9.5 kB / 368.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4588, allocations: 0 / 368.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of Templates: time 0.004167/0.4629, allocations: 0.8636 MB / 369 MB, free: 6.863 MB / 298.7 MB