Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.847e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09573, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3328/0.4286, allocations: 75.78 MB / 397.5 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4288, allocations: 69.98 kB / 397.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.444, allocations: 4 MB / 401.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4441, allocations: 0 / 401.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4441, allocations: 2.656 kB / 401.6 MB, free: 6.047 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.0003691/0.4445, allocations: 414.3 kB / 402 MB, free: 5.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4445, allocations: 11.31 kB / 402 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.4446, allocations: 11.66 kB / 402 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.4448, allocations: 196.8 kB / 402.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4448, allocations: 0 / 402.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.4448, allocations: 11.45 kB / 402.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.445, allocations: 48.45 kB / 402.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.445, allocations: 0 / 402.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.445, allocations: 0 / 402.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-06/0.445, allocations: 4 kB / 402.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.4451, allocations: 14.91 kB / 402.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.4454, allocations: 292.4 kB / 402.6 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.4456, allocations: 48.22 kB / 402.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.4457, allocations: 8.703 kB / 402.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4457, allocations: 2.75 kB / 402.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.4458, allocations: 63.45 kB / 402.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.691e-06/0.4459, allocations: 0 / 402.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004047/0.4463, allocations: 111.5 kB / 402.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.4463, allocations: 54.78 kB / 402.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.4465, allocations: 155.3 kB / 403 MB, free: 4.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4465, allocations: 25.7 kB / 403.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.4466, allocations: 169.1 kB / 403.2 MB, free: 4.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.4466, allocations: 21.84 kB / 403.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-06/0.4466, allocations: 3.812 kB / 403.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.4467, allocations: 314.6 kB / 403.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.4468, allocations: 21.39 kB / 403.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.4468, allocations: 21.62 kB / 403.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.777e-05/0.4469, allocations: 54.88 kB / 403.6 MB, free: 4.184 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-06/0.4469, allocations: 0 / 403.6 MB, free: 4.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002388/0.4472, allocations: 122.2 kB / 403.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.4472, allocations: 40.75 kB / 403.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.647e-06/0.4473, allocations: 0 / 403.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4473, allocations: 4 kB / 403.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.4474, allocations: 7.688 kB / 403.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4474, allocations: 3.953 kB / 403.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.4475, allocations: 3.688 kB / 403.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.4475, allocations: 3.844 kB / 403.8 MB, free: 4.066 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.788e-05/0.4476, allocations: 116 kB / 403.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.4476, allocations: 11.66 kB / 404 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.4478, allocations: 87.11 kB / 404 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-06/0.4478, allocations: 7.844 kB / 404 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.402e-06/0.4479, allocations: 0 / 404 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-06/0.4479, allocations: 3.953 kB / 404.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.4482, allocations: 342.3 kB / 404.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-06/0.4482, allocations: 0 / 404.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.4483, allocations: 15.45 kB / 404.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.199e-06/0.4483, allocations: 192 / 404.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4483, allocations: 7.344 kB / 404.4 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4483, allocations: 7.891 kB / 404.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.827e-06/0.4484, allocations: 7.844 kB / 404.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.4487, allocations: 164.5 kB / 404.6 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.4487, allocations: 88.95 kB / 404.7 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.4488, allocations: 11.02 kB / 404.7 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.4489, allocations: 0 / 404.7 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.4489, allocations: 11.84 kB / 404.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.449, allocations: 0 / 404.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.4491, allocations: 135.1 kB / 404.8 MB, free: 19.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4491, allocations: 0 / 404.8 MB, free: 19.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000361/0.4495, allocations: 37.8 kB / 404.9 MB, free: 19.21 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.001056/0.4506, allocations: 349.3 kB / 405.2 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.4508, allocations: 116.3 kB / 405.3 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.894e-06/0.4508, allocations: 0 / 405.3 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.534e-05/0.4509, allocations: 18.38 kB / 405.3 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.4512, allocations: 15.05 kB / 405.4 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.4515, allocations: 165.4 kB / 405.5 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.4519, allocations: 0.7 MB / 406.2 MB, free: 18.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.452, allocations: 18.81 kB / 406.2 MB, free: 18.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.507e-06/0.452, allocations: 0 / 406.2 MB, free: 18.05 MB / 330.7 MB Notification: Performance of Templates: time 0.003504/0.4555, allocations: 1.708 MB / 407.9 MB, free: 17.18 MB / 330.7 MB