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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 1.787/1.787, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.564e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09206, allocations: 48.7 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.4788, allocations: 75.78 MB / 397.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.4792, allocations: 67.83 kB / 397.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02755/0.5068, allocations: 4.022 MB / 401.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.828e-06/0.5069, allocations: 0 / 401.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.5069, allocations: 0 / 401.6 MB, free: 6.105 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.0006738/0.5076, allocations: 416.6 kB / 402 MB, free: 5.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.5077, allocations: 15.53 kB / 402 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.218e-05/0.5078, allocations: 7.75 kB / 402.1 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.5082, allocations: 193.6 kB / 402.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.5083, allocations: 0 / 402.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.5083, allocations: 7.219 kB / 402.3 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.5085, allocations: 40.38 kB / 402.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5086, allocations: 0 / 402.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.5086, allocations: 0 / 402.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.319e-06/0.5086, allocations: 0 / 402.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.5088, allocations: 23.14 kB / 402.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.5094, allocations: 303.6 kB / 402.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.5098, allocations: 41.22 kB / 402.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.5099, allocations: 15.89 kB / 402.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.51, allocations: 0 / 402.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.5102, allocations: 57.03 kB / 402.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.34e-06/0.5102, allocations: 4 kB / 402.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007226/0.511, allocations: 113.2 kB / 402.8 MB, free: 4.965 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.511, allocations: 51.41 kB / 402.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.5114, allocations: 156.4 kB / 403 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.5114, allocations: 29.67 kB / 403.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.5115, allocations: 161.2 kB / 403.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.5116, allocations: 19.3 kB / 403.2 MB, free: 4.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.5116, allocations: 0 / 403.2 MB, free: 4.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.5118, allocations: 318.3 kB / 403.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.5119, allocations: 22.22 kB / 403.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.5121, allocations: 17.12 kB / 403.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.5122, allocations: 58.88 kB / 403.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5123, allocations: 0 / 403.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004631/0.5127, allocations: 124 kB / 403.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.5128, allocations: 37.45 kB / 403.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.436e-06/0.5129, allocations: 0 / 403.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.5129, allocations: 0 / 403.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.513, allocations: 15.61 kB / 403.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5131, allocations: 7.953 kB / 403.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.5132, allocations: 3.844 kB / 403.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.5133, allocations: 6.875 kB / 403.8 MB, free: 4.125 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 0.0001026/0.5134, allocations: 112.8 kB / 404 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.5135, allocations: 11.66 kB / 404 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.5139, allocations: 88.39 kB / 404 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.188e-06/0.514, allocations: 3.984 kB / 404.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.769e-06/0.514, allocations: 128 / 404.1 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.526e-06/0.514, allocations: 11.95 kB / 404.1 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.5147, allocations: 350.2 kB / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-06/0.5148, allocations: 0 / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.5149, allocations: 7.625 kB / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5149, allocations: 0 / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.5149, allocations: 3.844 kB / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.515, allocations: 3.953 kB / 404.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.515, allocations: 0 / 404.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.5154, allocations: 179.1 kB / 404.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.5156, allocations: 84.86 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.5157, allocations: 6.75 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.516, allocations: 3.984 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.5161, allocations: 7.766 kB / 404.7 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5161, allocations: 3.906 kB / 404.7 MB, free: 19.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.5164, allocations: 134.4 kB / 404.8 MB, free: 19.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.364e-06/0.5164, allocations: 0 / 404.8 MB, free: 19.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008842/0.5173, allocations: 38.19 kB / 404.9 MB, free: 19.28 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.002049/0.5194, allocations: 345.8 kB / 405.2 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.5199, allocations: 112.5 kB / 405.3 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.5199, allocations: 7.938 kB / 405.3 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.52, allocations: 22.11 kB / 405.3 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.5206, allocations: 11 kB / 405.4 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.5212, allocations: 167.1 kB / 405.5 MB, free: 18.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5216, allocations: 0.6955 MB / 406.2 MB, free: 18.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.5217, allocations: 15 kB / 406.2 MB, free: 18.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5217, allocations: 0 / 406.2 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Templates: time 0.003479/0.5252, allocations: 1.715 MB / 407.9 MB, free: 17.25 MB / 330.7 MB