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_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.698e-05, allocations: 8 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3207, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4539, allocations: 82.06 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/0.4543, allocations: 71.95 kB / 441.9 MB, free: 14.87 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03633/0.4907, allocations: 4.669 MB / 446.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4907, allocations: 0 / 446.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.4908, allocations: 4 kB / 446.6 MB, free: 10.23 MB / 378.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.0009615/0.4918, allocations: 469.4 kB / 447 MB, free: 9.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/0.4919, allocations: 15.97 kB / 447 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.492, allocations: 11.81 kB / 447.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.4926, allocations: 206.9 kB / 447.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.4927, allocations: 8 kB / 447.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.4928, allocations: 7.938 kB / 447.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.493, allocations: 57.69 kB / 447.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.4931, allocations: 0 / 447.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.4931, allocations: 7.938 kB / 447.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.562e-06/0.4931, allocations: 0.875 kB / 447.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.4933, allocations: 23.98 kB / 447.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.4942, allocations: 316.9 kB / 447.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.4945, allocations: 58.62 kB / 447.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4946, allocations: 23.61 kB / 447.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4947, allocations: 3.953 kB / 447.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.495, allocations: 68.27 kB / 447.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.013e-06/0.495, allocations: 0 / 447.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005874/0.4956, allocations: 165 kB / 448 MB, free: 8.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.4956, allocations: 59.41 kB / 448 MB, free: 8.562 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.496, allocations: 194.6 kB / 448.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.496, allocations: 33.7 kB / 448.3 MB, free: 8.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4961, allocations: 162.6 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.4962, allocations: 27.64 kB / 448.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.4962, allocations: 4 kB / 448.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4964, allocations: 310.8 kB / 448.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4965, allocations: 40 kB / 448.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.4966, allocations: 64.02 kB / 448.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4968, allocations: 61.69 kB / 448.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-06/0.4968, allocations: 0 / 448.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003727/0.4972, allocations: 175.2 kB / 449.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.4972, allocations: 35.42 kB / 449.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.285e-06/0.4973, allocations: 2.188 kB / 449.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4973, allocations: 4 kB / 449.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4974, allocations: 19.98 kB / 449.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.449e-06/0.4974, allocations: 7.969 kB / 449.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.4975, allocations: 8 kB / 449.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.4976, allocations: 4 kB / 449.2 MB, free: 7.383 MB / 378.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.0001078/0.4977, allocations: 113.5 kB / 449.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.992e-05/0.4977, allocations: 15.77 kB / 449.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4981, allocations: 125.1 kB / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4981, allocations: 0 / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4981, allocations: 0 / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-06/0.4981, allocations: 4 kB / 449.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.4988, allocations: 415.3 kB / 449.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4988, allocations: 0 / 449.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.4989, allocations: 12.66 kB / 449.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.185e-06/0.4989, allocations: 3.984 kB / 449.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4989, allocations: 4 kB / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.348e-06/0.499, allocations: 5.953 kB / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.499, allocations: 0.875 kB / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.4993, allocations: 226.9 kB / 450.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4994, allocations: 101 kB / 450.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4995, allocations: 0 / 450.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.4996, allocations: 7.984 kB / 450.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4997, allocations: 8 kB / 450.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4997, allocations: 4 kB / 450.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.4999, allocations: 168.3 kB / 450.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.4999, allocations: 1.406 kB / 450.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.5003, allocations: 43.94 kB / 450.4 MB, free: 6.039 MB / 378.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 (9): * Single equations (assignments): 7 * 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.001452/0.5018, allocations: 425.6 kB / 450.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.5022, allocations: 159.3 kB / 451 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5022, allocations: 0 / 451 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.5023, allocations: 28.19 kB / 451 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.5026, allocations: 34.91 kB / 451 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.5031, allocations: 220.8 kB / 451.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.5036, allocations: 0.7201 MB / 452 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.5037, allocations: 19.44 kB / 452 MB, free: 4.449 MB / 378.7 MB Notification: Performance of SimCode: time 3.751e-06/0.5037, allocations: 3.938 kB / 452 MB, free: 4.445 MB / 378.7 MB Notification: Performance of Templates: time 0.004858/0.5085, allocations: 2.036 MB / 454 MB, free: 2.41 MB / 378.7 MB