Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.399e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 54.86 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4572, allocations: 82.06 MB / 441.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4575, allocations: 72.55 kB / 441.9 MB, free: 14.89 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.01913/0.4766, allocations: 4.461 MB / 446.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.4766, allocations: 0 / 446.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.4767, allocations: 4 kB / 446.4 MB, free: 10.45 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.0005937/0.4773, allocations: 461.5 kB / 446.8 MB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4773, allocations: 11.97 kB / 446.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.4774, allocations: 7.906 kB / 446.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.4778, allocations: 203.4 kB / 447 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.4778, allocations: 8 kB / 447 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.4778, allocations: 4.562 kB / 447 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.478, allocations: 57.67 kB / 447.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.478, allocations: 0 / 447.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4781, allocations: 7.953 kB / 447.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4781, allocations: 0 / 447.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.4782, allocations: 19.98 kB / 447.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.4787, allocations: 310.1 kB / 447.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4788, allocations: 50.69 kB / 447.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.4789, allocations: 20.98 kB / 447.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4789, allocations: 7.953 kB / 447.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.4791, allocations: 64.14 kB / 447.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.571e-06/0.4791, allocations: 4 kB / 447.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005738/0.4797, allocations: 170.3 kB / 447.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.4798, allocations: 55.41 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.48, allocations: 152.7 kB / 447.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.48, allocations: 29.7 kB / 448 MB, free: 8.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4802, allocations: 162.6 kB / 448.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4802, allocations: 27.64 kB / 448.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-06/0.4802, allocations: 0 / 448.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4804, allocations: 317.4 kB / 448.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4805, allocations: 43.94 kB / 448.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4806, allocations: 58.48 kB / 448.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4808, allocations: 61.69 kB / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-06/0.4808, allocations: 0 / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003658/0.4812, allocations: 171.2 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.4812, allocations: 35.42 kB / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.728e-06/0.4813, allocations: 4 kB / 448.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4813, allocations: 4.031 kB / 448.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4814, allocations: 23.92 kB / 448.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4815, allocations: 0 / 448.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.4816, allocations: 11.98 kB / 448.9 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4816, allocations: 4 kB / 448.9 MB, free: 7.688 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.0001077/0.4817, allocations: 113.5 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.4817, allocations: 11.86 kB / 449 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.4821, allocations: 118.3 kB / 449.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.587e-06/0.4821, allocations: 7.984 kB / 449.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4821, allocations: 4 kB / 449.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-06/0.4821, allocations: 0 / 449.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.4827, allocations: 399.2 kB / 449.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-06/0.4828, allocations: 1.125 kB / 449.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.4828, allocations: 12 kB / 449.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.983e-06/0.4829, allocations: 0 / 449.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.4829, allocations: 7.984 kB / 449.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.156e-06/0.4829, allocations: 8.031 kB / 449.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-06/0.4829, allocations: 0 / 449.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.4832, allocations: 219.3 kB / 449.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4833, allocations: 93 kB / 449.8 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.4834, allocations: 4 kB / 449.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4835, allocations: 4 kB / 449.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4836, allocations: 11.98 kB / 449.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4836, allocations: 7.938 kB / 449.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.4838, allocations: 125.7 kB / 450 MB, free: 6.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.098e-06/0.4838, allocations: 0 / 450 MB, free: 6.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.4842, allocations: 47.86 kB / 450 MB, free: 6.41 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.001429/0.4856, allocations: 416.9 kB / 450.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.486, allocations: 159.3 kB / 450.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.486, allocations: 0 / 450.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.4861, allocations: 31.94 kB / 450.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4864, allocations: 23.94 kB / 450.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.4869, allocations: 181.4 kB / 450.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.4873, allocations: 0.7043 MB / 451.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.4874, allocations: 15.44 kB / 451.6 MB, free: 4.895 MB / 378.7 MB Notification: Performance of SimCode: time 1.457e-06/0.4874, allocations: 3.938 kB / 451.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of Templates: time 0.004634/0.492, allocations: 1.908 MB / 453.5 MB, free: 2.984 MB / 378.7 MB