Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.488e-05, allocations: 8 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3628, allocations: 54.86 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.5048, allocations: 82.05 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5051, allocations: 75.95 kB / 441.9 MB, free: 14.86 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.01927/0.5244, allocations: 4.624 MB / 446.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.108e-06/0.5244, allocations: 0 / 446.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.5245, allocations: 4 kB / 446.5 MB, free: 10.27 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.0005908/0.5251, allocations: 461.4 kB / 447 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5251, allocations: 15.97 kB / 447 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.5252, allocations: 7.906 kB / 447 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.5256, allocations: 211.6 kB / 447.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5256, allocations: 4 kB / 447.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.5256, allocations: 7.906 kB / 447.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.5258, allocations: 61.61 kB / 447.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5258, allocations: 0 / 447.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5259, allocations: 3.953 kB / 447.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5259, allocations: 4 kB / 447.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.526, allocations: 23.98 kB / 447.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.5265, allocations: 312.9 kB / 447.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.5266, allocations: 54.62 kB / 447.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.5267, allocations: 24.97 kB / 447.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5268, allocations: 10.58 kB / 447.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.5269, allocations: 59.41 kB / 447.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.707e-06/0.5269, allocations: 4 kB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.5275, allocations: 166.1 kB / 447.9 MB, free: 8.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5276, allocations: 51.41 kB / 448 MB, free: 8.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.5279, allocations: 197.9 kB / 448.2 MB, free: 8.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.5279, allocations: 25.7 kB / 448.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.528, allocations: 162.6 kB / 448.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.5281, allocations: 23.7 kB / 448.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.5281, allocations: 8 kB / 448.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5283, allocations: 318.8 kB / 448.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.5284, allocations: 36 kB / 448.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5285, allocations: 50.55 kB / 448.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.5287, allocations: 69.69 kB / 448.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-06/0.5287, allocations: 0 / 448.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003718/0.5291, allocations: 175.2 kB / 449 MB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.5291, allocations: 35.42 kB / 449.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.498e-06/0.5292, allocations: 0 / 449.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5292, allocations: 4.031 kB / 449.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5293, allocations: 23.98 kB / 449.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.636e-06/0.5293, allocations: 0 / 449.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.5294, allocations: 4 kB / 449.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5295, allocations: 4.5 kB / 449.1 MB, free: 7.453 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.0001131/0.5296, allocations: 121.4 kB / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.5296, allocations: 19.77 kB / 449.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.53, allocations: 121.1 kB / 449.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-06/0.53, allocations: 8 kB / 449.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-06/0.53, allocations: 0 / 449.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-06/0.53, allocations: 0 / 449.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.5307, allocations: 419.2 kB / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-06/0.5307, allocations: 0 / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.5308, allocations: 8 kB / 449.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.5308, allocations: 4.656 kB / 449.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5308, allocations: 0 / 449.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.903e-06/0.5308, allocations: 4.016 kB / 449.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5308, allocations: 8 kB / 449.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.5312, allocations: 222.8 kB / 450 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.5313, allocations: 100.9 kB / 450.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.5314, allocations: 8 kB / 450.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5315, allocations: 0 / 450.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.5315, allocations: 11.98 kB / 450.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5316, allocations: 4 kB / 450.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002035/0.5318, allocations: 152.8 kB / 450.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.15e-06/0.5318, allocations: 0 / 450.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.5322, allocations: 49.27 kB / 450.3 MB, free: 6.105 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.001445/0.5336, allocations: 418.6 kB / 450.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.534, allocations: 155.4 kB / 450.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.534, allocations: 0 / 450.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.5341, allocations: 31.94 kB / 450.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5344, allocations: 35.11 kB / 451 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.5349, allocations: 201.8 kB / 451.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.5354, allocations: 0.7238 MB / 451.9 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.5355, allocations: 11.44 kB / 451.9 MB, free: 4.551 MB / 378.7 MB Notification: Performance of SimCode: time 1.38e-06/0.5355, allocations: 4 kB / 451.9 MB, free: 4.547 MB / 378.7 MB Notification: Performance of Templates: time 0.004727/0.5402, allocations: 2.007 MB / 453.9 MB, free: 2.543 MB / 378.7 MB