Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.693e-05, allocations: 8 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3187, allocations: 54.85 MB / 359.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.473, allocations: 82.27 MB / 442 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004855/0.4735, allocations: 67.97 kB / 442.1 MB, free: 14.68 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.02462/0.4982, allocations: 4.912 MB / 447 MB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.4982, allocations: 0.5625 kB / 447 MB, free: 9.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4982, allocations: 4 kB / 447 MB, free: 9.801 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.000609/0.4989, allocations: 453.5 kB / 447.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4989, allocations: 11.97 kB / 447.5 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.499, allocations: 7.906 kB / 447.5 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.4993, allocations: 199 kB / 447.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4994, allocations: 0.5625 kB / 447.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4994, allocations: 4 kB / 447.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4996, allocations: 79.39 kB / 447.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4996, allocations: 0 / 447.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4997, allocations: 3.953 kB / 447.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-06/0.4997, allocations: 0 / 447.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.405e-05/0.4998, allocations: 27.33 kB / 447.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.5003, allocations: 296.8 kB / 448.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5005, allocations: 54.69 kB / 448.1 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.5005, allocations: 20.98 kB / 448.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.5006, allocations: 7.938 kB / 448.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.5007, allocations: 73.45 kB / 448.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.636e-06/0.5008, allocations: 0 / 448.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005676/0.5013, allocations: 145.3 kB / 448.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.5014, allocations: 89.11 kB / 448.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5016, allocations: 139.1 kB / 448.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.5017, allocations: 25.7 kB / 448.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5018, allocations: 166.5 kB / 448.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.5018, allocations: 23.64 kB / 448.8 MB, free: 7.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.5019, allocations: 4 kB / 448.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.502, allocations: 310.8 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.5021, allocations: 35.94 kB / 449.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.5023, allocations: 55.41 kB / 449.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.5024, allocations: 69.69 kB / 449.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-06/0.5024, allocations: 3.953 kB / 449.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003317/0.5028, allocations: 151.3 kB / 449.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.5028, allocations: 37.69 kB / 449.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-06/0.5028, allocations: 0 / 449.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5029, allocations: 0 / 449.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.503, allocations: 12 kB / 449.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.503, allocations: 12.05 kB / 449.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.5031, allocations: 8 kB / 449.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.5032, allocations: 5.781 kB / 449.5 MB, free: 7.062 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.000111/0.5033, allocations: 113.5 kB / 449.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.5033, allocations: 11.86 kB / 449.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.5036, allocations: 112.2 kB / 449.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.524e-06/0.5037, allocations: 3.938 kB / 449.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.37e-06/0.5037, allocations: 0 / 449.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5037, allocations: 4 kB / 449.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.5043, allocations: 399.2 kB / 450.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-06/0.5044, allocations: 0.875 kB / 450.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.5044, allocations: 15.92 kB / 450.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.623e-06/0.5044, allocations: 4 kB / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.5045, allocations: 0 / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.119e-06/0.5045, allocations: 0 / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.729e-06/0.5045, allocations: 5.594 kB / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.5048, allocations: 217.9 kB / 450.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5049, allocations: 97 kB / 450.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.505, allocations: 8 kB / 450.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5051, allocations: 7.984 kB / 450.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5052, allocations: 4 kB / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5052, allocations: 11.98 kB / 450.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.5053, allocations: 118 kB / 450.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.5054, allocations: 0 / 450.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.5058, allocations: 48.16 kB / 450.7 MB, free: 5.797 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.001806/0.5076, allocations: 0.5045 MB / 451.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.508, allocations: 147.4 kB / 451.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.556e-06/0.508, allocations: 0 / 451.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.5081, allocations: 31.94 kB / 451.3 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5085, allocations: 19.03 kB / 451.4 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.5089, allocations: 153.5 kB / 451.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.5093, allocations: 0.7084 MB / 452.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.5094, allocations: 15.44 kB / 452.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.677e-06/0.5094, allocations: 0 / 452.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of Templates: time 0.005154/0.5146, allocations: 2.101 MB / 454.3 MB, free: 2.141 MB / 378.7 MB