Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.534e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08625, allocations: 48.71 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4331, allocations: 75.61 MB / 397.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.4333, allocations: 65.03 kB / 397.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.4475, allocations: 3.824 MB / 401.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.517e-06/0.4475, allocations: 0 / 401.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4475, allocations: 1.375 kB / 401.3 MB, free: 6.117 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003466/0.4479, allocations: 398.3 kB / 401.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4479, allocations: 13.06 kB / 401.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.448, allocations: 11.69 kB / 401.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.4482, allocations: 201.9 kB / 401.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4482, allocations: 3.984 kB / 401.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.4483, allocations: 7.688 kB / 401.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.4484, allocations: 37.09 kB / 401.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.829e-06/0.4484, allocations: 3.75 kB / 401.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-06/0.4484, allocations: 0 / 401.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-06/0.4484, allocations: 0 / 401.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.4485, allocations: 3.844 kB / 401.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.4486, allocations: 188.3 kB / 402.1 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.4487, allocations: 34.12 kB / 402.1 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.4488, allocations: 12.39 kB / 402.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.4488, allocations: 0 / 402.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.4489, allocations: 62.61 kB / 402.2 MB, free: 5.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.634e-06/0.4489, allocations: 4 kB / 402.2 MB, free: 5.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001648/0.4491, allocations: 52.12 kB / 402.3 MB, free: 5.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4491, allocations: 51.41 kB / 402.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4493, allocations: 165.7 kB / 402.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4493, allocations: 25.7 kB / 402.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.4494, allocations: 162 kB / 402.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.4494, allocations: 3.906 kB / 402.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.4494, allocations: 7.594 kB / 402.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.4495, allocations: 319.2 kB / 403 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.4496, allocations: 19.38 kB / 403 MB, free: 4.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.4496, allocations: 18.72 kB / 403 MB, free: 4.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/0.4497, allocations: 53.25 kB / 403.1 MB, free: 4.375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-06/0.4497, allocations: 0 / 403.1 MB, free: 4.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.4499, allocations: 109.4 kB / 403.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.4499, allocations: 33.55 kB / 403.2 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.725e-06/0.45, allocations: 4 kB / 403.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.45, allocations: 0 / 403.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.45, allocations: 3.844 kB / 403.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4501, allocations: 3.844 kB / 403.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.4501, allocations: 11.88 kB / 403.2 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4502, allocations: 7.828 kB / 403.3 MB, free: 4.254 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 (5): * Single equations (assignments): 4 * 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.076e-05/0.4502, allocations: 120.7 kB / 403.4 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.4503, allocations: 7.875 kB / 403.4 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.4504, allocations: 68.64 kB / 403.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-06/0.4504, allocations: 0 / 403.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-06/0.4505, allocations: 0 / 403.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4505, allocations: 3.938 kB / 403.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.4506, allocations: 192.4 kB / 403.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4506, allocations: 0 / 403.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.4507, allocations: 0 / 403.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.288e-06/0.4507, allocations: 3.844 kB / 403.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4507, allocations: 0 / 403.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-06/0.4507, allocations: 0 / 403.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.5e-06/0.4507, allocations: 3.984 kB / 403.6 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.4509, allocations: 92.02 kB / 403.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.4509, allocations: 84.86 kB / 403.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.451, allocations: 11.83 kB / 403.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.451, allocations: 0 / 403.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.4511, allocations: 7.906 kB / 403.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.4511, allocations: 0 / 403.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4512, allocations: 132.7 kB / 404 MB, free: 3.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.4512, allocations: 0 / 404 MB, free: 3.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.4515, allocations: 23.22 kB / 404 MB, free: 3.602 MB / 314.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 (4): * Single equations (assignments): 3 * 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.001025/0.4526, allocations: 311.1 kB / 404.3 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4528, allocations: 101.5 kB / 404.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.747e-06/0.4528, allocations: 0 / 404.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.4529, allocations: 11.72 kB / 404.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4531, allocations: 15.61 kB / 404.4 MB, free: 19.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.4534, allocations: 158.1 kB / 404.6 MB, free: 19.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4538, allocations: 0.6998 MB / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.4539, allocations: 11.28 kB / 405.3 MB, free: 18.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4539, allocations: 0 / 405.3 MB, free: 18.47 MB / 330.7 MB Notification: Performance of Templates: time 0.003232/0.4571, allocations: 1.521 MB / 406.8 MB, free: 17.7 MB / 330.7 MB