Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.595e-05, allocations: 8.938 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 54.85 MB / 359.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.4725, allocations: 82.81 MB / 442.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4728, allocations: 76.73 kB / 442.7 MB, free: 14.11 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.0149/0.4877, allocations: 3.535 MB / 446.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.4878, allocations: 0 / 446.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.4878, allocations: 4 kB / 446.2 MB, free: 10.6 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007119/0.4885, allocations: 0.4913 MB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.4886, allocations: 12.03 kB / 446.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.4887, allocations: 15.81 kB / 446.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.4891, allocations: 228.2 kB / 446.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.4891, allocations: 8 kB / 446.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.4892, allocations: 8 kB / 446.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.4894, allocations: 73.61 kB / 447 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.506e-06/0.4894, allocations: 0 / 447 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.4894, allocations: 7.953 kB / 447 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-06/0.4894, allocations: 0 / 447 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4896, allocations: 39.98 kB / 447.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.4903, allocations: 360.7 kB / 447.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.4906, allocations: 87.89 kB / 447.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.4907, allocations: 40.84 kB / 447.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.4908, allocations: 0 / 447.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.491, allocations: 76.48 kB / 447.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.568e-06/0.491, allocations: 0 / 447.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003165/0.4913, allocations: 110.4 kB / 447.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4914, allocations: 51.41 kB / 447.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.4916, allocations: 162.4 kB / 447.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.4917, allocations: 33.7 kB / 448 MB, free: 8.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4918, allocations: 174.4 kB / 448.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.4918, allocations: 23.66 kB / 448.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.4919, allocations: 0 / 448.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.492, allocations: 322.8 kB / 448.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4922, allocations: 35.94 kB / 448.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.4923, allocations: 58.91 kB / 448.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4925, allocations: 78.25 kB / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-06/0.4925, allocations: 0 / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004012/0.4929, allocations: 183.3 kB / 448.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.493, allocations: 41.69 kB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.493, allocations: 0 / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.493, allocations: 5.594 kB / 448.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4932, allocations: 19.98 kB / 448.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.972e-06/0.4932, allocations: 4.062 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.4933, allocations: 11.91 kB / 448.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.4934, allocations: 12 kB / 448.9 MB, free: 7.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001101/0.4935, allocations: 112.9 kB / 449 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.4935, allocations: 15.8 kB / 449 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.4939, allocations: 130 kB / 449.2 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.4939, allocations: 4 kB / 449.2 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.352e-06/0.4939, allocations: 4 kB / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.461e-06/0.4939, allocations: 0 / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4942, allocations: 206.5 kB / 449.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-06/0.4942, allocations: 0 / 449.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.4943, allocations: 12 kB / 449.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.958e-06/0.4943, allocations: 3.953 kB / 449.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.4944, allocations: 4 kB / 449.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.954e-06/0.4944, allocations: 7.984 kB / 449.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-06/0.4944, allocations: 0 / 449.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4948, allocations: 171.4 kB / 449.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4949, allocations: 98.44 kB / 449.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.495, allocations: 3.953 kB / 449.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4951, allocations: 15.98 kB / 449.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.4952, allocations: 11.97 kB / 449.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4952, allocations: 0 / 449.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.4954, allocations: 128.9 kB / 449.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.4954, allocations: 0 / 449.8 MB, free: 6.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.4957, allocations: 47.98 kB / 449.9 MB, free: 6.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001302/0.497, allocations: 374 kB / 450.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.4974, allocations: 171.3 kB / 450.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4974, allocations: 0 / 450.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.4975, allocations: 36.12 kB / 450.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4979, allocations: 35.08 kB / 450.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.4984, allocations: 210.8 kB / 450.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4989, allocations: 0.716 MB / 451.4 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.4989, allocations: 15.44 kB / 451.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of SimCode: time 1.484e-06/0.4989, allocations: 0 / 451.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of Templates: time 0.005009/0.504, allocations: 2.074 MB / 453.5 MB, free: 2.961 MB / 378.7 MB