Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.137/2.137, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.723e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3209, allocations: 54.85 MB / 359.8 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4476, allocations: 82.06 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.4479, allocations: 76.48 kB / 441.9 MB, free: 14.87 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.01892/0.4668, allocations: 4.495 MB / 446.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.629e-06/0.4669, allocations: 0 / 446.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.4669, allocations: 4 kB / 446.4 MB, free: 10.4 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.0005881/0.4675, allocations: 453.6 kB / 446.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4675, allocations: 15.97 kB / 446.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.4676, allocations: 7.906 kB / 446.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.468, allocations: 205.9 kB / 447.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.468, allocations: 8 kB / 447.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.4681, allocations: 4 kB / 447.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4682, allocations: 53.69 kB / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4682, allocations: 0 / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4683, allocations: 11.94 kB / 447.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4683, allocations: 0 / 447.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.4684, allocations: 19.94 kB / 447.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.4689, allocations: 316.8 kB / 447.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.4691, allocations: 58.69 kB / 447.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.4691, allocations: 20.97 kB / 447.5 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.4692, allocations: 3.953 kB / 447.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.4693, allocations: 72.27 kB / 447.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.54e-06/0.4694, allocations: 0 / 447.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005521/0.4699, allocations: 158.1 kB / 447.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.47, allocations: 51.41 kB / 447.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4702, allocations: 173.2 kB / 448 MB, free: 8.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.4703, allocations: 29.64 kB / 448 MB, free: 8.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4704, allocations: 166.5 kB / 448.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.4705, allocations: 19.72 kB / 448.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-06/0.4705, allocations: 0 / 448.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4706, allocations: 322.8 kB / 448.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4708, allocations: 36.94 kB / 448.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.4709, allocations: 59.61 kB / 448.6 MB, free: 7.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.471, allocations: 69.69 kB / 448.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-06/0.4711, allocations: 0 / 448.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003622/0.4714, allocations: 179.2 kB / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.4715, allocations: 33.7 kB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.766e-06/0.4715, allocations: 1.016 kB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4715, allocations: 192 / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4717, allocations: 24.02 kB / 448.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.465e-06/0.4717, allocations: 4.562 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.4718, allocations: 4 kB / 448.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.4718, allocations: 8 kB / 448.9 MB, free: 7.621 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.0001018/0.4719, allocations: 105.5 kB / 449 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.472, allocations: 15.8 kB / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.4723, allocations: 120 kB / 449.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-06/0.4723, allocations: 0 / 449.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-06/0.4723, allocations: 4 kB / 449.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.004e-06/0.4723, allocations: 0 / 449.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.473, allocations: 415.2 kB / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-06/0.473, allocations: 0 / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.4731, allocations: 15.94 kB / 449.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4731, allocations: 0 / 449.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4731, allocations: 3.984 kB / 449.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4731, allocations: 4 kB / 449.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-06/0.4731, allocations: 0 / 449.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4735, allocations: 226.8 kB / 449.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4736, allocations: 97 kB / 449.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4736, allocations: 4 kB / 449.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4737, allocations: 4 kB / 449.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.4738, allocations: 7.984 kB / 449.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.4738, allocations: 8.562 kB / 449.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.474, allocations: 131.2 kB / 450.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.474, allocations: 0 / 450.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.4744, allocations: 36 kB / 450.1 MB, free: 6.34 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.001438/0.4759, allocations: 423.8 kB / 450.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.4762, allocations: 159.3 kB / 450.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.827e-06/0.4762, allocations: 0 / 450.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.4763, allocations: 35.92 kB / 450.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.4766, allocations: 28.11 kB / 450.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.4771, allocations: 181.8 kB / 450.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.4776, allocations: 0.7123 MB / 451.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.4776, allocations: 15.44 kB / 451.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of SimCode: time 3.773e-06/0.4776, allocations: 0 / 451.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of Templates: time 0.004798/0.4824, allocations: 1.941 MB / 453.6 MB, free: 2.867 MB / 378.7 MB