Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.472e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 54.87 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003528/0.3873, allocations: 1.358 MB / 364.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3895, allocations: 0.6493 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.3898, allocations: 1.094 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.3901, allocations: 22.22 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.3904, allocations: 29.05 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3907, allocations: 47.48 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3909, allocations: 48.02 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3911, allocations: 7.594 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3912, allocations: 32.89 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3914, allocations: 26.09 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.3916, allocations: 31.55 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.3916, allocations: 3.25 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.3917, allocations: 14.98 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.3918, allocations: 9.062 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.3921, allocations: 83.89 kB / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3922, allocations: 0 / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3922, allocations: 0 / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3922, allocations: 1.344 kB / 365.2 MB, free: 10.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008086/0.393, allocations: 444.1 kB / 365.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.3931, allocations: 13.25 kB / 365.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.3932, allocations: 13.48 kB / 365.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.3936, allocations: 199.9 kB / 365.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.3937, allocations: 14.31 kB / 365.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.3938, allocations: 3.719 kB / 365.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.394, allocations: 58.17 kB / 365.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3941, allocations: 0 / 365.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3941, allocations: 5.109 kB / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3941, allocations: 3.953 kB / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3943, allocations: 19.08 kB / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.395, allocations: 290.5 kB / 366.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3953, allocations: 61.08 kB / 366.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.3954, allocations: 2.094 kB / 366.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.3957, allocations: 68.84 kB / 366.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.378e-06/0.3957, allocations: 0 / 366.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001026/0.3968, allocations: 191.9 kB / 366.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3969, allocations: 52.72 kB / 366.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.3972, allocations: 167.4 kB / 366.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3972, allocations: 26.95 kB / 366.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3974, allocations: 164.8 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.3975, allocations: 27.36 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.3975, allocations: 5.312 kB / 367 MB, free: 8.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3977, allocations: 312.3 kB / 367.3 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3979, allocations: 39.67 kB / 367.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3981, allocations: 52.11 kB / 367.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3983, allocations: 61.02 kB / 367.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3983, allocations: 0 / 367.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005465/0.3989, allocations: 152.5 kB / 367.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.399, allocations: 40.23 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.399, allocations: 1.344 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.399, allocations: 1.562 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.3992, allocations: 25.02 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3993, allocations: 1.188 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3994, allocations: 3.438 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.3995, allocations: 4.906 kB / 367.7 MB, free: 7.883 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 (11): * Single equations (assignments): 10 * 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.0002103/0.3997, allocations: 131.5 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3998, allocations: 12.22 kB / 367.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/0.3998, allocations: 17.86 kB / 367.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3999, allocations: 3.938 kB / 367.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3999, allocations: 5.219 kB / 367.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3999, allocations: 0 / 367.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/0.4008, allocations: 386.8 kB / 368.2 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4009, allocations: 3.953 kB / 368.2 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/0.401, allocations: 11.78 kB / 368.2 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.401, allocations: 4.906 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.401, allocations: 6.109 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.401, allocations: 1.406 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4011, allocations: 4.031 kB / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.4016, allocations: 211 kB / 368.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4017, allocations: 97.94 kB / 368.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.4018, allocations: 2.125 kB / 368.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.402, allocations: 2.094 kB / 368.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.402, allocations: 15.86 kB / 368.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.4021, allocations: 3.219 kB / 368.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002376/0.4023, allocations: 137.3 kB / 368.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4024, allocations: 0 / 368.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006345/0.403, allocations: 32.44 kB / 368.8 MB, free: 6.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001832/0.4049, allocations: 407.1 kB / 369.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4056, allocations: 159.3 kB / 369.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4056, allocations: 0 / 369.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.4058, allocations: 26.22 kB / 369.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.4063, allocations: 21.84 kB / 369.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.4072, allocations: 271.4 kB / 369.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.4076, allocations: 0.7058 MB / 370.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.4077, allocations: 22.23 kB / 370.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4077, allocations: 0 / 370.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of Templates: time 0.007418/0.4152, allocations: 1.874 MB / 372.2 MB, free: 4.129 MB / 298.7 MB