Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.262e-05, allocations: 8.938 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 54.85 MB / 359.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4483, allocations: 82.28 MB / 442 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4485, allocations: 71.97 kB / 442.1 MB, free: 14.66 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.0207/0.4693, allocations: 4.91 MB / 447 MB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.975e-06/0.4693, allocations: 0 / 447 MB, free: 9.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4693, allocations: 0 / 447 MB, free: 9.785 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.0006015/0.4699, allocations: 449.6 kB / 447.5 MB, free: 9.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.47, allocations: 11.97 kB / 447.5 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.4701, allocations: 11.84 kB / 447.5 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.4704, allocations: 199 kB / 447.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4704, allocations: 4 kB / 447.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4705, allocations: 4 kB / 447.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4706, allocations: 71.39 kB / 447.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4707, allocations: 0 / 447.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.4707, allocations: 7.938 kB / 447.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4707, allocations: 0 / 447.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.4708, allocations: 27.92 kB / 447.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.4713, allocations: 301.5 kB / 448.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.4715, allocations: 50.69 kB / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.4716, allocations: 20.98 kB / 448.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.4716, allocations: 4.891 kB / 448.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.4718, allocations: 79.33 kB / 448.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.709e-06/0.4718, allocations: 0 / 448.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.4724, allocations: 150.4 kB / 448.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.4724, allocations: 81.11 kB / 448.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4726, allocations: 135 kB / 448.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4727, allocations: 29.7 kB / 448.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.4728, allocations: 162.5 kB / 448.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.4728, allocations: 23.64 kB / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-06/0.4729, allocations: 7.938 kB / 448.8 MB, free: 7.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.473, allocations: 319.8 kB / 449.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.053e-05/0.4731, allocations: 35.94 kB / 449.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4733, allocations: 50.56 kB / 449.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4734, allocations: 65.69 kB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4734, allocations: 3.953 kB / 449.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003266/0.4738, allocations: 147.3 kB / 449.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.4738, allocations: 47.47 kB / 449.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.013e-06/0.4738, allocations: 0 / 449.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4739, allocations: 0 / 449.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.474, allocations: 12.75 kB / 449.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.474, allocations: 4 kB / 449.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.4741, allocations: 7.984 kB / 449.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.4741, allocations: 4 kB / 449.5 MB, free: 7.047 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.0001074/0.4743, allocations: 109.5 kB / 449.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.4743, allocations: 15.8 kB / 449.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.4746, allocations: 121.3 kB / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-06/0.4746, allocations: 0 / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/0.4747, allocations: 0 / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.502e-06/0.4747, allocations: 0 / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.4753, allocations: 399.2 kB / 450.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-06/0.4753, allocations: 0 / 450.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.4754, allocations: 15.92 kB / 450.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-06/0.4754, allocations: 8.688 kB / 450.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.4754, allocations: 4 kB / 450.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4755, allocations: 0 / 450.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.81e-06/0.4755, allocations: 0 / 450.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4758, allocations: 218.9 kB / 450.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4759, allocations: 97 kB / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.476, allocations: 0 / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4761, allocations: 11.98 kB / 450.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4761, allocations: 8 kB / 450.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4762, allocations: 7.984 kB / 450.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4763, allocations: 110.5 kB / 450.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.4763, allocations: 0 / 450.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.4768, allocations: 57.27 kB / 450.7 MB, free: 5.781 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.001733/0.4785, allocations: 0.503 MB / 451.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.4789, allocations: 147.3 kB / 451.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.301e-06/0.4789, allocations: 4 kB / 451.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.479, allocations: 27.94 kB / 451.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4793, allocations: 15.98 kB / 451.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.4798, allocations: 157.6 kB / 451.5 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.4802, allocations: 0.7004 MB / 452.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.4803, allocations: 23.42 kB / 452.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of SimCode: time 2.02e-06/0.4803, allocations: 0 / 452.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of Templates: time 0.004998/0.4853, allocations: 2.101 MB / 454.3 MB, free: 2.121 MB / 378.7 MB