Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.673e-05, allocations: 4 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 48.69 MB / 321.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4949/0.6009, allocations: 76.01 MB / 397.8 MB, free: 7.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.6012, allocations: 66.88 kB / 397.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.6174, allocations: 4.473 MB / 402.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.088e-06/0.6174, allocations: 0 / 402.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.6174, allocations: 4 kB / 402.3 MB, free: 6.352 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.0003602/0.6178, allocations: 418.8 kB / 402.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6178, allocations: 7.688 kB / 402.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.6179, allocations: 7.75 kB / 402.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.6181, allocations: 190.4 kB / 402.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6182, allocations: 3.938 kB / 402.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.6182, allocations: 3.844 kB / 403 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.6183, allocations: 62.84 kB / 403 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6183, allocations: 0 / 403 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.6184, allocations: 0 / 403 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-06/0.6184, allocations: 0 / 403 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.6184, allocations: 15.55 kB / 403 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.6188, allocations: 282.5 kB / 403.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.619, allocations: 37.88 kB / 403.3 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.619, allocations: 20.42 kB / 403.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.619, allocations: 0 / 403.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.6192, allocations: 62.92 kB / 403.4 MB, free: 5.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.478e-06/0.6192, allocations: 0 / 403.4 MB, free: 5.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003818/0.6196, allocations: 103.4 kB / 403.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.6196, allocations: 81.05 kB / 403.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.6198, allocations: 132.1 kB / 403.7 MB, free: 5.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.6198, allocations: 29.69 kB / 403.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.6198, allocations: 99.19 kB / 403.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.6199, allocations: 14.91 kB / 403.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-06/0.6199, allocations: 3.875 kB / 403.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.6199, allocations: 315.5 kB / 404.2 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.62, allocations: 19.22 kB / 404.2 MB, free: 4.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.6201, allocations: 43.2 kB / 404.2 MB, free: 4.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.352e-05/0.6202, allocations: 51.58 kB / 404.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-06/0.6202, allocations: 4.031 kB / 404.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002175/0.6204, allocations: 121.5 kB / 404.4 MB, free: 4.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.6205, allocations: 30.95 kB / 404.4 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-06/0.6205, allocations: 3.875 kB / 404.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6205, allocations: 0 / 404.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.6206, allocations: 15.45 kB / 404.5 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.46e-06/0.6206, allocations: 0 / 404.5 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.6207, allocations: 3.844 kB / 404.5 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.6207, allocations: 3.953 kB / 404.5 MB, free: 4.387 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.736e-05/0.6208, allocations: 112.8 kB / 404.6 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.6208, allocations: 7.719 kB / 404.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.621, allocations: 84.48 kB / 404.7 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.616e-06/0.621, allocations: 7.844 kB / 404.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-06/0.621, allocations: 0 / 404.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.257e-06/0.6211, allocations: 3.984 kB / 404.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.6214, allocations: 339.9 kB / 405 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-06/0.6214, allocations: 4.125 kB / 405 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.6215, allocations: 15.75 kB / 405 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.285e-06/0.6215, allocations: 3.984 kB / 405 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.6215, allocations: 0 / 405 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.597e-06/0.6215, allocations: 3.875 kB / 405 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-06/0.6215, allocations: 0 / 405 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.6217, allocations: 173.8 kB / 405.2 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.6217, allocations: 84.52 kB / 405.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.6218, allocations: 0 / 405.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.6219, allocations: 7.844 kB / 405.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.6219, allocations: 4.078 kB / 405.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.6219, allocations: 7.781 kB / 405.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.622, allocations: 113.5 kB / 405.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.6221, allocations: 3.75 kB / 405.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.6225, allocations: 53.25 kB / 405.5 MB, free: 3.531 MB / 314.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.001227/0.6237, allocations: 431.1 kB / 405.9 MB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.6239, allocations: 108.8 kB / 406 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6239, allocations: 0 / 406 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.624, allocations: 22.89 kB / 406 MB, free: 3.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.6243, allocations: 15.48 kB / 406 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.6245, allocations: 107.9 kB / 406.2 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.625, allocations: 0.6935 MB / 406.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.625, allocations: 11.61 kB / 406.9 MB, free: 18.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.6251, allocations: 15.03 kB / 406.9 MB, free: 18.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6251, allocations: 0 / 406.9 MB, free: 18.35 MB / 330.7 MB Notification: Performance of Templates: time 0.005126/0.6302, allocations: 1.768 MB / 408.6 MB, free: 17.44 MB / 330.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.verboseRead,t_new.y[1],time