Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.846/1.846, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.299e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08699, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4213, allocations: 75.75 MB / 397.5 MB, free: 7.125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4216, allocations: 68.16 kB / 397.6 MB, free: 7.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.4363, allocations: 3.957 MB / 401.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.335e-06/0.4364, allocations: 0 / 401.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.4364, allocations: 0 / 401.5 MB, free: 6.184 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.0006792/0.4371, allocations: 424.7 kB / 401.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.4372, allocations: 7.688 kB / 401.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.4373, allocations: 7.75 kB / 402 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4377, allocations: 201.1 kB / 402.2 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4378, allocations: 3.75 kB / 402.2 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.4378, allocations: 3.844 kB / 402.2 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.4381, allocations: 47.88 kB / 402.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4381, allocations: 0 / 402.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4381, allocations: 0 / 402.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4382, allocations: 3.984 kB / 402.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4383, allocations: 18.58 kB / 402.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.439, allocations: 291.8 kB / 402.5 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.4394, allocations: 48.62 kB / 402.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.4395, allocations: 12.55 kB / 402.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4395, allocations: 3.688 kB / 402.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.4397, allocations: 55.33 kB / 402.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.227e-06/0.4398, allocations: 0 / 402.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006482/0.4404, allocations: 115.7 kB / 402.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4405, allocations: 51.41 kB / 402.8 MB, free: 4.973 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.4408, allocations: 172.4 kB / 403 MB, free: 4.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.4409, allocations: 41.03 kB / 403 MB, free: 4.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.441, allocations: 161.7 kB / 403.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.441, allocations: 11.19 kB / 403.2 MB, free: 4.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.4411, allocations: 3.375 kB / 403.2 MB, free: 4.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.4412, allocations: 314.8 kB / 403.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4413, allocations: 22.23 kB / 403.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.4414, allocations: 25.47 kB / 403.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.4416, allocations: 51.91 kB / 403.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.12e-06/0.4416, allocations: 4 kB / 403.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004184/0.4421, allocations: 125.9 kB / 403.7 MB, free: 4.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.4421, allocations: 37.38 kB / 403.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.13e-06/0.4422, allocations: 0 / 403.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4422, allocations: 0 / 403.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4423, allocations: 11.78 kB / 403.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4424, allocations: 3.844 kB / 403.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4425, allocations: 3.938 kB / 403.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.4426, allocations: 11.78 kB / 403.8 MB, free: 4.184 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 9.132e-05/0.4427, allocations: 112.4 kB / 403.9 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.4427, allocations: 7.75 kB / 403.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.4431, allocations: 86.7 kB / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-06/0.4432, allocations: 0 / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4432, allocations: 0 / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4432, allocations: 0 / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.4438, allocations: 363.4 kB / 404.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-06/0.4439, allocations: 0 / 404.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.444, allocations: 7.906 kB / 404.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.997e-06/0.444, allocations: 7.938 kB / 404.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.444, allocations: 3.5 kB / 404.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.021e-06/0.4441, allocations: 0 / 404.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-06/0.4441, allocations: 3.844 kB / 404.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.4446, allocations: 180.1 kB / 404.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4447, allocations: 88.64 kB / 404.6 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.4448, allocations: 3.625 kB / 404.6 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.445, allocations: 4 kB / 404.6 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4451, allocations: 11.83 kB / 404.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.4451, allocations: 3.844 kB / 404.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.4454, allocations: 142.5 kB / 404.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.126e-06/0.4454, allocations: 0 / 404.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007712/0.4462, allocations: 38.59 kB / 404.8 MB, free: 19.33 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.001805/0.4481, allocations: 359.9 kB / 405.2 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.4485, allocations: 116.1 kB / 405.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.562e-06/0.4485, allocations: 0 / 405.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.951e-05/0.4486, allocations: 18.48 kB / 405.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.4491, allocations: 13.69 kB / 405.3 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.4497, allocations: 176.2 kB / 405.5 MB, free: 18.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.4504, allocations: 0.7029 MB / 406.2 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.4505, allocations: 18.73 kB / 406.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.856e-06/0.4505, allocations: 0 / 406.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of Templates: time 0.006305/0.4568, allocations: 1.738 MB / 407.9 MB, free: 17.28 MB / 330.7 MB