Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 221.9 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.491e-05/6.533e-05, allocations: 4 kB / 273.1 MB, free: 0.7227 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09174, allocations: 48.71 MB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/0.4204, allocations: 75.77 MB / 397.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4206, allocations: 71 kB / 397.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.4381, allocations: 4.219 MB / 401.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4381, allocations: 0 / 401.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4381, allocations: 4 kB / 401.8 MB, free: 9.91 MB / 330.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.0005651/0.4387, allocations: 423.8 kB / 402.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4388, allocations: 8.031 kB / 402.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.4388, allocations: 11.91 kB / 402.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4392, allocations: 206.9 kB / 402.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4392, allocations: 0 / 402.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4392, allocations: 7.938 kB / 402.5 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.4394, allocations: 45.67 kB / 402.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4394, allocations: 0 / 402.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4394, allocations: 0 / 402.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-06/0.4394, allocations: 4 kB / 402.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.4395, allocations: 16 kB / 402.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.44, allocations: 300.8 kB / 402.8 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.4402, allocations: 42.5 kB / 402.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.4403, allocations: 20.94 kB / 402.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4403, allocations: 7.922 kB / 402.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.4405, allocations: 63.72 kB / 403 MB, free: 8.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.012e-06/0.4405, allocations: 0 / 403 MB, free: 8.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004767/0.441, allocations: 109.3 kB / 403.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4411, allocations: 55.36 kB / 403.1 MB, free: 8.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.4414, allocations: 190.5 kB / 403.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4414, allocations: 25.7 kB / 403.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4415, allocations: 170.5 kB / 403.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4416, allocations: 7.844 kB / 403.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-06/0.4416, allocations: 8 kB / 403.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4418, allocations: 318.8 kB / 403.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.4419, allocations: 20 kB / 403.8 MB, free: 7.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.4419, allocations: 20 kB / 403.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.442, allocations: 53.69 kB / 403.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-06/0.4421, allocations: 3.938 kB / 403.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000269/0.4423, allocations: 127.2 kB / 404 MB, free: 7.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.4424, allocations: 33.7 kB / 404.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4424, allocations: 0 / 404.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4424, allocations: 4 kB / 404.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.4425, allocations: 12 kB / 404.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4425, allocations: 0 / 404.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.4426, allocations: 11.94 kB / 404.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4427, allocations: 4 kB / 404.1 MB, free: 7.383 MB / 330.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 9.535e-05/0.4428, allocations: 105 kB / 404.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.4428, allocations: 11.91 kB / 404.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.4431, allocations: 90.7 kB / 404.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4431, allocations: 7.938 kB / 404.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-06/0.4431, allocations: 4 kB / 404.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.377e-06/0.4431, allocations: 3.984 kB / 404.3 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.4437, allocations: 366.4 kB / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4437, allocations: 0 / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.4437, allocations: 15.92 kB / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.093e-06/0.4438, allocations: 192 / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4438, allocations: 4 kB / 404.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.831e-06/0.4438, allocations: 0 / 404.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.717e-06/0.4438, allocations: 7.953 kB / 404.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4441, allocations: 175.4 kB / 404.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.4442, allocations: 85.02 kB / 405 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.4442, allocations: 8 kB / 405 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.4443, allocations: 0 / 405 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4444, allocations: 11.94 kB / 405 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4444, allocations: 0 / 405 MB, free: 6.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.4446, allocations: 164.9 kB / 405.1 MB, free: 6.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.4446, allocations: 0 / 405.1 MB, free: 6.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.445, allocations: 39.92 kB / 405.2 MB, free: 6.199 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.001123/0.4462, allocations: 355.5 kB / 405.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.4464, allocations: 107.4 kB / 405.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.4464, allocations: 0 / 405.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.4465, allocations: 19.94 kB / 405.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.4468, allocations: 15.98 kB / 405.7 MB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.4473, allocations: 187.8 kB / 405.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.4477, allocations: 0.7082 MB / 406.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.4478, allocations: 19.44 kB / 406.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4478, allocations: 4 kB / 406.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of Templates: time 0.004477/0.4523, allocations: 1.809 MB / 408.4 MB, free: 2.984 MB / 330.7 MB