Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.199/2.199, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.564e-05, allocations: 4 kB / 304.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.327, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4536, allocations: 82.28 MB / 442.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.4539, allocations: 71.97 kB / 442.1 MB, free: 14.64 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.02137/0.4753, allocations: 5.163 MB / 447.3 MB, free: 9.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.385e-06/0.4753, allocations: 0 / 447.3 MB, free: 9.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4754, allocations: 7.938 kB / 447.3 MB, free: 9.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006066/0.476, allocations: 458.4 kB / 447.7 MB, free: 9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.476, allocations: 8.031 kB / 447.8 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.4761, allocations: 11.91 kB / 447.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.4765, allocations: 200.7 kB / 448 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4765, allocations: 8 kB / 448 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.4766, allocations: 7.953 kB / 448 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4768, allocations: 83.31 kB / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4768, allocations: 0 / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4768, allocations: 0 / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4768, allocations: 0 / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.4769, allocations: 31.98 kB / 448.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.4775, allocations: 326.2 kB / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4777, allocations: 66.62 kB / 448.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.4778, allocations: 24.98 kB / 448.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4778, allocations: 6.625 kB / 448.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.478, allocations: 81.27 kB / 448.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.86e-06/0.4781, allocations: 4 kB / 448.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006402/0.4787, allocations: 185.3 kB / 448.8 MB, free: 7.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.4788, allocations: 77.11 kB / 448.8 MB, free: 7.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.479, allocations: 148.5 kB / 449 MB, free: 7.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.479, allocations: 29.7 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4792, allocations: 162.5 kB / 449.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.4792, allocations: 27.61 kB / 449.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-06/0.4792, allocations: 4 kB / 449.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4794, allocations: 322.8 kB / 449.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4795, allocations: 35.98 kB / 449.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4797, allocations: 59.36 kB / 449.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.4798, allocations: 73.67 kB / 449.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-06/0.4799, allocations: 0 / 449.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003711/0.4802, allocations: 163.3 kB / 449.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.4803, allocations: 37.69 kB / 449.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.567e-06/0.4803, allocations: 4.062 kB / 449.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4804, allocations: 0 / 449.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4805, allocations: 16 kB / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4805, allocations: 3.984 kB / 449.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.4806, allocations: 8 kB / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4807, allocations: 4 kB / 449.9 MB, free: 6.625 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 (12): * Single equations (assignments): 11 * 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.0001162/0.4808, allocations: 122.5 kB / 450 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4808, allocations: 7.906 kB / 450 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.4812, allocations: 151.7 kB / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-06/0.4812, allocations: 0 / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4812, allocations: 0 / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-06/0.4813, allocations: 0 / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.482, allocations: 431.9 kB / 450.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-06/0.482, allocations: 4 kB / 450.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.4821, allocations: 12 kB / 450.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.785e-06/0.4821, allocations: 3.938 kB / 450.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4821, allocations: 8.891 kB / 450.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.4821, allocations: 4 kB / 450.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.221e-06/0.4822, allocations: 1.031 kB / 450.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.4825, allocations: 234.8 kB / 450.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4826, allocations: 104.9 kB / 451 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.4827, allocations: 7.984 kB / 451 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4828, allocations: 12 kB / 451 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.4829, allocations: 11.98 kB / 451 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.4829, allocations: 4 kB / 451 MB, free: 5.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4831, allocations: 121.8 kB / 451.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.4831, allocations: 0 / 451.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004449/0.4836, allocations: 57.33 kB / 451.2 MB, free: 5.246 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 (11): * Single equations (assignments): 9 * 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.001731/0.4853, allocations: 0.4912 MB / 451.7 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.4857, allocations: 163.3 kB / 451.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-06/0.4857, allocations: 0 / 451.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4858, allocations: 39.94 kB / 451.9 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.4861, allocations: 15.98 kB / 451.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.4866, allocations: 181.4 kB / 452.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.487, allocations: 0.7043 MB / 452.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.4871, allocations: 15.44 kB / 452.8 MB, free: 3.652 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4871, allocations: 0 / 452.8 MB, free: 3.652 MB / 378.7 MB Notification: Performance of Templates: time 0.005281/0.4924, allocations: 2.248 MB / 455 MB, free: 1.41 MB / 378.7 MB