Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.6/2.6, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.903e-05/3.896e-05, allocations: 8 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4568, allocations: 54.84 MB / 362.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003751/0.4606, allocations: 1.327 MB / 364.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.4632, allocations: 0.6361 MB / 364.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.4634, allocations: 1.5 kB / 364.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.4638, allocations: 48.08 kB / 364.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.4642, allocations: 39.66 kB / 364.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.4645, allocations: 42.23 kB / 365 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4648, allocations: 43.16 kB / 365 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.4648, allocations: 5.016 kB / 365 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.465, allocations: 40.47 kB / 365.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.4652, allocations: 30.97 kB / 365.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.4654, allocations: 17.78 kB / 365.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.4655, allocations: 2.875 kB / 365.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.4655, allocations: 19.14 kB / 365.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.4656, allocations: 7.938 kB / 365.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.4659, allocations: 77.16 kB / 365.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.466, allocations: 0 / 365.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.466, allocations: 0 / 365.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.466, allocations: 0 / 365.2 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008783/0.4669, allocations: 427.9 kB / 365.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.467, allocations: 10.16 kB / 365.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.4671, allocations: 12.22 kB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.4676, allocations: 199 kB / 365.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.4676, allocations: 6.812 kB / 365.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.4677, allocations: 6.484 kB / 365.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.468, allocations: 55.7 kB / 365.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.468, allocations: 0 / 365.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.4681, allocations: 0.9375 kB / 365.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.4681, allocations: 3.953 kB / 365.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.4683, allocations: 16.61 kB / 365.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4687, allocations: 193 kB / 366.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.4691, allocations: 55.81 kB / 366.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.4692, allocations: 0 / 366.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.4695, allocations: 69.09 kB / 366.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 3.116e-06/0.4695, allocations: 0 / 366.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006729/0.4702, allocations: 96.05 kB / 366.3 MB, free: 9.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.4703, allocations: 60.48 kB / 366.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.4707, allocations: 163.1 kB / 366.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.4708, allocations: 34.67 kB / 366.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.471, allocations: 100.3 kB / 366.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.471, allocations: 14.12 kB / 366.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.4711, allocations: 1.188 kB / 366.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.4713, allocations: 321.8 kB / 367 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.4715, allocations: 24.58 kB / 367 MB, free: 8.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.4717, allocations: 39.83 kB / 367.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.472, allocations: 54.36 kB / 367.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.472, allocations: 0 / 367.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005902/0.4726, allocations: 137 kB / 367.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.4727, allocations: 36.12 kB / 367.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4727, allocations: 1.219 kB / 367.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4728, allocations: 1.438 kB / 367.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.473, allocations: 9.219 kB / 367.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.473, allocations: 4.031 kB / 367.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.4732, allocations: 24.77 kB / 367.3 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.4733, allocations: 7.734 kB / 367.3 MB, free: 8.434 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002167/0.4735, allocations: 125.8 kB / 367.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.4736, allocations: 7.844 kB / 367.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.987e-05/0.4737, allocations: 15.61 kB / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4737, allocations: 0.9062 kB / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4737, allocations: 1.031 kB / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4737, allocations: 0 / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.4741, allocations: 192.4 kB / 367.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4741, allocations: 320 / 367.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.4742, allocations: 11.09 kB / 367.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.4742, allocations: 1.094 kB / 367.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.4743, allocations: 1.031 kB / 367.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4743, allocations: 0 / 367.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4743, allocations: 1.031 kB / 367.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.4748, allocations: 113.5 kB / 367.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.475, allocations: 92.72 kB / 367.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.4751, allocations: 1.031 kB / 367.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4752, allocations: 5.875 kB / 367.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.4753, allocations: 10.11 kB / 367.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.4753, allocations: 3.594 kB / 367.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.4756, allocations: 132.3 kB / 368 MB, free: 7.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.4756, allocations: 0 / 368 MB, free: 7.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.4762, allocations: 29.61 kB / 368.1 MB, free: 7.742 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001615/0.4778, allocations: 352.9 kB / 368.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006189/0.4785, allocations: 136.3 kB / 368.6 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4785, allocations: 4.062 kB / 368.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4787, allocations: 23.89 kB / 368.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.4792, allocations: 24.25 kB / 368.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.48, allocations: 200.7 kB / 368.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.4806, allocations: 0.7032 MB / 369.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.4807, allocations: 6.297 kB / 369.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.4808, allocations: 16.45 kB / 369.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4809, allocations: 1.344 kB / 369.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of Templates: time 0.009419/0.4903, allocations: 1.366 MB / 370.9 MB, free: 5.438 MB / 298.7 MB