Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.442e-05, allocations: 8 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08648, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.4325, allocations: 75.78 MB / 397.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4327, allocations: 69.03 kB / 397.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.4479, allocations: 4.132 MB / 401.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.4479, allocations: 0 / 401.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.448, allocations: 3.812 kB / 401.7 MB, free: 6.145 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.0003914/0.4484, allocations: 424.5 kB / 402.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4484, allocations: 11.53 kB / 402.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.4485, allocations: 7.75 kB / 402.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4487, allocations: 205.5 kB / 402.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.4487, allocations: 3.844 kB / 402.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.4488, allocations: 3.125 kB / 402.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.4489, allocations: 52.61 kB / 402.4 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4489, allocations: 0 / 402.4 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4489, allocations: 3.984 kB / 402.4 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-06/0.4489, allocations: 4 kB / 402.4 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.449, allocations: 10.88 kB / 402.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.4494, allocations: 297.3 kB / 402.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.4496, allocations: 44.09 kB / 402.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.4496, allocations: 8.484 kB / 402.8 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.4497, allocations: 7.875 kB / 402.8 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.4498, allocations: 65.7 kB / 402.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.789e-06/0.4498, allocations: 0 / 402.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003971/0.4502, allocations: 107.6 kB / 403 MB, free: 4.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.4502, allocations: 55.34 kB / 403 MB, free: 4.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4505, allocations: 184.9 kB / 403.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4505, allocations: 29.58 kB / 403.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.4505, allocations: 160.3 kB / 403.4 MB, free: 4.637 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.4506, allocations: 15.64 kB / 403.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-06/0.4506, allocations: 7.438 kB / 403.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.4507, allocations: 314.7 kB / 403.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.4507, allocations: 18 kB / 403.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.4508, allocations: 29.11 kB / 403.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.441e-05/0.4509, allocations: 51.44 kB / 403.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-06/0.4509, allocations: 0 / 403.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002255/0.4511, allocations: 130.8 kB / 403.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.4512, allocations: 29.55 kB / 404 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-06/0.4512, allocations: 0 / 404 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4512, allocations: 7.844 kB / 404 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.4513, allocations: 11.67 kB / 404 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.807e-06/0.4513, allocations: 0 / 404 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.4514, allocations: 0 / 404 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.4514, allocations: 7.797 kB / 404 MB, free: 4.152 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.576e-05/0.4515, allocations: 112.7 kB / 404.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.4515, allocations: 11.66 kB / 404.1 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.4517, allocations: 93.38 kB / 404.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-06/0.4518, allocations: 7.938 kB / 404.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-06/0.4518, allocations: 3.969 kB / 404.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4518, allocations: 0 / 404.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.4522, allocations: 358.7 kB / 404.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.843e-06/0.4522, allocations: 0 / 404.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.4522, allocations: 11.67 kB / 404.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.623e-06/0.4523, allocations: 0 / 404.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4523, allocations: 3.938 kB / 404.6 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4523, allocations: 0 / 404.6 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.159e-06/0.4523, allocations: 4 kB / 404.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.4526, allocations: 179.8 kB / 404.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.4527, allocations: 88.83 kB / 404.9 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4528, allocations: 0 / 404.9 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.4529, allocations: 7.344 kB / 404.9 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.4529, allocations: 4.125 kB / 404.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.453, allocations: 3.844 kB / 404.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.4531, allocations: 158 kB / 405 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4531, allocations: 0 / 405 MB, free: 19.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.4535, allocations: 37.75 kB / 405.1 MB, free: 19.29 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.00114/0.4547, allocations: 362.1 kB / 405.4 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4549, allocations: 106.5 kB / 405.5 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.455, allocations: 3.969 kB / 405.5 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.455, allocations: 18.58 kB / 405.5 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.4553, allocations: 10.91 kB / 405.6 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.4558, allocations: 189.2 kB / 405.7 MB, free: 18.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.4562, allocations: 0.7103 MB / 406.5 MB, free: 18.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.4562, allocations: 15.19 kB / 406.5 MB, free: 18.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.701e-06/0.4563, allocations: 0 / 406.5 MB, free: 18.11 MB / 330.7 MB Notification: Performance of Templates: time 0.003841/0.4601, allocations: 1.777 MB / 408.2 MB, free: 17.21 MB / 330.7 MB