Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.869e-05, allocations: 7.984 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 54.85 MB / 359.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.45, allocations: 83.39 MB / 443.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4503, allocations: 72.73 kB / 443.2 MB, free: 13.56 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01781/0.4681, allocations: 4.105 MB / 447.3 MB, free: 9.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4681, allocations: 0 / 447.3 MB, free: 9.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.4682, allocations: 4 kB / 447.3 MB, free: 9.484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001025/0.4692, allocations: 0.5947 MB / 447.9 MB, free: 8.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4693, allocations: 11.97 kB / 447.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.4693, allocations: 15.81 kB / 448 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.4698, allocations: 234.5 kB / 448.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.4698, allocations: 8 kB / 448.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.4699, allocations: 12.56 kB / 448.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4701, allocations: 90.5 kB / 448.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4702, allocations: 0 / 448.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.4702, allocations: 11.94 kB / 448.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4702, allocations: 4 kB / 448.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.4704, allocations: 44 kB / 448.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.4714, allocations: 449.6 kB / 448.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.4718, allocations: 106.6 kB / 448.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.472, allocations: 48.84 kB / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.472, allocations: 0 / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.4723, allocations: 112.1 kB / 449.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.756e-06/0.4723, allocations: 0 / 449.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004398/0.4728, allocations: 138.3 kB / 449.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4728, allocations: 55.41 kB / 449.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4731, allocations: 193.9 kB / 449.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.4732, allocations: 33.7 kB / 449.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.4733, allocations: 170.5 kB / 449.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.4734, allocations: 35.55 kB / 449.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.4734, allocations: 6.531 kB / 449.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4736, allocations: 318.8 kB / 450 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.4738, allocations: 52.19 kB / 450 MB, free: 6.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.474, allocations: 78.88 kB / 450.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.4742, allocations: 125.2 kB / 450.2 MB, free: 6.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-06/0.4742, allocations: 4 kB / 450.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000543/0.4748, allocations: 236.9 kB / 450.5 MB, free: 6.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.4749, allocations: 69.11 kB / 450.5 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4749, allocations: 0 / 450.5 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4749, allocations: 7.953 kB / 450.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.4752, allocations: 40.03 kB / 450.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4752, allocations: 3.766 kB / 450.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.4755, allocations: 43.81 kB / 450.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.4755, allocations: 4 kB / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001322/0.4757, allocations: 120.9 kB / 450.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.4757, allocations: 19.8 kB / 450.8 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.4762, allocations: 147.2 kB / 450.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4762, allocations: 7.953 kB / 450.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-06/0.4762, allocations: 0 / 450.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.227e-06/0.4762, allocations: 3.984 kB / 450.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.4765, allocations: 241.5 kB / 451.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-06/0.4766, allocations: 0 / 451.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.4768, allocations: 35.91 kB / 451.2 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.387e-06/0.4768, allocations: 4 kB / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.4769, allocations: 0 / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-06/0.4769, allocations: 0 / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.902e-06/0.4769, allocations: 3.953 kB / 451.2 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.4775, allocations: 226 kB / 451.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.4776, allocations: 104.9 kB / 451.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.4777, allocations: 4 kB / 451.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.4779, allocations: 32.03 kB / 451.6 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.478, allocations: 15.97 kB / 451.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.4781, allocations: 15.94 kB / 451.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.4783, allocations: 152.2 kB / 451.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4783, allocations: 0 / 451.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.4787, allocations: 55.88 kB / 451.8 MB, free: 4.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00128/0.48, allocations: 373.4 kB / 452.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.4805, allocations: 266.7 kB / 452.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4805, allocations: 0 / 452.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4807, allocations: 44 kB / 452.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4811, allocations: 38.8 kB / 452.5 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.4818, allocations: 251.3 kB / 452.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4822, allocations: 0.7244 MB / 453.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.4824, allocations: 31.36 kB / 453.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.7e-06/0.4824, allocations: 0 / 453.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of Templates: time 0.006349/0.4887, allocations: 2.689 MB / 456.2 MB, free: 244 kB / 378.7 MB