Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.805/1.805, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.278e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08653, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4265, allocations: 75.79 MB / 397.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4268, allocations: 75.44 kB / 397.6 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.4413, allocations: 3.962 MB / 401.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.754e-06/0.4413, allocations: 0 / 401.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4413, allocations: 3.844 kB / 401.6 MB, free: 6.051 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.0003718/0.4417, allocations: 406.4 kB / 402 MB, free: 5.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4418, allocations: 11.53 kB / 402 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.4418, allocations: 7.75 kB / 402 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.442, allocations: 197 kB / 402.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4421, allocations: 3.844 kB / 402.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.4421, allocations: 7.984 kB / 402.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.4422, allocations: 52.89 kB / 402.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4422, allocations: 0 / 402.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.985e-06/0.4423, allocations: 0 / 402.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.899e-06/0.4423, allocations: 0 / 402.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.4423, allocations: 15.48 kB / 402.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.4427, allocations: 293 kB / 402.6 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.4429, allocations: 45.09 kB / 402.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.4429, allocations: 15.8 kB / 402.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.761e-06/0.443, allocations: 0 / 402.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.4431, allocations: 58.92 kB / 402.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.4431, allocations: 3.812 kB / 402.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003767/0.4435, allocations: 102.7 kB / 402.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.4435, allocations: 55.34 kB / 402.8 MB, free: 4.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4437, allocations: 157.2 kB / 403 MB, free: 4.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4437, allocations: 29.55 kB / 403 MB, free: 4.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.4438, allocations: 156.9 kB / 403.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.4438, allocations: 15.64 kB / 403.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-06/0.4438, allocations: 3.375 kB / 403.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.4439, allocations: 314.7 kB / 403.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.4439, allocations: 20.62 kB / 403.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.444, allocations: 18.47 kB / 403.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.4441, allocations: 58.72 kB / 403.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-06/0.4441, allocations: 3.938 kB / 403.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002041/0.4443, allocations: 126.3 kB / 403.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.4444, allocations: 31.42 kB / 403.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-06/0.4444, allocations: 0 / 403.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4444, allocations: 3.812 kB / 403.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.4445, allocations: 11.61 kB / 403.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.358e-06/0.4445, allocations: 3.953 kB / 403.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.4446, allocations: 7.469 kB / 403.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4446, allocations: 0 / 403.8 MB, free: 4.078 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.499e-05/0.4446, allocations: 116.8 kB / 403.9 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.4447, allocations: 7.625 kB / 403.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.4449, allocations: 91.53 kB / 404 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4449, allocations: 128 / 404 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-06/0.4449, allocations: 4 kB / 404 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.445, allocations: 3.953 kB / 404 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.4453, allocations: 353.2 kB / 404.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4453, allocations: 7.938 kB / 404.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.4454, allocations: 7.688 kB / 404.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.561e-06/0.4454, allocations: 0 / 404.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4454, allocations: 0 / 404.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.632e-06/0.4454, allocations: 3.953 kB / 404.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-06/0.4455, allocations: 0 / 404.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.4456, allocations: 177.2 kB / 404.5 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.4458, allocations: 84.77 kB / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.4458, allocations: 0 / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.446, allocations: 11.36 kB / 404.6 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.446, allocations: 11.92 kB / 404.6 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.446, allocations: 3.875 kB / 404.6 MB, free: 19.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4461, allocations: 123.6 kB / 404.8 MB, free: 19.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.4462, allocations: 0 / 404.8 MB, free: 19.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.4465, allocations: 35.08 kB / 404.8 MB, free: 19.22 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.001041/0.4476, allocations: 348.4 kB / 405.1 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.4478, allocations: 110 kB / 405.2 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.778e-06/0.4478, allocations: 0 / 405.2 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.4479, allocations: 19.38 kB / 405.3 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.4482, allocations: 18.83 kB / 405.3 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.4485, allocations: 153.6 kB / 405.4 MB, free: 18.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.4489, allocations: 0.6992 MB / 406.1 MB, free: 18.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.449, allocations: 15.12 kB / 406.1 MB, free: 18.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.417e-06/0.449, allocations: 0 / 406.1 MB, free: 18.07 MB / 330.7 MB Notification: Performance of Templates: time 0.003493/0.4525, allocations: 1.67 MB / 407.8 MB, free: 17.23 MB / 330.7 MB