Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.143/2.143, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.196e-05, allocations: 8.938 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3927, allocations: 54.84 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.518, allocations: 82.06 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.5183, allocations: 71.97 kB / 441.9 MB, free: 14.87 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.01958/0.5379, allocations: 4.805 MB / 446.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.905e-06/0.5379, allocations: 0 / 446.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.538, allocations: 7.984 kB / 446.7 MB, free: 10.09 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.0005961/0.5386, allocations: 469.4 kB / 447.2 MB, free: 9.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5386, allocations: 15.97 kB / 447.2 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.5387, allocations: 15.8 kB / 447.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5391, allocations: 222.8 kB / 447.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5391, allocations: 0 / 447.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.5392, allocations: 8 kB / 447.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.5393, allocations: 61.67 kB / 447.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5394, allocations: 3.906 kB / 447.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.5394, allocations: 3.953 kB / 447.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-06/0.5394, allocations: 0 / 447.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.5395, allocations: 23.92 kB / 447.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.54, allocations: 324.9 kB / 447.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.5402, allocations: 50.69 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.5403, allocations: 20.98 kB / 447.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.5403, allocations: 3.953 kB / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.5405, allocations: 76.27 kB / 448 MB, free: 8.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.878e-06/0.5405, allocations: 0 / 448 MB, free: 8.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.5411, allocations: 165.9 kB / 448.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.5411, allocations: 51.41 kB / 448.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.5415, allocations: 229.8 kB / 448.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.5415, allocations: 29.7 kB / 448.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5417, allocations: 170.5 kB / 448.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.5417, allocations: 35.56 kB / 448.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.5417, allocations: 8 kB / 448.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5419, allocations: 314.8 kB / 449 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.542, allocations: 40.88 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5421, allocations: 51.67 kB / 449.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.5423, allocations: 69.69 kB / 449.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-06/0.5423, allocations: 0 / 449.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003632/0.5427, allocations: 175.2 kB / 449.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.5428, allocations: 33.7 kB / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.479e-06/0.5428, allocations: 5.281 kB / 449.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5428, allocations: 0 / 449.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5429, allocations: 19.98 kB / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.48e-06/0.5429, allocations: 0.5625 kB / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.543, allocations: 8.188 kB / 449.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5431, allocations: 8 kB / 449.4 MB, free: 7.18 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.0001107/0.5432, allocations: 121.5 kB / 449.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.5433, allocations: 15.77 kB / 449.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.5436, allocations: 128.7 kB / 449.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.5436, allocations: 0 / 449.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.899e-06/0.5436, allocations: 4 kB / 449.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5436, allocations: 0 / 449.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.5443, allocations: 433.2 kB / 450.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.5443, allocations: 0 / 450.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.5444, allocations: 12 kB / 450.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.5444, allocations: 0 / 450.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.5445, allocations: 7.922 kB / 450.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.213e-06/0.5445, allocations: 8.031 kB / 450.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-06/0.5445, allocations: 0 / 450.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.5448, allocations: 222.8 kB / 450.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5449, allocations: 101 kB / 450.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.545, allocations: 8 kB / 450.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5451, allocations: 4 kB / 450.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.5452, allocations: 7.984 kB / 450.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5452, allocations: 4.562 kB / 450.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.5455, allocations: 192 kB / 450.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.5455, allocations: 0 / 450.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.5459, allocations: 51.86 kB / 450.7 MB, free: 5.77 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.001418/0.5473, allocations: 420.5 kB / 451.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.5476, allocations: 159.3 kB / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5477, allocations: 0 / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.5478, allocations: 31.94 kB / 451.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5481, allocations: 27.36 kB / 451.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.5487, allocations: 260.2 kB / 451.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.5491, allocations: 0.716 MB / 452.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.5492, allocations: 19.44 kB / 452.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.436e-06/0.5492, allocations: 3.938 kB / 452.3 MB, free: 4.156 MB / 378.7 MB Notification: Performance of Templates: time 0.004997/0.5542, allocations: 2.149 MB / 454.4 MB, free: 2.008 MB / 378.7 MB