Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.978e-05, allocations: 12.92 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3232, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4509, allocations: 82.05 MB / 441.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4512, allocations: 71.95 kB / 441.9 MB, free: 14.9 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.01912/0.4703, allocations: 4.618 MB / 446.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.222e-06/0.4704, allocations: 0 / 446.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4704, allocations: 4 kB / 446.5 MB, free: 10.31 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.0006341/0.4711, allocations: 465.4 kB / 447 MB, free: 9.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4711, allocations: 11.97 kB / 447 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.4712, allocations: 11.91 kB / 447 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.4715, allocations: 211.6 kB / 447.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4716, allocations: 4 kB / 447.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4716, allocations: 7.906 kB / 447.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4718, allocations: 61.62 kB / 447.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4718, allocations: 0 / 447.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4718, allocations: 3.953 kB / 447.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-06/0.4719, allocations: 3.984 kB / 447.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.4719, allocations: 16 kB / 447.3 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.4725, allocations: 316.8 kB / 447.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4726, allocations: 58.62 kB / 447.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.4727, allocations: 20.98 kB / 447.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4727, allocations: 3.953 kB / 447.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.4729, allocations: 68.33 kB / 447.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.841e-06/0.4729, allocations: 0 / 447.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005768/0.4735, allocations: 162.1 kB / 447.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4736, allocations: 55.41 kB / 448 MB, free: 8.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.4739, allocations: 193.9 kB / 448.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.4739, allocations: 33.7 kB / 448.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.474, allocations: 166.5 kB / 448.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.4741, allocations: 19.72 kB / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-06/0.4741, allocations: 0 / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4743, allocations: 322.8 kB / 448.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.4744, allocations: 36.88 kB / 448.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4745, allocations: 55.67 kB / 448.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.4747, allocations: 69.69 kB / 448.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-06/0.4747, allocations: 4 kB / 448.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003763/0.4751, allocations: 171.3 kB / 449 MB, free: 7.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.4751, allocations: 33.69 kB / 449 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-06/0.4752, allocations: 4 kB / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4752, allocations: 0 / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.4753, allocations: 15.98 kB / 449.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.504e-06/0.4753, allocations: 4.562 kB / 449.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.4754, allocations: 8.031 kB / 449.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.4755, allocations: 8.5 kB / 449.1 MB, free: 7.484 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 9.915e-05/0.4756, allocations: 113.4 kB / 449.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.4756, allocations: 19.77 kB / 449.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.476, allocations: 121.9 kB / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-06/0.476, allocations: 0 / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.476, allocations: 0 / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-06/0.476, allocations: 0 / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.4767, allocations: 425.3 kB / 449.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-06/0.4767, allocations: 0 / 449.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.4768, allocations: 11.98 kB / 449.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4768, allocations: 0 / 449.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4768, allocations: 4 kB / 449.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.439e-06/0.4768, allocations: 1.953 kB / 449.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.975e-06/0.4768, allocations: 0 / 449.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.4772, allocations: 226.8 kB / 450 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4773, allocations: 104.9 kB / 450.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4773, allocations: 0 / 450.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.4775, allocations: 11.98 kB / 450.1 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.4775, allocations: 7.984 kB / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4775, allocations: 8.547 kB / 450.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001944/0.4778, allocations: 148.8 kB / 450.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4778, allocations: 4 kB / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.4782, allocations: 43.88 kB / 450.3 MB, free: 6.145 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.001449/0.4796, allocations: 413.8 kB / 450.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.48, allocations: 159.4 kB / 450.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.521e-06/0.48, allocations: 4.062 kB / 450.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.4801, allocations: 31.94 kB / 450.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4804, allocations: 27.33 kB / 450.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.481, allocations: 209.6 kB / 451.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.4814, allocations: 0.7121 MB / 451.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.4815, allocations: 23.44 kB / 451.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.746e-06/0.4815, allocations: 0 / 451.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004875/0.4864, allocations: 2.011 MB / 453.9 MB, free: 2.582 MB / 378.7 MB