Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.07/2.07, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.478e-05, allocations: 8 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09084, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5117, allocations: 75.78 MB / 397.6 MB, free: 7.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.5119, allocations: 72.06 kB / 397.6 MB, free: 7.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.5279, allocations: 4.356 MB / 402 MB, free: 6.266 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.528, allocations: 0 / 402 MB, free: 6.266 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.528, allocations: 3.719 kB / 402 MB, free: 6.266 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.0003993/0.5284, allocations: 442.4 kB / 402.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5285, allocations: 7.75 kB / 402.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.5285, allocations: 18.91 kB / 402.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.5288, allocations: 212.5 kB / 402.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5288, allocations: 3.5 kB / 402.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.5288, allocations: 3.844 kB / 402.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.529, allocations: 41.25 kB / 402.7 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.529, allocations: 3.938 kB / 402.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.529, allocations: 0 / 402.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-06/0.529, allocations: 3.656 kB / 402.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.5291, allocations: 15.33 kB / 402.7 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.5294, allocations: 314 kB / 403 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.5297, allocations: 40.83 kB / 403.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.5297, allocations: 16.31 kB / 403.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5297, allocations: 0 / 403.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.5299, allocations: 62.28 kB / 403.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.39e-06/0.5299, allocations: 0 / 403.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003959/0.5303, allocations: 112.9 kB / 403.3 MB, free: 5.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.5303, allocations: 59.25 kB / 403.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.5306, allocations: 242.5 kB / 403.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.5307, allocations: 25.7 kB / 403.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.5307, allocations: 120.2 kB / 403.7 MB, free: 4.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.5308, allocations: 11.41 kB / 403.7 MB, free: 4.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-06/0.5308, allocations: 0 / 403.7 MB, free: 4.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.5309, allocations: 321.9 kB / 404 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.5309, allocations: 37.45 kB / 404.1 MB, free: 4.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.531, allocations: 22.03 kB / 404.1 MB, free: 4.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.5311, allocations: 51.78 kB / 404.1 MB, free: 4.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-06/0.5311, allocations: 0 / 404.1 MB, free: 4.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002226/0.5313, allocations: 141.8 kB / 404.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.5314, allocations: 33.53 kB / 404.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5314, allocations: 0 / 404.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5314, allocations: 3.844 kB / 404.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.5315, allocations: 7.688 kB / 404.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.416e-06/0.5315, allocations: 0 / 404.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.5316, allocations: 3.844 kB / 404.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.5316, allocations: 11.94 kB / 404.3 MB, free: 4.285 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.402e-05/0.5317, allocations: 108.7 kB / 404.4 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.5317, allocations: 15.5 kB / 404.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.5319, allocations: 91.17 kB / 404.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-06/0.5319, allocations: 0 / 404.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.532, allocations: 3.844 kB / 404.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-06/0.532, allocations: 144 / 404.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.5324, allocations: 390.6 kB / 404.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-06/0.5324, allocations: 192 / 404.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.5324, allocations: 15.7 kB / 404.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.5325, allocations: 0 / 404.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.68e-06/0.5325, allocations: 0 / 404.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.445e-06/0.5325, allocations: 0 / 404.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-06/0.5325, allocations: 3.938 kB / 405 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.5327, allocations: 182.5 kB / 405.1 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.5328, allocations: 103.9 kB / 405.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.5328, allocations: 0 / 405.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.533, allocations: 3.844 kB / 405.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.533, allocations: 3.984 kB / 405.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.533, allocations: 3.938 kB / 405.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.5332, allocations: 191.4 kB / 405.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5332, allocations: 0 / 405.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.5336, allocations: 46.39 kB / 405.5 MB, free: 3.414 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.00116/0.5348, allocations: 346.1 kB / 405.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.535, allocations: 118.1 kB / 405.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.968e-06/0.535, allocations: 0 / 405.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.5351, allocations: 13.88 kB / 405.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.5354, allocations: 20.11 kB / 406 MB, free: 3.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.5358, allocations: 204.1 kB / 406.2 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.5363, allocations: 0.7216 MB / 406.9 MB, free: 18.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.5363, allocations: 15.52 kB / 406.9 MB, free: 18.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.5364, allocations: 15.12 kB / 406.9 MB, free: 18.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.647e-06/0.5364, allocations: 4 kB / 406.9 MB, free: 18.25 MB / 330.7 MB Notification: Performance of Templates: time 0.005223/0.5416, allocations: 1.682 MB / 408.6 MB, free: 17.41 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.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.verboseRead,t_new.y[1],time