Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.078e-05, allocations: 8.938 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4424, allocations: 82.03 MB / 441.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4426, allocations: 71.95 kB / 441.9 MB, free: 14.94 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.01888/0.4615, allocations: 4.411 MB / 446.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4616, allocations: 0 / 446.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4616, allocations: 4 kB / 446.3 MB, free: 10.55 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.0006066/0.4622, allocations: 449.6 kB / 446.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.4623, allocations: 15.97 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.4624, allocations: 7.906 kB / 446.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.4627, allocations: 206.8 kB / 446.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4628, allocations: 4 kB / 446.9 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.4628, allocations: 4 kB / 446.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.463, allocations: 53.67 kB / 447 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.463, allocations: 0 / 447 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.463, allocations: 11.95 kB / 447 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.463, allocations: 0 / 447 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.4631, allocations: 16 kB / 447 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.4636, allocations: 324.7 kB / 447.3 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.4638, allocations: 50.69 kB / 447.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.4639, allocations: 20.98 kB / 447.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.4639, allocations: 7.953 kB / 447.4 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.4641, allocations: 68.33 kB / 447.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.683e-06/0.4641, allocations: 0 / 447.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005754/0.4647, allocations: 162.2 kB / 447.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.4648, allocations: 51.41 kB / 447.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.465, allocations: 173.2 kB / 447.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.4651, allocations: 25.7 kB / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4652, allocations: 170.5 kB / 448.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.4652, allocations: 23.7 kB / 448.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.4653, allocations: 0 / 448.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4654, allocations: 318.8 kB / 448.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4655, allocations: 32.94 kB / 448.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4657, allocations: 63.55 kB / 448.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4658, allocations: 69.69 kB / 448.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-06/0.4658, allocations: 4 kB / 448.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000374/0.4662, allocations: 175.2 kB / 448.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.4663, allocations: 33.7 kB / 448.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.637e-06/0.4663, allocations: 0 / 448.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4663, allocations: 0 / 448.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4665, allocations: 19.92 kB / 448.8 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4665, allocations: 4.562 kB / 448.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.4666, allocations: 4 kB / 448.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.4666, allocations: 8.562 kB / 448.8 MB, free: 7.777 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.0001074/0.4668, allocations: 113.6 kB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.4668, allocations: 11.86 kB / 448.9 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.4671, allocations: 121 kB / 449 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.824e-06/0.4672, allocations: 0 / 449 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4672, allocations: 3.984 kB / 449 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-06/0.4672, allocations: 0 / 449 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.4678, allocations: 409.2 kB / 449.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-06/0.4679, allocations: 4.031 kB / 449.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.4679, allocations: 15.98 kB / 449.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.727e-06/0.4679, allocations: 0 / 449.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.468, allocations: 0 / 449.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-06/0.468, allocations: 5.953 kB / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.139e-06/0.468, allocations: 0 / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.4683, allocations: 226.8 kB / 449.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4684, allocations: 97 kB / 449.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.4685, allocations: 4 kB / 449.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4686, allocations: 7.984 kB / 449.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.4687, allocations: 7.938 kB / 449.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4687, allocations: 4.562 kB / 449.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.4689, allocations: 131.2 kB / 449.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4689, allocations: 0 / 449.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003893/0.4693, allocations: 36 kB / 450 MB, free: 6.5 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.001447/0.4707, allocations: 425.3 kB / 450.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.4711, allocations: 159.3 kB / 450.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.268e-06/0.4711, allocations: 0 / 450.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.4712, allocations: 35.92 kB / 450.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4715, allocations: 28.41 kB / 450.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.472, allocations: 181.8 kB / 450.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4724, allocations: 0.7082 MB / 451.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.4725, allocations: 15.44 kB / 451.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of SimCode: time 3.62e-06/0.4725, allocations: 0 / 451.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of Templates: time 0.004714/0.4773, allocations: 1.946 MB / 453.5 MB, free: 3.027 MB / 378.7 MB