Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.173/2.173, allocations: 235 MB / 247.6 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.269e-05, allocations: 4 kB / 304.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 54.86 MB / 359.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4484, allocations: 82.06 MB / 441.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4487, allocations: 75.95 kB / 441.9 MB, free: 14.92 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.01915/0.4679, allocations: 4.538 MB / 446.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4679, allocations: 0 / 446.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.4679, 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.0006078/0.4685, allocations: 465.4 kB / 446.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4686, allocations: 11.97 kB / 446.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.4687, allocations: 11.91 kB / 446.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4691, allocations: 214.8 kB / 447.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4691, allocations: 4.75 kB / 447.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.4691, allocations: 8 kB / 447.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.4693, allocations: 54.55 kB / 447.2 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4693, allocations: 4 kB / 447.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4694, allocations: 7.953 kB / 447.2 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.28e-06/0.4694, allocations: 0 / 447.2 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.4695, allocations: 23.92 kB / 447.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.47, allocations: 312.8 kB / 447.5 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.4702, allocations: 51.53 kB / 447.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.4702, allocations: 24.98 kB / 447.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.4703, allocations: 0 / 447.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.4704, allocations: 79.28 kB / 447.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.59e-06/0.4705, allocations: 0 / 447.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005969/0.4711, allocations: 161.2 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4711, allocations: 55.41 kB / 447.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.4714, allocations: 174.5 kB / 448.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.4714, allocations: 33.64 kB / 448.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4716, allocations: 167.3 kB / 448.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.4716, allocations: 23.66 kB / 448.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-06/0.4716, allocations: 0 / 448.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4718, allocations: 326.8 kB / 448.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4719, allocations: 32 kB / 448.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.4721, allocations: 57.64 kB / 448.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.4722, allocations: 69.69 kB / 448.8 MB, free: 7.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4722, allocations: 0 / 448.8 MB, free: 7.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003706/0.4726, allocations: 168.9 kB / 448.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.4727, allocations: 41.69 kB / 449 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4727, allocations: 0 / 449 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4727, allocations: 4.031 kB / 449 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4729, allocations: 19.98 kB / 449 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.4729, allocations: 0 / 449 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.473, allocations: 4 kB / 449 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.473, allocations: 4 kB / 449 MB, free: 7.594 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.0001111/0.4732, allocations: 109.5 kB / 449.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4732, allocations: 19.8 kB / 449.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4735, allocations: 119.2 kB / 449.2 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-06/0.4736, allocations: 4.844 kB / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.531e-06/0.4736, allocations: 0 / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-06/0.4736, allocations: 0 / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.4742, allocations: 415.2 kB / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-06/0.4743, allocations: 0 / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.4743, allocations: 15.94 kB / 449.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.7e-06/0.4744, allocations: 0 / 449.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4744, allocations: 3.984 kB / 449.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.227e-06/0.4744, allocations: 8.031 kB / 449.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-06/0.4744, allocations: 192 / 449.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.4747, allocations: 221.8 kB / 449.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4749, allocations: 100.9 kB / 450 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.4749, allocations: 4 kB / 450 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.475, allocations: 4 kB / 450 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.4751, allocations: 12.17 kB / 450 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.4751, allocations: 8 kB / 450 MB, free: 6.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.4753, allocations: 144 kB / 450.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.4753, allocations: 0 / 450.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000398/0.4757, allocations: 43.92 kB / 450.2 MB, free: 6.27 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.001467/0.4772, allocations: 416 kB / 450.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.4776, allocations: 167.3 kB / 450.8 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.011e-06/0.4776, allocations: 0 / 450.8 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.4777, allocations: 31.94 kB / 450.8 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.478, allocations: 22.98 kB / 450.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.4785, allocations: 201.8 kB / 451 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4789, allocations: 0.7084 MB / 451.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.479, allocations: 15.44 kB / 451.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.479, allocations: 0 / 451.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of Templates: time 0.004872/0.4839, allocations: 1.983 MB / 453.7 MB, free: 2.758 MB / 378.7 MB