Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.841/1.841, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.405e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08617/0.08623, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.4981, allocations: 75.74 MB / 397.5 MB, free: 7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.4983, allocations: 65.27 kB / 397.6 MB, free: 7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01402/0.5124, allocations: 3.811 MB / 401.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.5124, allocations: 0 / 401.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.5124, allocations: 5.281 kB / 401.4 MB, free: 6.109 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.0003399/0.5128, allocations: 407.8 kB / 401.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.5128, allocations: 9.219 kB / 401.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.5129, allocations: 7.844 kB / 401.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.5131, allocations: 196.9 kB / 402 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5131, allocations: 1.312 kB / 402 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5131, allocations: 3.906 kB / 402 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.5132, allocations: 54.56 kB / 402 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.944e-06/0.5133, allocations: 0 / 402 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5133, allocations: 3.984 kB / 402 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-06/0.5133, allocations: 0 / 402 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.5134, allocations: 10.47 kB / 402.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.5137, allocations: 288 kB / 402.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.5139, allocations: 41.89 kB / 402.4 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.5139, allocations: 24.48 kB / 402.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.514, allocations: 0 / 402.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.5141, allocations: 58.66 kB / 402.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.5141, allocations: 0 / 402.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003548/0.5144, allocations: 109 kB / 402.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.5145, allocations: 55.25 kB / 402.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.5146, allocations: 142.2 kB / 402.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.5147, allocations: 29.64 kB / 402.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.5147, allocations: 163.3 kB / 402.9 MB, free: 4.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.5147, allocations: 22.77 kB / 403 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-06/0.5148, allocations: 0 / 403 MB, free: 4.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.5148, allocations: 314.3 kB / 403.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.5149, allocations: 21.75 kB / 403.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.5149, allocations: 22.05 kB / 403.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.515, allocations: 50.92 kB / 403.4 MB, free: 4.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-06/0.515, allocations: 7.984 kB / 403.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002046/0.5153, allocations: 122.9 kB / 403.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.5153, allocations: 42.25 kB / 403.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-06/0.5153, allocations: 0 / 403.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.5153, allocations: 0 / 403.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.5154, allocations: 7.656 kB / 403.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.75e-06/0.5154, allocations: 3.844 kB / 403.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.5155, allocations: 0 / 403.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5155, allocations: 10.3 kB / 403.6 MB, free: 4.129 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 4.984e-05/0.5156, allocations: 104.9 kB / 403.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.5156, allocations: 14.58 kB / 403.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.5158, allocations: 89.52 kB / 403.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-06/0.5159, allocations: 0 / 403.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5159, allocations: 3.969 kB / 403.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.231e-06/0.5159, allocations: 0 / 403.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.5162, allocations: 344.7 kB / 404.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-06/0.5162, allocations: 0 / 404.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.5163, allocations: 7.719 kB / 404.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.79e-06/0.5163, allocations: 11.75 kB / 404.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5163, allocations: 3.312 kB / 404.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-06/0.5163, allocations: 0 / 404.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-06/0.5163, allocations: 0 / 404.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.5165, allocations: 172.4 kB / 404.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.5167, allocations: 88.48 kB / 404.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.5167, allocations: 7.875 kB / 404.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.5169, allocations: 4 kB / 404.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.5169, allocations: 7.859 kB / 404.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5169, allocations: 3.875 kB / 404.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.517, allocations: 117.6 kB / 404.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.517, allocations: 0 / 404.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.5174, allocations: 27.16 kB / 404.5 MB, free: 19.29 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.001008/0.5184, allocations: 358.3 kB / 404.9 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.5186, allocations: 107.6 kB / 405 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.626e-06/0.5187, allocations: 3.938 kB / 405 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.5187, allocations: 23.39 kB / 405 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.519, allocations: 15.42 kB / 405 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.5193, allocations: 142.3 kB / 405.2 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.5197, allocations: 0.7028 MB / 405.9 MB, free: 18.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.5197, allocations: 14.97 kB / 405.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.459e-06/0.5198, allocations: 0 / 405.9 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Templates: time 0.003259/0.523, allocations: 1.634 MB / 407.5 MB, free: 17.3 MB / 330.7 MB