Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.683e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 54.86 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4474, allocations: 82.06 MB / 441.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4477, allocations: 68.48 kB / 441.9 MB, free: 14.84 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.01917/0.4669, allocations: 4.507 MB / 446.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.86e-06/0.4669, allocations: 0 / 446.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.467, allocations: 8 kB / 446.4 MB, free: 10.36 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.000602/0.4676, allocations: 449.6 kB / 446.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4676, allocations: 11.97 kB / 446.9 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.4677, allocations: 7.906 kB / 446.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.4681, allocations: 209.9 kB / 447.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4681, allocations: 8 kB / 447.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.4681, allocations: 8 kB / 447.1 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4683, allocations: 53.69 kB / 447.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4683, allocations: 0 / 447.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4684, allocations: 7.938 kB / 447.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-06/0.4684, allocations: 0 / 447.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.4685, allocations: 16 kB / 447.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.469, allocations: 324.7 kB / 447.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.4691, allocations: 54.69 kB / 447.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.4692, allocations: 20.98 kB / 447.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4693, allocations: 10.58 kB / 447.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.4694, allocations: 63.39 kB / 447.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.729e-06/0.4694, allocations: 0 / 447.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.47, allocations: 150.2 kB / 447.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.4701, allocations: 59.41 kB / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4703, allocations: 169.2 kB / 448 MB, free: 8.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.4704, allocations: 33.7 kB / 448 MB, free: 8.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4705, allocations: 162.5 kB / 448.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4705, allocations: 15.72 kB / 448.2 MB, free: 8.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.4706, allocations: 8 kB / 448.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4707, allocations: 314.8 kB / 448.5 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4708, allocations: 40 kB / 448.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.471, allocations: 62.42 kB / 448.6 MB, free: 7.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4711, allocations: 65.69 kB / 448.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-06/0.4712, allocations: 0 / 448.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003807/0.4715, allocations: 171.2 kB / 448.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.4716, allocations: 39.41 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.413e-06/0.4716, allocations: 0.9375 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4717, allocations: 7.938 kB / 448.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4718, allocations: 19.98 kB / 448.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.864e-06/0.4718, allocations: 4.031 kB / 448.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.4719, allocations: 4 kB / 448.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.472, allocations: 12.55 kB / 448.9 MB, free: 7.586 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.000104/0.4721, allocations: 109.5 kB / 449 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.4721, allocations: 11.86 kB / 449.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.4724, allocations: 121.2 kB / 449.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.4725, allocations: 0 / 449.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.367e-06/0.4725, allocations: 4 kB / 449.2 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-06/0.4725, allocations: 4 kB / 449.2 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.4731, allocations: 413.1 kB / 449.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-06/0.4732, allocations: 0 / 449.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.4732, allocations: 8 kB / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.45e-06/0.4732, allocations: 4.656 kB / 449.6 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4733, allocations: 3.984 kB / 449.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.207e-06/0.4733, allocations: 0 / 449.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.396e-06/0.4733, allocations: 0 / 449.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4736, allocations: 226.9 kB / 449.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4737, allocations: 97 kB / 449.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4738, allocations: 4 kB / 449.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4739, allocations: 0 / 449.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.474, allocations: 15.92 kB / 449.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.474, allocations: 8 kB / 449.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.4742, allocations: 135.2 kB / 450.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4742, allocations: 0 / 450.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.4746, allocations: 33.41 kB / 450.1 MB, free: 6.309 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.001465/0.4761, allocations: 418.6 kB / 450.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.4764, allocations: 171.3 kB / 450.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4765, allocations: 0 / 450.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.4766, allocations: 35.92 kB / 450.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4769, allocations: 24.06 kB / 450.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.4774, allocations: 181.8 kB / 450.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.4778, allocations: 0.7123 MB / 451.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.4779, allocations: 15.44 kB / 451.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.06e-06/0.4779, allocations: 0 / 451.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004734/0.4827, allocations: 1.938 MB / 453.6 MB, free: 2.836 MB / 378.7 MB