Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.655e-05, allocations: 8 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3943, allocations: 54.85 MB / 362.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002613/0.397, allocations: 1.36 MB / 364.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3987, allocations: 0.6523 MB / 364.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.3989, allocations: 1.094 kB / 364.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3992, allocations: 25.59 kB / 364.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.3994, allocations: 34.91 kB / 364.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3996, allocations: 47.38 kB / 365 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3998, allocations: 52.03 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3999, allocations: 2.594 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4, allocations: 35.25 kB / 365.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4001, allocations: 23.73 kB / 365.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4003, allocations: 26.73 kB / 365.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4003, allocations: 8.531 kB / 365.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.4004, allocations: 25.22 kB / 365.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.4004, allocations: 8.969 kB / 365.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.4007, allocations: 83.89 kB / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4007, allocations: 0 / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.749e-06/0.4007, allocations: 0 / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4007, allocations: 3.938 kB / 365.3 MB, free: 10.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006793/0.4014, allocations: 452 kB / 365.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4015, allocations: 16.84 kB / 365.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.4016, allocations: 17.47 kB / 365.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.4019, allocations: 199.2 kB / 365.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.402, allocations: 1.375 kB / 365.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.402, allocations: 4.156 kB / 365.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.4023, allocations: 57.19 kB / 366 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4023, allocations: 1.469 kB / 366 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4023, allocations: 0 / 366 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4023, allocations: 9.359 kB / 366 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.4025, allocations: 26.17 kB / 366 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.403, allocations: 300 kB / 366.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.4033, allocations: 57.52 kB / 366.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.4033, allocations: 1.406 kB / 366.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.4036, allocations: 77.42 kB / 366.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.4036, allocations: 0 / 366.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008498/0.4044, allocations: 186.2 kB / 366.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.4045, allocations: 52.41 kB / 366.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.4048, allocations: 204.9 kB / 366.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.4049, allocations: 26.67 kB / 366.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.405, allocations: 110.3 kB / 367 MB, free: 8.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.405, allocations: 23.09 kB / 367 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.4051, allocations: 1.344 kB / 367 MB, free: 8.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4052, allocations: 334.8 kB / 367.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.4054, allocations: 27.7 kB / 367.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.4055, allocations: 50.41 kB / 367.4 MB, free: 8.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.4057, allocations: 65.2 kB / 367.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4057, allocations: 0 / 367.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004639/0.4062, allocations: 164.2 kB / 367.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.4063, allocations: 47.92 kB / 367.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4063, allocations: 0.9688 kB / 367.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4063, allocations: 0.9062 kB / 367.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.4065, allocations: 21.67 kB / 367.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4065, allocations: 0.9688 kB / 367.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.717e-05/0.4066, allocations: 4.25 kB / 367.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.4067, allocations: 12.44 kB / 367.8 MB, free: 8.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0001745/0.4069, allocations: 127.3 kB / 367.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4069, allocations: 9.156 kB / 367.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.407, allocations: 23.36 kB / 367.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.407, allocations: 1.094 kB / 367.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.407, allocations: 0 / 367.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.407, allocations: 5.297 kB / 367.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.4078, allocations: 405.1 kB / 368.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4079, allocations: 3.953 kB / 368.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.4079, allocations: 7.75 kB / 368.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4079, allocations: 1.094 kB / 368.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.408, allocations: 6.219 kB / 368.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.408, allocations: 1.031 kB / 368.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.408, allocations: 1.062 kB / 368.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.4084, allocations: 222.2 kB / 368.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4085, allocations: 103.4 kB / 368.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4086, allocations: 5.25 kB / 368.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4087, allocations: 5.781 kB / 368.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.4088, allocations: 9.109 kB / 368.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.4088, allocations: 2.281 kB / 368.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.409, allocations: 157.7 kB / 368.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.409, allocations: 0 / 368.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000363/0.4094, allocations: 29.48 kB / 368.9 MB, free: 7.152 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001257/0.4107, allocations: 407.6 kB / 369.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.4111, allocations: 150.3 kB / 369.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4111, allocations: 1.031 kB / 369.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4113, allocations: 33.3 kB / 369.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4116, allocations: 29.73 kB / 369.5 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.4123, allocations: 259.9 kB / 369.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4128, allocations: 0.717 MB / 370.4 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.4129, allocations: 19.97 kB / 370.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.4129, allocations: 14.62 kB / 370.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4129, allocations: 0 / 370.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of Templates: time 0.006369/0.4193, allocations: 1.608 MB / 372.1 MB, free: 4.219 MB / 298.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_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,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.timeScale,t_new.verboseRead,t_new.y[1],time