Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.844e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.08879, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.4347, allocations: 75.77 MB / 397.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.435, allocations: 70.81 kB / 397.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.4506, allocations: 4.067 MB / 401.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4506, allocations: 3.844 kB / 401.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4506, allocations: 0 / 401.7 MB, free: 6.016 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003826/0.451, allocations: 422.8 kB / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4511, allocations: 11.53 kB / 402.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.4511, allocations: 11.31 kB / 402.1 MB, free: 5.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.4514, allocations: 201.4 kB / 402.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4514, allocations: 0 / 402.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4514, allocations: 3.875 kB / 402.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.4515, allocations: 45.3 kB / 402.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4516, allocations: 3.844 kB / 402.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4516, allocations: 7.812 kB / 402.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-06/0.4516, allocations: 0 / 402.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/0.4517, allocations: 15.61 kB / 402.4 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.452, allocations: 294.9 kB / 402.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4523, allocations: 37.73 kB / 402.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.4523, allocations: 16.53 kB / 402.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4523, allocations: 4 kB / 402.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.4525, allocations: 59.06 kB / 402.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.021e-06/0.4525, allocations: 0 / 402.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000392/0.4529, allocations: 111.2 kB / 402.9 MB, free: 4.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4529, allocations: 55.25 kB / 402.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.4531, allocations: 168.3 kB / 403.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4531, allocations: 29.55 kB / 403.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.4532, allocations: 168.4 kB / 403.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.4532, allocations: 11.73 kB / 403.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-06/0.4532, allocations: 7.312 kB / 403.3 MB, free: 4.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.4533, allocations: 314.7 kB / 403.6 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.4534, allocations: 21.97 kB / 403.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.4534, allocations: 25.67 kB / 403.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.4535, allocations: 47.83 kB / 403.7 MB, free: 4.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-06/0.4535, allocations: 3.938 kB / 403.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002295/0.4538, allocations: 125.6 kB / 403.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.4538, allocations: 31.98 kB / 403.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-06/0.4539, allocations: 12.05 kB / 403.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4539, allocations: 5.25 kB / 403.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.454, allocations: 7.562 kB / 403.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-06/0.454, allocations: 0 / 403.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.454, allocations: 11.06 kB / 403.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.4541, allocations: 6.391 kB / 403.9 MB, free: 4.016 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 5.845e-05/0.4541, allocations: 111.5 kB / 404 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.4542, allocations: 11.52 kB / 404 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.4544, allocations: 95.34 kB / 404.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-06/0.4544, allocations: 0 / 404.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.197e-06/0.4545, allocations: 0 / 404.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.799e-06/0.4545, allocations: 3.938 kB / 404.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.4548, allocations: 354 kB / 404.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.479e-06/0.4548, allocations: 0 / 404.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.4549, allocations: 7.828 kB / 404.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.836e-06/0.4549, allocations: 3.875 kB / 404.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.902e-06/0.4549, allocations: 0 / 404.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.947e-06/0.455, allocations: 4.094 kB / 404.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-06/0.455, allocations: 3.938 kB / 404.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.4553, allocations: 187.6 kB / 404.7 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.4554, allocations: 84.86 kB / 404.8 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.4554, allocations: 3.812 kB / 404.8 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4555, allocations: 3.844 kB / 404.8 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.4556, allocations: 8.281 kB / 404.8 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4556, allocations: 8 kB / 404.8 MB, free: 19.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.4558, allocations: 138.7 kB / 404.9 MB, free: 19.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4558, allocations: 0 / 404.9 MB, free: 19.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.4562, allocations: 41.91 kB / 405 MB, free: 19.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001087/0.4573, allocations: 350.6 kB / 405.3 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.4575, allocations: 113.6 kB / 405.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.774e-06/0.4575, allocations: 0 / 405.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.4576, allocations: 18.53 kB / 405.4 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4579, allocations: 13.89 kB / 405.5 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.4583, allocations: 170.7 kB / 405.6 MB, free: 18.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4587, allocations: 0.706 MB / 406.3 MB, free: 18.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.4588, allocations: 14.91 kB / 406.3 MB, free: 18 MB / 330.7 MB Notification: Performance of SimCode: time 1.597e-06/0.4588, allocations: 0 / 406.3 MB, free: 18 MB / 330.7 MB Notification: Performance of Templates: time 0.003652/0.4624, allocations: 1.747 MB / 408.1 MB, free: 17.11 MB / 330.7 MB