Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.164/2.164, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.076e-05, allocations: 8 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.446, allocations: 82.02 MB / 441.8 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4463, allocations: 76.55 kB / 441.9 MB, free: 14.92 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.01872/0.4651, allocations: 4.406 MB / 446.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.4651, allocations: 0 / 446.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4651, allocations: 0 / 446.3 MB, free: 10.54 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.0006027/0.4657, allocations: 453.6 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4658, allocations: 19.97 kB / 446.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.4659, allocations: 8.75 kB / 446.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4662, allocations: 212.4 kB / 446.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4663, allocations: 0 / 446.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.4663, allocations: 4 kB / 446.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4664, allocations: 53.69 kB / 447 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4665, allocations: 0 / 447 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.4665, allocations: 3.953 kB / 447 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-06/0.4665, allocations: 0 / 447 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.4666, allocations: 27.92 kB / 447 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.4671, allocations: 325.4 kB / 447.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4673, allocations: 54.69 kB / 447.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.4674, allocations: 16.98 kB / 447.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4674, allocations: 3.953 kB / 447.4 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4676, allocations: 75.33 kB / 447.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.224e-06/0.4676, allocations: 0 / 447.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.4682, allocations: 154.6 kB / 447.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4682, allocations: 52.44 kB / 447.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.4685, allocations: 177.2 kB / 447.9 MB, free: 8.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4685, allocations: 25.7 kB / 447.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4686, allocations: 166.5 kB / 448.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4687, allocations: 23.72 kB / 448.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.4687, allocations: 4 kB / 448.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4689, allocations: 318.8 kB / 448.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.469, allocations: 32 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4691, allocations: 58.2 kB / 448.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4693, allocations: 69.69 kB / 448.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-06/0.4693, allocations: 0 / 448.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003804/0.4697, allocations: 176.6 kB / 448.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.4697, allocations: 41.69 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4698, allocations: 0 / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4698, allocations: 0.875 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4699, allocations: 19.98 kB / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.6e-06/0.4699, allocations: 0 / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.47, allocations: 4 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.4701, allocations: 4 kB / 448.8 MB, free: 7.77 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.0001057/0.4702, allocations: 113.6 kB / 448.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.4702, allocations: 19.89 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.4706, allocations: 118 kB / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4706, allocations: 0 / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.474e-06/0.4706, allocations: 192 / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.4706, allocations: 0 / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.4713, allocations: 415.2 kB / 449.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-06/0.4713, allocations: 4 kB / 449.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.4714, allocations: 11.94 kB / 449.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.349e-06/0.4714, allocations: 4.031 kB / 449.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4714, allocations: 7.984 kB / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.034e-06/0.4714, allocations: 0 / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-06/0.4715, allocations: 0 / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.4718, allocations: 223.2 kB / 449.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4719, allocations: 97 kB / 449.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.472, allocations: 8 kB / 449.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4721, allocations: 4 kB / 449.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.4721, allocations: 7.984 kB / 449.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4722, allocations: 4 kB / 449.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4723, allocations: 131.2 kB / 449.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.4723, allocations: 0 / 449.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000383/0.4727, allocations: 36 kB / 450 MB, free: 6.484 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.001431/0.4742, allocations: 432.8 kB / 450.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.4745, allocations: 159.3 kB / 450.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.773e-06/0.4745, allocations: 0 / 450.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.4746, allocations: 35.92 kB / 450.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4749, allocations: 23.94 kB / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.4754, allocations: 186 kB / 450.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4759, allocations: 0.7082 MB / 451.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.4759, allocations: 15.44 kB / 451.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.558e-06/0.4759, allocations: 0 / 451.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of Templates: time 0.004743/0.4807, allocations: 1.938 MB / 453.5 MB, free: 3.012 MB / 378.7 MB