Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.639e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 54.86 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4508, allocations: 82.02 MB / 441.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.4511, allocations: 67.97 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.01891/0.47, allocations: 4.405 MB / 446.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.671e-06/0.4701, allocations: 0 / 446.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.4701, allocations: 8 kB / 446.3 MB, free: 10.53 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.0006105/0.4707, allocations: 449.6 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4708, allocations: 11.97 kB / 446.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.4709, allocations: 11.91 kB / 446.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.4712, allocations: 205.9 kB / 446.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4713, allocations: 4 kB / 446.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.4713, allocations: 8 kB / 446.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4715, allocations: 53.67 kB / 447 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4715, allocations: 4 kB / 447 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4715, allocations: 3.953 kB / 447 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-06/0.4715, allocations: 0 / 447 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.4716, allocations: 19.98 kB / 447 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.4721, allocations: 320.7 kB / 447.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4723, allocations: 50.69 kB / 447.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.4724, allocations: 28.98 kB / 447.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4724, allocations: 3.953 kB / 447.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.4726, allocations: 64.27 kB / 447.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.539e-06/0.4726, allocations: 0 / 447.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005607/0.4732, allocations: 157.3 kB / 447.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4732, allocations: 55.41 kB / 447.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4735, allocations: 165.2 kB / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4735, allocations: 37.7 kB / 447.9 MB, free: 8.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4736, allocations: 167.5 kB / 448 MB, free: 8.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.4737, allocations: 19.7 kB / 448.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.4737, allocations: 4 kB / 448.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4739, allocations: 310.8 kB / 448.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.474, allocations: 43.98 kB / 448.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4741, allocations: 53.59 kB / 448.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4743, allocations: 73.67 kB / 448.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-06/0.4743, allocations: 0 / 448.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003881/0.4747, allocations: 172.1 kB / 448.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.4748, allocations: 33.7 kB / 448.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.367e-06/0.4748, allocations: 0.8438 kB / 448.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4748, allocations: 7.984 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4749, allocations: 19.94 kB / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.06e-06/0.475, allocations: 0 / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.475, allocations: 4 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.4751, allocations: 16.02 kB / 448.8 MB, free: 7.758 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.0001021/0.4752, allocations: 109.5 kB / 448.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.4752, allocations: 11.86 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.4756, allocations: 125.2 kB / 449 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4756, allocations: 4 kB / 449 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.44e-06/0.4756, allocations: 0 / 449 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-06/0.4756, allocations: 5.109 kB / 449 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.4762, allocations: 411.2 kB / 449.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-06/0.4763, allocations: 0 / 449.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.4763, allocations: 11.98 kB / 449.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.776e-06/0.4764, allocations: 4 kB / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4764, allocations: 0 / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.787e-06/0.4764, allocations: 0 / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-06/0.4764, allocations: 0 / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.4767, allocations: 231.5 kB / 449.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4768, allocations: 93 kB / 449.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.4769, allocations: 4 kB / 449.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.477, allocations: 7.984 kB / 449.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.4771, allocations: 7.938 kB / 449.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.4771, allocations: 8.859 kB / 449.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.4773, allocations: 131.3 kB / 449.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.4773, allocations: 0 / 449.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.4777, allocations: 39.98 kB / 450 MB, free: 6.473 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.001424/0.4791, allocations: 416.8 kB / 450.4 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4795, allocations: 167.3 kB / 450.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4795, allocations: 0 / 450.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.216e-05/0.4796, allocations: 36 kB / 450.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4799, allocations: 20.09 kB / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.4804, allocations: 181.8 kB / 450.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4808, allocations: 0.7043 MB / 451.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.4809, allocations: 19.61 kB / 451.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of SimCode: time 4.507e-06/0.4809, allocations: 4.062 kB / 451.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of Templates: time 0.004673/0.4856, allocations: 1.937 MB / 453.4 MB, free: 3.012 MB / 378.7 MB