Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.162/2.162, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.719e-05, allocations: 8 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3635, allocations: 54.86 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4892, allocations: 82.02 MB / 441.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4895, allocations: 72.48 kB / 441.9 MB, free: 14.9 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.01866/0.5082, allocations: 4.413 MB / 446.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.288e-06/0.5082, allocations: 4 kB / 446.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5083, allocations: 0 / 446.3 MB, free: 10.52 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.0005896/0.5089, allocations: 448.3 kB / 446.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5089, allocations: 11.97 kB / 446.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.509, allocations: 11.91 kB / 446.7 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.5094, allocations: 205.9 kB / 446.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.5094, allocations: 8 kB / 446.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.5094, allocations: 4 kB / 447 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.5096, allocations: 53.67 kB / 447 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5097, allocations: 0 / 447 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.5097, allocations: 7.953 kB / 447 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-06/0.5097, allocations: 0 / 447 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.5099, allocations: 19.98 kB / 447 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.5104, allocations: 324.7 kB / 447.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.5106, allocations: 55.53 kB / 447.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.5106, allocations: 24.97 kB / 447.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5107, allocations: 7.938 kB / 447.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.5108, allocations: 63.41 kB / 447.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.618e-06/0.5108, allocations: 0 / 447.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.5114, allocations: 161.3 kB / 447.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.5115, allocations: 51.41 kB / 447.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.5117, allocations: 169.2 kB / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.5118, allocations: 25.7 kB / 447.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5119, allocations: 171 kB / 448.1 MB, free: 8.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.512, allocations: 19.72 kB / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-06/0.512, allocations: 0 / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5122, allocations: 322.8 kB / 448.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5123, allocations: 32 kB / 448.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.5124, allocations: 63.56 kB / 448.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.5126, allocations: 70.7 kB / 448.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-06/0.5126, allocations: 4 kB / 448.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003572/0.5129, allocations: 167.2 kB / 448.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.513, allocations: 41.69 kB / 448.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-06/0.513, allocations: 0.875 kB / 448.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.513, allocations: 0 / 448.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5132, allocations: 19.97 kB / 448.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5132, allocations: 7.984 kB / 448.8 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.5133, allocations: 4 kB / 448.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.5133, allocations: 8 kB / 448.8 MB, free: 7.742 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.0001066/0.5135, allocations: 107 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.5135, allocations: 11.86 kB / 448.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.5138, allocations: 126.3 kB / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-06/0.5138, allocations: 0 / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5139, allocations: 6.312 kB / 449.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.474e-06/0.5139, allocations: 0 / 449.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/0.5145, allocations: 411.2 kB / 449.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-06/0.5145, allocations: 0 / 449.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.5146, allocations: 12 kB / 449.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.397e-06/0.5146, allocations: 0 / 449.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5146, allocations: 0.9375 kB / 449.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.746e-06/0.5147, allocations: 4 kB / 449.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-06/0.5147, allocations: 0 / 449.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.515, allocations: 229.8 kB / 449.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5151, allocations: 97.84 kB / 449.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.5152, allocations: 4 kB / 449.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5153, allocations: 4 kB / 449.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.5153, allocations: 11.92 kB / 449.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.5154, allocations: 8 kB / 449.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.5156, allocations: 127.3 kB / 449.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.084e-06/0.5156, allocations: 0 / 449.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.516, allocations: 39.98 kB / 450 MB, free: 6.461 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.001455/0.5174, allocations: 420.9 kB / 450.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.5178, allocations: 167.3 kB / 450.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.5178, allocations: 0 / 450.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.5179, allocations: 31.94 kB / 450.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5182, allocations: 28.2 kB / 450.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.5187, allocations: 185.8 kB / 450.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.5192, allocations: 0.7162 MB / 451.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.5192, allocations: 11.44 kB / 451.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of SimCode: time 1.407e-06/0.5193, allocations: 0 / 451.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of Templates: time 0.004733/0.524, allocations: 1.93 MB / 453.5 MB, free: 2.996 MB / 378.7 MB