Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 1.886/1.886, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.807e-05, allocations: 4 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08622, allocations: 48.7 MB / 321.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4233, allocations: 75.74 MB / 397.5 MB, free: 7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4236, allocations: 69.8 kB / 397.6 MB, free: 7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.4385, allocations: 3.925 MB / 401.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.4385, allocations: 0 / 401.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4385, allocations: 0 / 401.5 MB, free: 6.062 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.0003884/0.4389, allocations: 414.8 kB / 401.9 MB, free: 5.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.439, allocations: 7.688 kB / 401.9 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.439, allocations: 7.75 kB / 401.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.4393, allocations: 197.9 kB / 402.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4393, allocations: 4 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.4393, allocations: 3.844 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.4394, allocations: 45.22 kB / 402.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4395, allocations: 0 / 402.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4395, allocations: 0 / 402.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-06/0.4395, allocations: 3.969 kB / 402.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.4396, allocations: 15.48 kB / 402.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.4399, allocations: 295 kB / 402.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4401, allocations: 49.62 kB / 402.5 MB, free: 5.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.4402, allocations: 8.703 kB / 402.5 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.4402, allocations: 7.828 kB / 402.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.4403, allocations: 59.16 kB / 402.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.561e-06/0.4403, allocations: 0 / 402.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003848/0.4407, allocations: 111.3 kB / 402.7 MB, free: 4.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.4408, allocations: 59.34 kB / 402.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4409, allocations: 158.2 kB / 402.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.441, allocations: 25.7 kB / 402.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.441, allocations: 164.9 kB / 403.1 MB, free: 4.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.441, allocations: 15.11 kB / 403.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-06/0.4411, allocations: 7.812 kB / 403.1 MB, free: 4.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.4411, allocations: 314.2 kB / 403.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.4412, allocations: 17.62 kB / 403.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.4413, allocations: 29.62 kB / 403.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.45e-05/0.4413, allocations: 51.78 kB / 403.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4414, allocations: 0 / 403.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000221/0.4416, allocations: 125.6 kB / 403.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.4416, allocations: 32.14 kB / 403.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.697e-06/0.4417, allocations: 0 / 403.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4417, allocations: 1.344 kB / 403.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.4417, allocations: 11.89 kB / 403.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.438e-06/0.4418, allocations: 3.953 kB / 403.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.4418, allocations: 5.906 kB / 403.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4419, allocations: 7.875 kB / 403.7 MB, free: 4.082 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 5.536e-05/0.4419, allocations: 107.9 kB / 403.8 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.442, allocations: 11.72 kB / 403.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.4422, allocations: 91.81 kB / 403.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-06/0.4422, allocations: 1.219 kB / 403.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-06/0.4422, allocations: 0 / 403.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-06/0.4423, allocations: 5.172 kB / 403.9 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.4426, allocations: 360 kB / 404.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-06/0.4426, allocations: 0 / 404.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.4427, allocations: 7.781 kB / 404.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.76e-06/0.4427, allocations: 0 / 404.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4427, allocations: 3.125 kB / 404.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.792e-06/0.4427, allocations: 11.92 kB / 404.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.998e-06/0.4428, allocations: 3.938 kB / 404.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.4431, allocations: 168.4 kB / 404.5 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.4432, allocations: 92.39 kB / 404.6 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.4432, allocations: 7.703 kB / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.4433, allocations: 0 / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.4433, allocations: 7.797 kB / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4434, allocations: 0 / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.4435, allocations: 135.5 kB / 404.7 MB, free: 19.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4435, allocations: 0 / 404.7 MB, free: 19.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.4439, allocations: 34.34 kB / 404.7 MB, free: 19.24 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.001044/0.445, allocations: 353.2 kB / 405.1 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.4452, allocations: 111.2 kB / 405.2 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.264e-06/0.4452, allocations: 0 / 405.2 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.4453, allocations: 21.52 kB / 405.2 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4456, allocations: 14.56 kB / 405.2 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.4459, allocations: 168.9 kB / 405.4 MB, free: 18.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4463, allocations: 0.702 MB / 406.1 MB, free: 18.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.4464, allocations: 11.12 kB / 406.1 MB, free: 18.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.528e-06/0.4464, allocations: 0 / 406.1 MB, free: 18.07 MB / 330.7 MB Notification: Performance of Templates: time 0.003653/0.4501, allocations: 1.717 MB / 407.8 MB, free: 17.21 MB / 330.7 MB