Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,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.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.36e-05/6.393e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3256, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4518, allocations: 81.85 MB / 441.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4521, allocations: 71.95 kB / 441.7 MB, free: 15.07 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.01805/0.4702, allocations: 4.382 MB / 446.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.921e-06/0.4702, allocations: 0 / 446.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4702, allocations: 0 / 446.1 MB, free: 10.72 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.0005798/0.4708, allocations: 457.4 kB / 446.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4709, allocations: 12.03 kB / 446.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.4709, allocations: 11.89 kB / 446.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.4713, allocations: 203.6 kB / 446.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.4713, allocations: 4 kB / 446.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.4714, allocations: 4 kB / 446.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4715, allocations: 45.67 kB / 446.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.4715, allocations: 0 / 446.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4716, allocations: 3.953 kB / 446.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-06/0.4716, allocations: 8 kB / 446.8 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.4717, allocations: 19.92 kB / 446.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.4719, allocations: 209.5 kB / 447 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4721, allocations: 49.25 kB / 447.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.4722, allocations: 16.86 kB / 447.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.4722, allocations: 0 / 447.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4724, allocations: 75.48 kB / 447.2 MB, free: 9.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.526e-06/0.4724, allocations: 3.938 kB / 447.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002407/0.4726, allocations: 81.55 kB / 447.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4727, allocations: 51.41 kB / 447.3 MB, free: 9.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.473, allocations: 186 kB / 447.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.473, allocations: 29.7 kB / 447.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4731, allocations: 166.5 kB / 447.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.4732, allocations: 15.89 kB / 447.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.4732, allocations: 4 kB / 447.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4734, allocations: 310.8 kB / 448 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.4735, allocations: 32 kB / 448 MB, free: 8.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.4736, allocations: 45.64 kB / 448.1 MB, free: 8.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4737, allocations: 61.69 kB / 448.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.523e-06/0.4737, allocations: 0 / 448.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003082/0.474, allocations: 148.2 kB / 448.3 MB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.4741, allocations: 47.44 kB / 448.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-06/0.4741, allocations: 0 / 448.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4742, allocations: 0 / 448.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4743, allocations: 11.94 kB / 448.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.4743, allocations: 12.81 kB / 448.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.4744, allocations: 7.938 kB / 448.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.4744, allocations: 4 kB / 448.4 MB, free: 8.184 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 9.941e-05/0.4745, allocations: 109.8 kB / 448.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4746, allocations: 12.47 kB / 448.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4748, allocations: 94.67 kB / 448.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.518e-06/0.4749, allocations: 1.188 kB / 448.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.84e-06/0.4749, allocations: 12.95 kB / 448.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.438e-06/0.4749, allocations: 3.953 kB / 448.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.4751, allocations: 193.6 kB / 448.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-06/0.4751, allocations: 0 / 448.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.4752, allocations: 4 kB / 448.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-06/0.4752, allocations: 4 kB / 448.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4752, allocations: 4 kB / 448.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.28e-06/0.4752, allocations: 1.312 kB / 448.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-06/0.4753, allocations: 4 kB / 448.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4755, allocations: 112.9 kB / 448.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4756, allocations: 97 kB / 449 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.4757, allocations: 5.406 kB / 449 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.4757, allocations: 4 kB / 449 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4758, allocations: 7.984 kB / 449 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4758, allocations: 0.875 kB / 449 MB, free: 7.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.476, allocations: 152.8 kB / 449.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.476, allocations: 0 / 449.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.4764, allocations: 35.94 kB / 449.2 MB, free: 7.246 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.001262/0.4777, allocations: 378.8 kB / 449.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.478, allocations: 143.4 kB / 449.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.781e-06/0.478, allocations: 0 / 449.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.4781, allocations: 31.92 kB / 449.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4783, allocations: 26.97 kB / 449.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.4788, allocations: 184.7 kB / 450 MB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4792, allocations: 0.7043 MB / 450.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.4792, allocations: 11.44 kB / 450.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of SimCode: time 1.499e-06/0.4793, allocations: 4 kB / 450.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of Templates: time 0.004431/0.4837, allocations: 1.779 MB / 452.4 MB, free: 4.008 MB / 378.7 MB