Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 235 MB / 247.6 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.63e-05/4.649e-05, allocations: 7.984 kB / 304.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3267, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4557, allocations: 82.03 MB / 441.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.456, allocations: 71.95 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.01954/0.4756, allocations: 4.442 MB / 446.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.4756, allocations: 0 / 446.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4757, allocations: 0 / 446.3 MB, free: 10.5 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.000613/0.4763, allocations: 465.4 kB / 446.8 MB, free: 9.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4763, allocations: 11.97 kB / 446.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.4764, allocations: 11.91 kB / 446.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.4768, allocations: 206.9 kB / 447 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.4768, allocations: 4 kB / 447 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.4768, allocations: 4 kB / 447 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.477, allocations: 57.66 kB / 447.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.477, allocations: 0 / 447.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4771, allocations: 7.953 kB / 447.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-06/0.4771, allocations: 0 / 447.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.4772, allocations: 23.94 kB / 447.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.4777, allocations: 324.8 kB / 447.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.4779, allocations: 50.69 kB / 447.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.4779, allocations: 16.98 kB / 447.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.478, allocations: 10.67 kB / 447.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.4781, allocations: 71.33 kB / 447.5 MB, free: 9.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.692e-06/0.4782, allocations: 4 kB / 447.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005844/0.4788, allocations: 158 kB / 447.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4788, allocations: 55.41 kB / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4791, allocations: 174.5 kB / 447.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4791, allocations: 25.7 kB / 448 MB, free: 8.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4793, allocations: 166.5 kB / 448.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.4793, allocations: 23.66 kB / 448.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.4793, allocations: 4 kB / 448.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4795, allocations: 326.8 kB / 448.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4796, allocations: 36 kB / 448.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4798, allocations: 54.5 kB / 448.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4799, allocations: 69.67 kB / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-06/0.4799, allocations: 0 / 448.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003803/0.4803, allocations: 171.2 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.4804, allocations: 39.41 kB / 448.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4804, allocations: 0 / 448.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4804, allocations: 4.031 kB / 448.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4806, allocations: 20.19 kB / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4806, allocations: 7.984 kB / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.4807, allocations: 4 kB / 448.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4807, allocations: 4 kB / 448.9 MB, free: 7.691 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.000105/0.4808, allocations: 109.5 kB / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.4809, allocations: 15.86 kB / 449 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.4812, allocations: 120.9 kB / 449.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-06/0.4812, allocations: 4 kB / 449.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.37e-06/0.4813, allocations: 0 / 449.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.112e-06/0.4813, allocations: 0 / 449.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.4819, allocations: 417.2 kB / 449.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-06/0.482, allocations: 0 / 449.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.482, allocations: 12 kB / 449.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.651e-06/0.4821, allocations: 0.75 kB / 449.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4821, allocations: 3.984 kB / 449.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-06/0.4821, allocations: 11.97 kB / 449.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-06/0.4821, allocations: 0 / 449.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.4824, allocations: 215 kB / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4826, allocations: 100.9 kB / 449.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4826, allocations: 3.938 kB / 449.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4828, allocations: 8 kB / 449.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.4828, allocations: 11.98 kB / 449.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4828, allocations: 4 kB / 449.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.483, allocations: 144 kB / 450 MB, free: 6.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.483, allocations: 0 / 450 MB, free: 6.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.4835, allocations: 39.94 kB / 450.1 MB, free: 6.383 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.001491/0.485, allocations: 428.7 kB / 450.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.4854, allocations: 163.3 kB / 450.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.802e-06/0.4854, allocations: 4 kB / 450.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.4855, allocations: 31.92 kB / 450.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4858, allocations: 28.06 kB / 450.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.4864, allocations: 197.8 kB / 450.9 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4868, allocations: 0.7121 MB / 451.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.4869, allocations: 15.44 kB / 451.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of SimCode: time 3.757e-06/0.4869, allocations: 0 / 451.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of Templates: time 0.00484/0.4917, allocations: 1.971 MB / 453.6 MB, free: 2.863 MB / 378.7 MB