Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.199e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3633, allocations: 54.86 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4886, allocations: 81.9 MB / 441.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4889, allocations: 75.94 kB / 441.7 MB, free: 15.04 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01878/0.5077, allocations: 4.653 MB / 446.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.46e-06/0.5077, allocations: 0 / 446.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5077, allocations: 0 / 446.4 MB, free: 10.42 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005899/0.5083, allocations: 466.2 kB / 446.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5084, allocations: 12.03 kB / 446.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.5085, allocations: 14.81 kB / 446.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.5088, allocations: 214.9 kB / 447.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.5089, allocations: 8 kB / 447.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.5089, allocations: 4 kB / 447.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5091, allocations: 49.67 kB / 447.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5091, allocations: 0 / 447.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5091, allocations: 3.953 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.44e-06/0.5091, allocations: 0.6562 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.5092, allocations: 12 kB / 447.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.5095, allocations: 213.5 kB / 447.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.5097, allocations: 54.56 kB / 447.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.5097, allocations: 16.86 kB / 447.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.5098, allocations: 4 kB / 447.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.5099, allocations: 67.48 kB / 447.5 MB, free: 9.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.699e-06/0.5099, allocations: 1.031 kB / 447.5 MB, free: 9.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002539/0.5102, allocations: 85.48 kB / 447.6 MB, free: 9.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.5103, allocations: 59.39 kB / 447.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.5106, allocations: 233.8 kB / 447.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.5106, allocations: 33.7 kB / 447.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5108, allocations: 162.6 kB / 448.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.5108, allocations: 19.75 kB / 448.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5108, allocations: 0 / 448.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.511, allocations: 322.8 kB / 448.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.5111, allocations: 24 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.855e-05/0.5112, allocations: 46.7 kB / 448.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.5113, allocations: 67.08 kB / 448.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.452e-06/0.5114, allocations: 0 / 448.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003082/0.5117, allocations: 149 kB / 448.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5117, allocations: 33.7 kB / 448.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5118, allocations: 0 / 448.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5118, allocations: 3.984 kB / 448.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.5119, allocations: 12 kB / 448.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5119, allocations: 9.156 kB / 448.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.512, allocations: 11.84 kB / 448.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.512, allocations: 8 kB / 448.8 MB, free: 7.805 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 (8): * Single equations (assignments): 7 * 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.0001012/0.5122, allocations: 113.5 kB / 448.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.5122, allocations: 7.906 kB / 448.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.5125, allocations: 95.53 kB / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-06/0.5125, allocations: 0 / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.032e-06/0.5125, allocations: 4 kB / 449 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-06/0.5125, allocations: 7.953 kB / 449 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.5128, allocations: 209.4 kB / 449.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-06/0.5128, allocations: 1.969 kB / 449.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.5128, allocations: 8 kB / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5128, allocations: 3.938 kB / 449.2 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5129, allocations: 7.984 kB / 449.2 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.052e-06/0.5129, allocations: 1.938 kB / 449.2 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5129, allocations: 0 / 449.2 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.5131, allocations: 113 kB / 449.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5133, allocations: 100.9 kB / 449.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.5133, allocations: 11.98 kB / 449.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.5134, allocations: 0 / 449.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.5134, allocations: 4 kB / 449.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.5135, allocations: 7.984 kB / 449.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002457/0.5137, allocations: 192 kB / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.5137, allocations: 0 / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.514, allocations: 32 kB / 449.7 MB, free: 6.805 MB / 378.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: 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 (6): * Single equations (assignments): 4 * 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.001258/0.5153, allocations: 382 kB / 450 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.5156, allocations: 143.4 kB / 450.2 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.61e-06/0.5156, allocations: 0 / 450.2 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.5157, allocations: 23.94 kB / 450.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.516, allocations: 27.2 kB / 450.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.5165, allocations: 227.4 kB / 450.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5169, allocations: 0.72 MB / 451.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.517, allocations: 11.44 kB / 451.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of SimCode: time 1.468e-06/0.517, allocations: 0 / 451.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of Templates: time 0.004598/0.5216, allocations: 1.917 MB / 453.1 MB, free: 3.367 MB / 378.7 MB