Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.221e-05, allocations: 12.92 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3622, allocations: 54.85 MB / 359.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.489, allocations: 82.05 MB / 441.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4893, allocations: 75.95 kB / 441.9 MB, free: 14.78 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.01911/0.5084, allocations: 4.671 MB / 446.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.932e-06/0.5084, allocations: 0 / 446.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5085, allocations: 8 kB / 446.6 MB, free: 10.13 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.0005916/0.5091, allocations: 457.5 kB / 447 MB, free: 9.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5091, allocations: 11.97 kB / 447 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.5092, allocations: 11.81 kB / 447 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.5096, allocations: 218.8 kB / 447.3 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.5096, allocations: 8 kB / 447.3 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5097, allocations: 4 kB / 447.3 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.5098, allocations: 57.67 kB / 447.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5098, allocations: 0 / 447.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.5099, allocations: 3.953 kB / 447.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-06/0.5099, allocations: 0 / 447.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.51, allocations: 19.98 kB / 447.3 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.5105, allocations: 312.9 kB / 447.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.5107, allocations: 62.62 kB / 447.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.5107, allocations: 20.98 kB / 447.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5108, allocations: 3.953 kB / 447.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.5109, allocations: 64.33 kB / 447.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.77e-06/0.5109, allocations: 0 / 447.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000566/0.5115, allocations: 169.9 kB / 448 MB, free: 8.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.5116, allocations: 55.41 kB / 448 MB, free: 8.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.5119, allocations: 198.6 kB / 448.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.5119, allocations: 33.69 kB / 448.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.512, allocations: 166.5 kB / 448.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.5121, allocations: 23.66 kB / 448.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-06/0.5121, allocations: 0 / 448.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5123, allocations: 322.8 kB / 448.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.5124, allocations: 32.94 kB / 448.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.5125, allocations: 63.61 kB / 448.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5127, allocations: 69.69 kB / 448.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.496e-06/0.5127, allocations: 0 / 448.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003612/0.5131, allocations: 171.2 kB / 449.1 MB, free: 7.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.5132, allocations: 37.69 kB / 449.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.305e-06/0.5132, allocations: 0 / 449.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5132, allocations: 0 / 449.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5133, allocations: 19.92 kB / 449.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.289e-06/0.5133, allocations: 8.594 kB / 449.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.5135, allocations: 8 kB / 449.1 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.5135, allocations: 4.562 kB / 449.2 MB, free: 7.301 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.0001037/0.5136, allocations: 109.5 kB / 449.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.5137, allocations: 19.77 kB / 449.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.514, allocations: 117.9 kB / 449.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.429e-06/0.514, allocations: 4 kB / 449.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-06/0.514, allocations: 0 / 449.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.514, allocations: 4 kB / 449.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.5147, allocations: 425.2 kB / 449.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-06/0.5147, allocations: 0 / 449.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.5148, allocations: 11.98 kB / 449.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.014e-06/0.5148, allocations: 0 / 449.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5148, allocations: 4 kB / 449.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-06/0.5148, allocations: 1.953 kB / 449.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.887e-06/0.5148, allocations: 0 / 449.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.5152, allocations: 230.8 kB / 450.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5153, allocations: 101 kB / 450.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.5154, allocations: 4 kB / 450.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5155, allocations: 4 kB / 450.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.5155, allocations: 7.984 kB / 450.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.5156, allocations: 8.562 kB / 450.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.5158, allocations: 160.3 kB / 450.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5158, allocations: 0 / 450.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.5162, allocations: 47.92 kB / 450.4 MB, free: 5.957 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.001433/0.5176, allocations: 421.3 kB / 450.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.518, allocations: 167.3 kB / 451 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.698e-06/0.518, allocations: 0 / 451 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.5181, allocations: 28 kB / 451 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.5184, allocations: 23.33 kB / 451 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.519, allocations: 232.6 kB / 451.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.5194, allocations: 0.7123 MB / 452 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.5195, allocations: 15.44 kB / 452 MB, free: 4.379 MB / 378.7 MB Notification: Performance of SimCode: time 3.803e-06/0.5195, allocations: 0 / 452 MB, free: 4.379 MB / 378.7 MB Notification: Performance of Templates: time 0.004849/0.5243, allocations: 2.048 MB / 454 MB, free: 2.332 MB / 378.7 MB