Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.876e-05, allocations: 8 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3207, allocations: 54.86 MB / 359.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4478, allocations: 82.05 MB / 441.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4481, allocations: 68.59 kB / 441.9 MB, free: 14.76 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.01957/0.4677, allocations: 4.564 MB / 446.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.858e-06/0.4677, allocations: 0 / 446.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4678, allocations: 0 / 446.5 MB, free: 10.23 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.000595/0.4684, allocations: 461.4 kB / 446.9 MB, free: 9.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4684, allocations: 19.97 kB / 446.9 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.4685, allocations: 7.906 kB / 446.9 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.4688, allocations: 206.9 kB / 447.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.4689, allocations: 4 kB / 447.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4689, allocations: 4 kB / 447.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4691, allocations: 57.67 kB / 447.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4691, allocations: 0 / 447.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4691, allocations: 3.953 kB / 447.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4691, allocations: 0 / 447.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.4692, allocations: 23.94 kB / 447.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.4698, allocations: 320.8 kB / 447.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4699, allocations: 50.69 kB / 447.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.47, allocations: 20.98 kB / 447.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.47, allocations: 6.578 kB / 447.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.4702, allocations: 76.14 kB / 447.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.576e-06/0.4702, allocations: 0 / 447.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.4708, allocations: 169.2 kB / 447.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.4709, allocations: 51.41 kB / 447.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.4712, allocations: 178.4 kB / 448.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.4712, allocations: 29.7 kB / 448.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4713, allocations: 166.5 kB / 448.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.4714, allocations: 23.66 kB / 448.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.4714, allocations: 8 kB / 448.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4716, allocations: 318.8 kB / 448.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4717, allocations: 36 kB / 448.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.4718, allocations: 50.5 kB / 448.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.472, allocations: 69.67 kB / 448.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.472, allocations: 0 / 448.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003691/0.4724, allocations: 175.2 kB / 448.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.4724, allocations: 39.44 kB / 449 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.806e-06/0.4724, allocations: 4 kB / 449 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4725, allocations: 0 / 449 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4726, allocations: 12 kB / 449 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4726, allocations: 5.938 kB / 449 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.4727, allocations: 12 kB / 449 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.4727, allocations: 4 kB / 449 MB, free: 7.414 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.0001063/0.4729, allocations: 113.5 kB / 449.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.4729, allocations: 11.86 kB / 449.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.4732, allocations: 124.1 kB / 449.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4732, allocations: 0 / 449.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-06/0.4733, allocations: 0 / 449.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-06/0.4733, allocations: 0 / 449.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.4739, allocations: 415.3 kB / 449.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4739, allocations: 0 / 449.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.474, allocations: 11.94 kB / 449.7 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.179e-06/0.474, allocations: 4.688 kB / 449.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4741, allocations: 7.984 kB / 449.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.787e-06/0.4741, allocations: 0 / 449.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4741, allocations: 0 / 449.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.4744, allocations: 222.9 kB / 449.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4745, allocations: 100.9 kB / 450 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.4746, allocations: 4 kB / 450 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4747, allocations: 8 kB / 450 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.4748, allocations: 7.984 kB / 450 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.4748, allocations: 0 / 450 MB, free: 6.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.475, allocations: 144 kB / 450.2 MB, free: 6.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.475, allocations: 0 / 450.2 MB, free: 6.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.4754, allocations: 45.34 kB / 450.2 MB, free: 6.105 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.00143/0.4768, allocations: 422.8 kB / 450.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4772, allocations: 159.3 kB / 450.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.839e-06/0.4772, allocations: 0 / 450.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.4773, allocations: 31.94 kB / 450.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.4776, allocations: 28.06 kB / 450.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.4781, allocations: 205.8 kB / 451 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4785, allocations: 0.7121 MB / 451.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.4786, allocations: 15.44 kB / 451.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of SimCode: time 3.653e-06/0.4786, allocations: 0 / 451.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of Templates: time 0.004723/0.4834, allocations: 1.971 MB / 453.7 MB, free: 2.59 MB / 378.7 MB