Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.149e-05, allocations: 4.938 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3166, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.443, allocations: 82.05 MB / 441.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4433, allocations: 76.77 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.01995/0.4632, allocations: 4.792 MB / 446.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2e-06/0.4633, allocations: 4 kB / 446.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.4633, allocations: 0 / 446.7 MB, free: 10.12 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.000628/0.4639, allocations: 477.4 kB / 447.2 MB, free: 9.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.464, allocations: 15.97 kB / 447.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.4641, allocations: 15.81 kB / 447.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.4644, allocations: 214.8 kB / 447.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4645, allocations: 4 kB / 447.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.4645, allocations: 8 kB / 447.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.4647, allocations: 57.67 kB / 447.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4647, allocations: 3.906 kB / 447.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4647, allocations: 3.953 kB / 447.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4648, allocations: 4 kB / 447.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.4648, allocations: 23.94 kB / 447.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.4654, allocations: 328.9 kB / 447.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.4655, allocations: 46.69 kB / 447.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.4656, allocations: 24.98 kB / 447.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4657, allocations: 3.953 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.4658, allocations: 71.33 kB / 448 MB, free: 8.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.823e-06/0.4658, allocations: 4 kB / 448 MB, free: 8.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005818/0.4664, allocations: 158.9 kB / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4665, allocations: 59.34 kB / 448.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.4669, allocations: 225.8 kB / 448.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.4669, allocations: 33.7 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.467, allocations: 174.5 kB / 448.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.4671, allocations: 23.66 kB / 448.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.4671, allocations: 8 kB / 448.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4673, allocations: 318.8 kB / 448.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.4674, allocations: 39.94 kB / 449 MB, free: 7.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4675, allocations: 51.67 kB / 449 MB, free: 7.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4677, allocations: 66.62 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-06/0.4677, allocations: 0 / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003662/0.4681, allocations: 175.3 kB / 449.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.4681, allocations: 37.72 kB / 449.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.671e-06/0.4682, allocations: 4 kB / 449.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4682, allocations: 0 / 449.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4683, allocations: 15.98 kB / 449.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.463e-06/0.4683, allocations: 1.172 kB / 449.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.4684, allocations: 12 kB / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.4685, allocations: 9.047 kB / 449.3 MB, free: 7.211 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.0001082/0.4686, allocations: 113.5 kB / 449.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.4687, allocations: 23.77 kB / 449.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.469, allocations: 120.8 kB / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-06/0.469, allocations: 0 / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.379e-06/0.469, allocations: 0 / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.561e-06/0.469, allocations: 3.938 kB / 449.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.4697, allocations: 435.2 kB / 450 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4697, allocations: 0 / 450 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.4698, allocations: 15.92 kB / 450 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.134e-06/0.4698, allocations: 4.031 kB / 450 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4699, allocations: 4 kB / 450.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.667e-06/0.4699, allocations: 0 / 450.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4699, allocations: 0 / 450.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.4702, allocations: 226.8 kB / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4704, allocations: 105 kB / 450.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.4704, allocations: 8 kB / 450.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4705, allocations: 4 kB / 450.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.4706, allocations: 7.984 kB / 450.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.4706, allocations: 4 kB / 450.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.4709, allocations: 192 kB / 450.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4709, allocations: 0.5625 kB / 450.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.4713, allocations: 43.88 kB / 450.6 MB, free: 5.812 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.001449/0.4728, allocations: 421.8 kB / 451 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.4731, allocations: 163.3 kB / 451.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.978e-06/0.4731, allocations: 0 / 451.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.4732, allocations: 35.92 kB / 451.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4736, allocations: 27.31 kB / 451.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.4742, allocations: 256.4 kB / 451.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.4746, allocations: 0.7238 MB / 452.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.4747, allocations: 23.42 kB / 452.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of SimCode: time 1.49e-06/0.4747, allocations: 3.938 kB / 452.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of Templates: time 0.00513/0.4799, allocations: 2.145 MB / 454.4 MB, free: 2.039 MB / 378.7 MB