Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.548e-05, allocations: 8 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.4552, allocations: 82.04 MB / 441.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4555, allocations: 76.73 kB / 441.9 MB, free: 14.88 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.01935/0.4748, allocations: 4.619 MB / 446.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.046e-06/0.4749, allocations: 0 / 446.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.4749, allocations: 8 kB / 446.5 MB, free: 10.29 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.0006005/0.4755, allocations: 465.4 kB / 447 MB, free: 9.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4756, allocations: 11.97 kB / 447 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.4756, allocations: 11.91 kB / 447 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.476, allocations: 203.6 kB / 447.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.476, allocations: 8 kB / 447.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.4761, allocations: 7.906 kB / 447.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4762, allocations: 65.61 kB / 447.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4763, allocations: 0.5625 kB / 447.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4763, allocations: 3.953 kB / 447.3 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.982e-06/0.4763, allocations: 4 kB / 447.3 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.4764, allocations: 15.98 kB / 447.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.4769, allocations: 316.8 kB / 447.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4771, allocations: 58.62 kB / 447.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.4772, allocations: 26.19 kB / 447.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.4772, allocations: 3.953 kB / 447.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4774, allocations: 63.41 kB / 447.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.94e-06/0.4774, allocations: 0 / 447.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005836/0.478, allocations: 162 kB / 447.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.478, allocations: 55.41 kB / 448 MB, free: 8.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.4783, allocations: 197.9 kB / 448.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4784, allocations: 25.7 kB / 448.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4785, allocations: 166.6 kB / 448.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.4785, allocations: 23.7 kB / 448.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.4786, allocations: 0 / 448.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4787, allocations: 322.8 kB / 448.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.4788, allocations: 35.98 kB / 448.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.479, allocations: 53.09 kB / 448.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4791, allocations: 77.67 kB / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-06/0.4791, allocations: 0 / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003622/0.4795, allocations: 167.3 kB / 449 MB, free: 7.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.4796, allocations: 39.42 kB / 449 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-06/0.4796, allocations: 3.984 kB / 449.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4796, allocations: 0 / 449.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4798, allocations: 12.19 kB / 449.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.868e-06/0.4798, allocations: 8 kB / 449.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.4799, allocations: 4.031 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.4799, allocations: 19.92 kB / 449.1 MB, free: 7.457 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.0001056/0.48, allocations: 109.5 kB / 449.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.4801, allocations: 19.77 kB / 449.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.4804, allocations: 125.1 kB / 449.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.296e-06/0.4804, allocations: 0 / 449.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-06/0.4805, allocations: 0 / 449.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-06/0.4805, allocations: 4 kB / 449.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.4811, allocations: 415.3 kB / 449.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-06/0.4811, allocations: 0 / 449.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.4812, allocations: 12 kB / 449.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-06/0.4812, allocations: 5.125 kB / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4813, allocations: 3.984 kB / 449.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.96e-06/0.4813, allocations: 0 / 449.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-06/0.4813, allocations: 0 / 449.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.4816, allocations: 229.8 kB / 450 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4817, allocations: 100.9 kB / 450.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4818, allocations: 1.406 kB / 450.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4819, allocations: 4 kB / 450.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.482, allocations: 11.98 kB / 450.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.482, allocations: 4 kB / 450.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4822, allocations: 148.8 kB / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.081e-06/0.4822, allocations: 4 kB / 450.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000395/0.4826, allocations: 47.86 kB / 450.3 MB, free: 6.121 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.00144/0.4841, allocations: 413.9 kB / 450.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.4844, allocations: 163.3 kB / 450.9 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.072e-06/0.4845, allocations: 8 kB / 450.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.4846, allocations: 31.98 kB / 450.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.4849, allocations: 30.98 kB / 450.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.4854, allocations: 197.7 kB / 451.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.4859, allocations: 0.716 MB / 451.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.486, allocations: 23.5 kB / 451.9 MB, free: 4.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.431e-06/0.486, allocations: 0 / 451.9 MB, free: 4.559 MB / 378.7 MB Notification: Performance of Templates: time 0.004846/0.4908, allocations: 2.004 MB / 453.9 MB, free: 2.559 MB / 378.7 MB