Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.165/2.165, allocations: 235 MB / 247.6 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.905e-05, allocations: 11.98 kB / 304.9 MB, free: 5.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4172, allocations: 54.85 MB / 359.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.5446, allocations: 82.05 MB / 441.8 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5449, allocations: 71.97 kB / 441.9 MB, free: 14.93 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.01923/0.5642, allocations: 4.705 MB / 446.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5642, allocations: 0 / 446.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.5642, allocations: 4 kB / 446.6 MB, free: 10.25 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.0006134/0.5648, allocations: 473.4 kB / 447.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5649, allocations: 11.97 kB / 447.1 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.565, allocations: 15.91 kB / 447.1 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.5653, allocations: 214.8 kB / 447.3 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5654, allocations: 4 kB / 447.3 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.5654, allocations: 8 kB / 447.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5656, allocations: 58.56 kB / 447.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5656, allocations: 7.969 kB / 447.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5656, allocations: 3.953 kB / 447.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5657, allocations: 0 / 447.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.5657, allocations: 16 kB / 447.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.5663, allocations: 316.9 kB / 447.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.5664, allocations: 58.62 kB / 447.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.5665, allocations: 20.98 kB / 447.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.5665, allocations: 0 / 447.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.5667, allocations: 71.34 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.547e-06/0.5667, allocations: 0.75 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005764/0.5673, allocations: 173 kB / 448 MB, free: 8.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5674, allocations: 51.41 kB / 448.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.5677, allocations: 198.6 kB / 448.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.5677, allocations: 25.7 kB / 448.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5678, allocations: 166.6 kB / 448.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.5679, allocations: 31.62 kB / 448.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.5679, allocations: 11.94 kB / 448.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5681, allocations: 317.2 kB / 448.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5682, allocations: 32 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.5683, allocations: 54.55 kB / 448.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.5685, allocations: 69.69 kB / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-06/0.5685, allocations: 0 / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003665/0.5689, allocations: 171.2 kB / 449.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.569, allocations: 43.45 kB / 449.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.197e-06/0.569, allocations: 0 / 449.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.569, allocations: 0 / 449.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5691, allocations: 20.17 kB / 449.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.5692, allocations: 0 / 449.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.5693, allocations: 8 kB / 449.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.5693, allocations: 4 kB / 449.2 MB, free: 7.406 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.0001065/0.5694, allocations: 117.5 kB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.5695, allocations: 15.86 kB / 449.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.5698, allocations: 131.1 kB / 449.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.827e-06/0.5698, allocations: 4 kB / 449.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-06/0.5698, allocations: 0 / 449.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.533e-06/0.5698, allocations: 192 / 449.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.5705, allocations: 415.3 kB / 449.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-06/0.5706, allocations: 3.938 kB / 449.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.5706, allocations: 11.98 kB / 449.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.869e-06/0.5706, allocations: 0 / 449.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.5707, allocations: 8.031 kB / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5707, allocations: 0 / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-06/0.5707, allocations: 0 / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.571, allocations: 229.8 kB / 450.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5711, allocations: 97 kB / 450.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.5712, allocations: 4 kB / 450.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5713, allocations: 11.98 kB / 450.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.5714, allocations: 4 kB / 450.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5714, allocations: 4 kB / 450.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.5716, allocations: 164.3 kB / 450.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.5716, allocations: 3.938 kB / 450.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.572, allocations: 43.94 kB / 450.4 MB, free: 6.047 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.001433/0.5735, allocations: 413.9 kB / 450.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.5738, allocations: 167.4 kB / 451 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.169e-06/0.5739, allocations: 0 / 451 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.574, allocations: 35.92 kB / 451 MB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.5743, allocations: 27.12 kB / 451.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.5749, allocations: 222.4 kB / 451.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.5753, allocations: 0.7199 MB / 452 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.5754, allocations: 15.44 kB / 452 MB, free: 4.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.357e-06/0.5754, allocations: 0 / 452 MB, free: 4.465 MB / 378.7 MB Notification: Performance of Templates: time 0.005629/0.581, allocations: 2.043 MB / 454.1 MB, free: 2.422 MB / 378.7 MB