Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.837/1.837, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.963e-05, allocations: 8 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08725, allocations: 48.69 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.4861, allocations: 75.79 MB / 397.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.4865, allocations: 69.27 kB / 397.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.5116, allocations: 3.947 MB / 401.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.171e-06/0.5116, allocations: 0 / 401.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.5116, allocations: 3.844 kB / 401.6 MB, free: 6.156 MB / 314.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.0004836/0.5122, allocations: 417.9 kB / 402 MB, free: 5.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5122, allocations: 7.5 kB / 402 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.5123, allocations: 7.75 kB / 402 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.5126, allocations: 200.2 kB / 402.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.5127, allocations: 0 / 402.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.5127, allocations: 7.828 kB / 402.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5129, allocations: 52.27 kB / 402.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5129, allocations: 0 / 402.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.513, allocations: 0 / 402.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-06/0.513, allocations: 0 / 402.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.5131, allocations: 15.16 kB / 402.3 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.5136, allocations: 294.7 kB / 402.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.5139, allocations: 44.78 kB / 402.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.514, allocations: 8.703 kB / 402.6 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.514, allocations: 3.938 kB / 402.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.5142, allocations: 61.64 kB / 402.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.19e-06/0.5142, allocations: 0 / 402.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005665/0.5148, allocations: 105.1 kB / 402.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.5149, allocations: 59.28 kB / 402.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.5151, allocations: 154.4 kB / 403 MB, free: 4.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.5152, allocations: 29.08 kB / 403 MB, free: 4.805 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.5152, allocations: 161.3 kB / 403.2 MB, free: 4.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.5153, allocations: 13.67 kB / 403.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.5153, allocations: 3.844 kB / 403.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.5154, allocations: 314.2 kB / 403.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.5155, allocations: 21.94 kB / 403.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.5157, allocations: 24.81 kB / 403.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5158, allocations: 47.59 kB / 403.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.34e-06/0.5158, allocations: 7.719 kB / 403.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000361/0.5162, allocations: 124.2 kB / 403.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.5163, allocations: 34.8 kB / 403.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.5163, allocations: 0 / 403.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5163, allocations: 0 / 403.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5165, allocations: 15.17 kB / 403.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5165, allocations: 3.953 kB / 403.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.5166, allocations: 7.844 kB / 403.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.5167, allocations: 3.844 kB / 403.8 MB, free: 4.172 MB / 314.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 8.055e-05/0.5168, allocations: 108.2 kB / 403.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.5168, allocations: 7.75 kB / 403.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.5172, allocations: 88.36 kB / 404 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.5172, allocations: 0 / 404 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.959e-06/0.5172, allocations: 7.859 kB / 404 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-06/0.5172, allocations: 3.953 kB / 404 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.5178, allocations: 348.7 kB / 404.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.5178, allocations: 7.938 kB / 404.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.319e-05/0.5179, allocations: 7.469 kB / 404.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.5179, allocations: 0 / 404.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.518, allocations: 7.75 kB / 404.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.376e-06/0.518, allocations: 3.953 kB / 404.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.112e-06/0.518, allocations: 0 / 404.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.5183, allocations: 173.6 kB / 404.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5185, allocations: 88.44 kB / 404.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.5186, allocations: 0 / 404.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5188, allocations: 3.844 kB / 404.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.5188, allocations: 15.89 kB / 404.6 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.5189, allocations: 0 / 404.6 MB, free: 19.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.5191, allocations: 124.8 kB / 404.7 MB, free: 19.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.326e-06/0.5191, allocations: 0 / 404.7 MB, free: 19.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006661/0.5198, allocations: 35.17 kB / 404.8 MB, free: 19.32 MB / 330.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 (6): * Single equations (assignments): 5 * 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.001253/0.5211, allocations: 357.4 kB / 405.1 MB, free: 19.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.5213, allocations: 113 kB / 405.2 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.51e-06/0.5213, allocations: 0 / 405.2 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.5214, allocations: 19.38 kB / 405.3 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5217, allocations: 19.42 kB / 405.3 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.522, allocations: 149.8 kB / 405.4 MB, free: 18.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5224, allocations: 0.6987 MB / 406.1 MB, free: 18.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.5224, allocations: 15.28 kB / 406.1 MB, free: 18.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.501e-06/0.5225, allocations: 0 / 406.1 MB, free: 18.16 MB / 330.7 MB Notification: Performance of Templates: time 0.003392/0.5259, allocations: 1.661 MB / 407.8 MB, free: 17.33 MB / 330.7 MB