Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.174/2.174, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/4.003e-05, allocations: 7.984 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4521, allocations: 82.07 MB / 441.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4524, allocations: 67.97 kB / 441.9 MB, free: 14.89 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.01934/0.4718, allocations: 4.507 MB / 446.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.321e-06/0.4718, allocations: 0 / 446.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.4718, allocations: 0 / 446.4 MB, free: 10.41 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.0006094/0.4725, allocations: 457.6 kB / 446.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4725, allocations: 12.81 kB / 446.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.4726, allocations: 7.906 kB / 446.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.4729, allocations: 209.9 kB / 447.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.473, allocations: 0 / 447.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.473, allocations: 8 kB / 447.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.4732, allocations: 58.23 kB / 447.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4732, allocations: 0 / 447.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4732, allocations: 7.953 kB / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-06/0.4732, allocations: 0 / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.4733, allocations: 24.55 kB / 447.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.4738, allocations: 319.1 kB / 447.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.474, allocations: 54.69 kB / 447.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.4741, allocations: 20.98 kB / 447.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.4741, allocations: 7.953 kB / 447.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4743, allocations: 67.33 kB / 447.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.708e-06/0.4743, allocations: 0.6562 kB / 447.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005915/0.4749, allocations: 153.4 kB / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.475, allocations: 55.41 kB / 447.8 MB, free: 8.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.4752, allocations: 165.2 kB / 448 MB, free: 8.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.4753, allocations: 29.7 kB / 448 MB, free: 8.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4754, allocations: 166.5 kB / 448.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.4754, allocations: 23.7 kB / 448.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.4755, allocations: 5.781 kB / 448.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4756, allocations: 314.8 kB / 448.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4758, allocations: 39.92 kB / 448.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4759, allocations: 54.5 kB / 448.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.476, allocations: 77.67 kB / 448.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-06/0.4761, allocations: 0 / 448.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003772/0.4764, allocations: 175.2 kB / 448.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.4765, allocations: 39.41 kB / 448.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.34e-06/0.4765, allocations: 0 / 448.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4766, allocations: 0 / 448.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4767, allocations: 16 kB / 448.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.236e-06/0.4767, allocations: 0 / 448.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.4768, allocations: 4 kB / 448.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.4769, allocations: 11.98 kB / 448.9 MB, free: 7.641 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.0001045/0.477, allocations: 113.6 kB / 449 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.477, allocations: 11.86 kB / 449.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.4773, allocations: 122.9 kB / 449.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.485e-06/0.4774, allocations: 0 / 449.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.296e-06/0.4774, allocations: 3.984 kB / 449.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4774, allocations: 4 kB / 449.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.478, allocations: 411.2 kB / 449.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-06/0.4781, allocations: 0 / 449.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.4781, allocations: 12.17 kB / 449.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.12e-06/0.4781, allocations: 0 / 449.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4782, allocations: 8 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.313e-06/0.4782, allocations: 0 / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.122e-06/0.4782, allocations: 3.938 kB / 449.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.4785, allocations: 227.3 kB / 449.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4786, allocations: 93 kB / 449.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.4787, allocations: 11.98 kB / 449.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4788, allocations: 0 / 449.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.4789, allocations: 7.938 kB / 449.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4789, allocations: 7.984 kB / 449.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4791, allocations: 135.3 kB / 450.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4791, allocations: 0 / 450.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.4795, allocations: 31.98 kB / 450.1 MB, free: 6.355 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.001466/0.481, allocations: 430.4 kB / 450.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.4813, allocations: 163.3 kB / 450.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.14e-06/0.4814, allocations: 0 / 450.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.4815, allocations: 32.06 kB / 450.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4818, allocations: 23.94 kB / 450.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.4823, allocations: 189.8 kB / 450.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.4828, allocations: 0.7004 MB / 451.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.4828, allocations: 19.42 kB / 451.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.565e-06/0.4828, allocations: 0 / 451.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of Templates: time 0.004786/0.4876, allocations: 1.942 MB / 453.6 MB, free: 2.879 MB / 378.7 MB