Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.878/1.878, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-05/5.914e-05, allocations: 7.938 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.4744, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003339/0.4778, allocations: 1.303 MB / 326.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4792, allocations: 400.6 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.4793, allocations: 1.531 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.4796, allocations: 21.14 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.4798, allocations: 29.67 kB / 326.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4802, allocations: 50.45 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.4804, allocations: 43.22 kB / 326.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.4805, allocations: 6.312 kB / 326.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.4806, allocations: 19.91 kB / 326.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.4807, allocations: 20.59 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.4809, allocations: 30.73 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.481, allocations: 3.969 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.481, allocations: 15.09 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.4811, allocations: 2.906 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.4814, allocations: 80.91 kB / 326.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4814, allocations: 0 / 326.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4815, allocations: 5.312 kB / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4815, allocations: 0 / 326.9 MB, free: 2.445 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005512/0.482, allocations: 407.4 kB / 327.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4821, allocations: 9.312 kB / 327.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.4822, allocations: 8.234 kB / 327.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.4825, allocations: 198 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.4825, allocations: 5.203 kB / 327.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.4826, allocations: 2.828 kB / 327.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4827, allocations: 47.16 kB / 327.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4828, allocations: 1.688 kB / 327.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4828, allocations: 5.062 kB / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4828, allocations: 0 / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.4829, allocations: 14.06 kB / 327.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.4834, allocations: 284.3 kB / 327.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4837, allocations: 37.92 kB / 327.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.4838, allocations: 5.781 kB / 327.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.484, allocations: 59.83 kB / 328 MB, free: 1.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.484, allocations: 5.094 kB / 328 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006586/0.4847, allocations: 111.9 kB / 328.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.4847, allocations: 53.47 kB / 328.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.485, allocations: 169 kB / 328.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.4851, allocations: 30.89 kB / 328.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.4852, allocations: 112 kB / 328.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.4852, allocations: 13.06 kB / 328.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.4852, allocations: 1.031 kB / 328.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.4853, allocations: 328 kB / 328.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.4854, allocations: 19.75 kB / 328.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.4856, allocations: 16.02 kB / 328.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4857, allocations: 50.97 kB / 328.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4857, allocations: 1.281 kB / 328.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003369/0.4861, allocations: 122.1 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.4861, allocations: 37.67 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4861, allocations: 0 / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4862, allocations: 1.156 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.4863, allocations: 10.5 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4863, allocations: 1.953 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.4864, allocations: 2.656 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.4864, allocations: 7.391 kB / 329 MB, free: 0.4961 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001381/0.4866, allocations: 125.1 kB / 329.2 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.4866, allocations: 8.984 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.4867, allocations: 19.52 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4867, allocations: 0 / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4868, allocations: 0.5156 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.4868, allocations: 0.6562 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.4873, allocations: 339.7 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4874, allocations: 0 / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.4874, allocations: 6.297 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4875, allocations: 0.6094 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4875, allocations: 6.312 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4875, allocations: 5.344 kB / 329.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4875, allocations: 0 / 329.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.4879, allocations: 177.5 kB / 329.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.488, allocations: 92.73 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.4881, allocations: 1.719 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.4882, allocations: 2.109 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.4883, allocations: 4.625 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.4883, allocations: 3.375 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.4886, allocations: 140.9 kB / 329.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4886, allocations: 0 / 329.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005919/0.4892, allocations: 28.3 kB / 330 MB, free: 15.66 MB / 282.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001395/0.4906, allocations: 338 kB / 330.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.491, allocations: 111.2 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.491, allocations: 0 / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.4911, allocations: 14.61 kB / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.4916, allocations: 19.61 kB / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.4924, allocations: 201.9 kB / 330.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.4929, allocations: 0.7017 MB / 331.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.846e-05/0.493, allocations: 12.17 kB / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.4931, allocations: 17.52 kB / 331.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4931, allocations: 1.156 kB / 331.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of Templates: time 0.00837/0.5015, allocations: 1.41 MB / 332.8 MB, free: 14.32 MB / 282.7 MB