Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.174/2.174, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.741e-05, allocations: 8 kB / 304.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3258, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4546, allocations: 81.9 MB / 441.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4549, allocations: 72.5 kB / 441.7 MB, free: 15.03 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0183/0.4732, allocations: 4.354 MB / 446.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.557e-06/0.4733, allocations: 0 / 446.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4733, allocations: 0 / 446.1 MB, free: 10.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000574/0.4739, allocations: 441.6 kB / 446.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4739, allocations: 8.031 kB / 446.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.474, allocations: 11.91 kB / 446.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.4744, allocations: 201.9 kB / 446.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4744, allocations: 7.984 kB / 446.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.4744, allocations: 4 kB / 446.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.4746, allocations: 45.69 kB / 446.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.715e-06/0.4746, allocations: 2.438 kB / 446.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4746, allocations: 3.953 kB / 446.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4746, allocations: 0 / 446.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.4747, allocations: 20.83 kB / 446.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.475, allocations: 201.6 kB / 447 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.4752, allocations: 62.55 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.4752, allocations: 16.86 kB / 447.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4753, allocations: 4 kB / 447.1 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.4754, allocations: 67.48 kB / 447.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.579e-06/0.4755, allocations: 0 / 447.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.4757, allocations: 85.45 kB / 447.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.4758, allocations: 55.41 kB / 447.3 MB, free: 9.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.476, allocations: 173.8 kB / 447.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.4761, allocations: 25.7 kB / 447.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.4762, allocations: 162.6 kB / 447.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.4762, allocations: 7.812 kB / 447.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.4762, allocations: 8 kB / 447.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4764, allocations: 314.8 kB / 448 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.4765, allocations: 29.03 kB / 448 MB, free: 8.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.4766, allocations: 47.69 kB / 448.1 MB, free: 8.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4768, allocations: 65.67 kB / 448.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.4768, allocations: 1.5 kB / 448.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003143/0.4771, allocations: 143.3 kB / 448.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.4772, allocations: 37.64 kB / 448.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4772, allocations: 4 kB / 448.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4772, allocations: 3.984 kB / 448.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4773, allocations: 8 kB / 448.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4773, allocations: 3.953 kB / 448.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.4774, allocations: 19.88 kB / 448.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.4775, allocations: 4 kB / 448.3 MB, free: 8.215 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 (8): * Single equations (assignments): 7 * 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.0001059/0.4776, allocations: 116.9 kB / 448.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4776, allocations: 7.906 kB / 448.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.4779, allocations: 91.45 kB / 448.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4779, allocations: 0 / 448.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.046e-06/0.4779, allocations: 0 / 448.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.216e-06/0.4779, allocations: 3.953 kB / 448.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4782, allocations: 189.8 kB / 448.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-06/0.4782, allocations: 4 kB / 448.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.4782, allocations: 4.844 kB / 448.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.733e-06/0.4783, allocations: 0 / 448.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4783, allocations: 4 kB / 448.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4783, allocations: 0 / 448.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-06/0.4783, allocations: 0 / 448.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.4785, allocations: 120.8 kB / 448.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4787, allocations: 97 kB / 449 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4787, allocations: 4 kB / 449 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.4788, allocations: 0 / 449 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.4788, allocations: 9.391 kB / 449 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4788, allocations: 4 kB / 449 MB, free: 7.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.479, allocations: 131.2 kB / 449.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.479, allocations: 0 / 449.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.4794, allocations: 35.94 kB / 449.1 MB, free: 7.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001273/0.4807, allocations: 377.7 kB / 449.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.481, allocations: 151.3 kB / 449.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.79e-06/0.481, allocations: 4 kB / 449.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.4811, allocations: 20 kB / 449.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4813, allocations: 19.92 kB / 449.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4818, allocations: 168.7 kB / 449.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.4822, allocations: 0.7058 MB / 450.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.4823, allocations: 15.5 kB / 450.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of SimCode: time 1.425e-06/0.4823, allocations: 0 / 450.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of Templates: time 0.004359/0.4866, allocations: 1.698 MB / 452.3 MB, free: 4.172 MB / 378.7 MB