Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.742e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5107, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002504/0.5133, allocations: 1.354 MB / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.5149, allocations: 0.6596 MB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.515, allocations: 0 / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.5152, allocations: 22.19 kB / 364.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.5154, allocations: 31 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.5156, allocations: 51.25 kB / 365 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.5158, allocations: 49.03 kB / 365.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.5159, allocations: 10.69 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.516, allocations: 34.81 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.5161, allocations: 27.19 kB / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.5162, allocations: 22.84 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.5162, allocations: 4.438 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.5163, allocations: 20.64 kB / 365.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.5163, allocations: 4.875 kB / 365.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.5166, allocations: 91.91 kB / 365.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.5166, allocations: 0 / 365.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5166, allocations: 0 / 365.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.5166, allocations: 1.281 kB / 365.3 MB, free: 10.37 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.0006145/0.5172, allocations: 459.4 kB / 365.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5173, allocations: 12.81 kB / 365.7 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.5174, allocations: 9.312 kB / 365.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.5177, allocations: 202 kB / 365.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5177, allocations: 1.969 kB / 365.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.5177, allocations: 8.266 kB / 365.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5179, allocations: 62.02 kB / 366 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.518, allocations: 0 / 366 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.518, allocations: 4.938 kB / 366 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.518, allocations: 4.797 kB / 366 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5181, allocations: 23.08 kB / 366 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.5186, allocations: 295.3 kB / 366.3 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.5189, allocations: 54.72 kB / 366.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.5189, allocations: 9.109 kB / 366.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.5192, allocations: 73.19 kB / 366.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.5192, allocations: 0 / 366.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007683/0.52, allocations: 178 kB / 366.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.52, allocations: 56.33 kB / 366.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.5203, allocations: 204.4 kB / 366.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5204, allocations: 31.14 kB / 366.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.5205, allocations: 110.6 kB / 367 MB, free: 8.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.5205, allocations: 26.73 kB / 367 MB, free: 8.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.5206, allocations: 1.062 kB / 367.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5207, allocations: 327.3 kB / 367.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.5208, allocations: 31.61 kB / 367.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.521, allocations: 51.2 kB / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5212, allocations: 64.98 kB / 367.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5212, allocations: 1.031 kB / 367.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004029/0.5216, allocations: 163 kB / 367.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.5217, allocations: 42.02 kB / 367.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5217, allocations: 384 / 367.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5217, allocations: 1.219 kB / 367.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.5219, allocations: 18.03 kB / 367.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5219, allocations: 5.062 kB / 367.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.522, allocations: 11.58 kB / 367.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.522, allocations: 7.969 kB / 367.8 MB, free: 8.074 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.00015/0.5222, allocations: 131.2 kB / 367.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5222, allocations: 9.75 kB / 367.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.5223, allocations: 18.67 kB / 367.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5223, allocations: 4.719 kB / 367.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5223, allocations: 0.5 kB / 367.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5223, allocations: 0.8438 kB / 367.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.523, allocations: 393.4 kB / 368.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.523, allocations: 5.234 kB / 368.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.5231, allocations: 11.05 kB / 368.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5231, allocations: 1.156 kB / 368.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.5232, allocations: 6.156 kB / 368.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5232, allocations: 4.969 kB / 368.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5232, allocations: 0 / 368.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.5236, allocations: 232 kB / 368.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.5237, allocations: 97.97 kB / 368.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.5237, allocations: 1.406 kB / 368.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5238, allocations: 7.203 kB / 368.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.5239, allocations: 2.562 kB / 368.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5239, allocations: 5.094 kB / 368.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.5241, allocations: 164.5 kB / 368.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5242, allocations: 4 kB / 368.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.5245, allocations: 26.22 kB / 368.9 MB, free: 7.09 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.001155/0.5257, allocations: 406.1 kB / 369.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.5261, allocations: 147.3 kB / 369.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.5261, allocations: 4 kB / 369.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5262, allocations: 30.17 kB / 369.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.5266, allocations: 24.81 kB / 369.5 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.5273, allocations: 263.5 kB / 369.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5276, allocations: 0.7137 MB / 370.4 MB, free: 5.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.5277, allocations: 15.83 kB / 370.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.5278, allocations: 22.92 kB / 370.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5278, allocations: 0 / 370.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of Templates: time 0.006436/0.5343, allocations: 1.604 MB / 372.1 MB, free: 4.242 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