Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 1.823/1.823, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.462e-05/3.478e-05, allocations: 7.984 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08517, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4274, allocations: 75.75 MB / 397.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4277, allocations: 71.38 kB / 397.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.4424, allocations: 3.915 MB / 401.5 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.236e-06/0.4424, allocations: 0 / 401.5 MB, free: 6.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4424, allocations: 3.875 kB / 401.5 MB, free: 6.121 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.0003669/0.4428, allocations: 410.8 kB / 401.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4429, allocations: 7.812 kB / 401.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.4429, allocations: 19.62 kB / 401.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.4431, allocations: 197.9 kB / 402.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4432, allocations: 3.844 kB / 402.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4432, allocations: 0 / 402.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.722e-05/0.4433, allocations: 45.16 kB / 402.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4433, allocations: 0 / 402.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4434, allocations: 3.75 kB / 402.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-06/0.4434, allocations: 3.984 kB / 402.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.424e-05/0.4434, allocations: 11.67 kB / 402.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.4438, allocations: 300 kB / 402.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.444, allocations: 47.59 kB / 402.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.4441, allocations: 12.14 kB / 402.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.4441, allocations: 0 / 402.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.4442, allocations: 55.31 kB / 402.6 MB, free: 5.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.572e-06/0.4442, allocations: 4 kB / 402.6 MB, free: 5.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003743/0.4446, allocations: 112.8 kB / 402.7 MB, free: 4.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.4447, allocations: 53.91 kB / 402.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4448, allocations: 157.7 kB / 402.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4449, allocations: 29.55 kB / 402.9 MB, free: 4.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.4449, allocations: 160.5 kB / 403.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.445, allocations: 18.92 kB / 403.1 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-06/0.445, allocations: 3.938 kB / 403.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.445, allocations: 322 kB / 403.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.4451, allocations: 18.22 kB / 403.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.4452, allocations: 18.41 kB / 403.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.4453, allocations: 61.86 kB / 403.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-06/0.4453, allocations: 0 / 403.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002247/0.4455, allocations: 123.6 kB / 403.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.4456, allocations: 32.27 kB / 403.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.479e-06/0.4456, allocations: 1.375 kB / 403.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4456, allocations: 0 / 403.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.4457, allocations: 11.64 kB / 403.7 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.12e-06/0.4457, allocations: 5.172 kB / 403.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.4458, allocations: 9.906 kB / 403.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4458, allocations: 3.719 kB / 403.7 MB, free: 4.141 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.395e-05/0.4458, allocations: 107.5 kB / 403.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4459, allocations: 11.59 kB / 403.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4461, allocations: 88.14 kB / 403.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-06/0.4461, allocations: 5.484 kB / 403.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4462, allocations: 0 / 403.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-06/0.4462, allocations: 7.953 kB / 403.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.4465, allocations: 354.7 kB / 404.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-06/0.4465, allocations: 0 / 404.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.4466, allocations: 4.031 kB / 404.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.813e-06/0.4466, allocations: 3.812 kB / 404.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4466, allocations: 4 kB / 404.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.328e-06/0.4466, allocations: 4.047 kB / 404.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4466, allocations: 3.938 kB / 404.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.4468, allocations: 177.9 kB / 404.5 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.447, allocations: 84.83 kB / 404.6 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.4471, allocations: 3.062 kB / 404.6 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.4472, allocations: 7.828 kB / 404.6 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4472, allocations: 7.891 kB / 404.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4472, allocations: 3.906 kB / 404.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.4474, allocations: 134.1 kB / 404.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.4474, allocations: 0 / 404.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.4478, allocations: 33.03 kB / 404.7 MB, free: 19.29 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.001066/0.4489, allocations: 351.4 kB / 405.1 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.4491, allocations: 108.7 kB / 405.2 MB, free: 18.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.192e-06/0.4491, allocations: 7.188 kB / 405.2 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.4492, allocations: 25.64 kB / 405.2 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.4495, allocations: 10.66 kB / 405.2 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.4498, allocations: 161.5 kB / 405.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4502, allocations: 0.7028 MB / 406.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.4503, allocations: 11.34 kB / 406.1 MB, free: 18.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.67e-06/0.4503, allocations: 0 / 406.1 MB, free: 18.13 MB / 330.7 MB Notification: Performance of Templates: time 0.003616/0.4539, allocations: 1.714 MB / 407.8 MB, free: 17.26 MB / 330.7 MB