Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.192/2.192, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.529e-05, allocations: 15.98 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3246, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4511, allocations: 82.05 MB / 441.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4514, allocations: 67.95 kB / 441.9 MB, free: 14.91 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.01977/0.4712, allocations: 4.721 MB / 446.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.379e-06/0.4712, allocations: 0 / 446.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4713, allocations: 4 kB / 446.6 MB, free: 10.22 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.0005896/0.4719, allocations: 461.5 kB / 447.1 MB, free: 9.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4719, allocations: 11.97 kB / 447.1 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.472, allocations: 11.81 kB / 447.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.4724, allocations: 214.8 kB / 447.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.4724, allocations: 4 kB / 447.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4724, allocations: 8 kB / 447.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.4726, allocations: 57.67 kB / 447.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4726, allocations: 0 / 447.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4727, allocations: 3.953 kB / 447.4 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-06/0.4727, allocations: 3.984 kB / 447.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.4728, allocations: 19.98 kB / 447.4 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.4733, allocations: 316.9 kB / 447.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.4735, allocations: 58.62 kB / 447.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.4735, allocations: 20.97 kB / 447.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4736, allocations: 7.953 kB / 447.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.4737, allocations: 61.09 kB / 447.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.59e-06/0.4737, allocations: 0 / 447.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005932/0.4743, allocations: 174.1 kB / 448 MB, free: 8.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4744, allocations: 55.41 kB / 448.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.4747, allocations: 198.6 kB / 448.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.4748, allocations: 29.7 kB / 448.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4749, allocations: 166.5 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4749, allocations: 27.64 kB / 448.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.475, allocations: 0 / 448.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4751, allocations: 326.8 kB / 448.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.4753, allocations: 32.94 kB / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4754, allocations: 55.69 kB / 448.9 MB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.4755, allocations: 73.67 kB / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.463e-06/0.4756, allocations: 0 / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003659/0.4759, allocations: 171.2 kB / 449.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.476, allocations: 37.69 kB / 449.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.786e-06/0.476, allocations: 192 / 449.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.476, allocations: 0 / 449.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4762, allocations: 19.94 kB / 449.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.4762, allocations: 12.58 kB / 449.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.4763, allocations: 8 kB / 449.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.4763, allocations: 4 kB / 449.2 MB, free: 7.375 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.000106/0.4765, allocations: 109.5 kB / 449.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.4765, allocations: 19.77 kB / 449.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.4768, allocations: 120.8 kB / 449.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-06/0.4769, allocations: 0 / 449.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4769, allocations: 4 kB / 449.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.171e-06/0.4769, allocations: 4 kB / 449.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.4775, allocations: 419.3 kB / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-06/0.4776, allocations: 0 / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.4776, allocations: 8 kB / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4777, allocations: 0 / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4777, allocations: 4 kB / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.78e-06/0.4777, allocations: 0 / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-06/0.4777, allocations: 0 / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.478, allocations: 230.8 kB / 450.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.4782, allocations: 105 kB / 450.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.4782, allocations: 4 kB / 450.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4784, allocations: 4 kB / 450.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4784, allocations: 7.984 kB / 450.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4784, allocations: 8.562 kB / 450.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.4787, allocations: 160.3 kB / 450.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.254e-06/0.4787, allocations: 0 / 450.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003981/0.4791, allocations: 51.86 kB / 450.4 MB, free: 6.027 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.001418/0.4805, allocations: 415.9 kB / 450.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.4809, allocations: 171.3 kB / 451 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4809, allocations: 0 / 451 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.481, allocations: 28 kB / 451 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4813, allocations: 23.17 kB / 451.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.4819, allocations: 226 kB / 451.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.4823, allocations: 0.72 MB / 452 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.4824, allocations: 15.44 kB / 452 MB, free: 4.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.648e-06/0.4824, allocations: 0 / 452 MB, free: 4.449 MB / 378.7 MB Notification: Performance of Templates: time 0.004881/0.4873, allocations: 2.044 MB / 454.1 MB, free: 2.406 MB / 378.7 MB