Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 1.861/1.861, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.392e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08671, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4294, allocations: 75.65 MB / 397.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4296, allocations: 65.55 kB / 397.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01919/0.4488, allocations: 5.468 MB / 402.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.464e-06/0.4489, allocations: 4 kB / 402.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.304e-05/0.4489, allocations: 7.844 kB / 402.9 MB, free: 5.512 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.0006811/0.4496, allocations: 0.65 MB / 403.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4497, allocations: 8.906 kB / 403.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4498, allocations: 45.62 kB / 403.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.4505, allocations: 455.8 kB / 404.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4505, allocations: 3.688 kB / 404.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4506, allocations: 3.906 kB / 404.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4507, allocations: 66.73 kB / 404.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4507, allocations: 0 / 404.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4508, allocations: 3.938 kB / 404.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-06/0.4508, allocations: 3.938 kB / 404.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.4509, allocations: 23.17 kB / 404.2 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.4513, allocations: 383.4 kB / 404.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4514, allocations: 60.77 kB / 404.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.4514, allocations: 25.38 kB / 404.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.4515, allocations: 7.875 kB / 404.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.4516, allocations: 87.91 kB / 404.7 MB, free: 4.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.543e-06/0.4517, allocations: 4 kB / 404.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000333/0.452, allocations: 122.9 kB / 404.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.452, allocations: 84.81 kB / 405 MB, free: 3.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.4536, allocations: 0.9077 MB / 405.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4536, allocations: 29.67 kB / 405.9 MB, free: 3.723 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4538, allocations: 253.7 kB / 406.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4538, allocations: 19.27 kB / 406.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-06/0.4538, allocations: 0 / 406.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.4539, allocations: 325.9 kB / 406.5 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.454, allocations: 41.17 kB / 406.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.4541, allocations: 44.81 kB / 406.6 MB, free: 3.215 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4542, allocations: 99.08 kB / 406.7 MB, free: 3.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-06/0.4543, allocations: 0 / 406.7 MB, free: 3.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003584/0.4546, allocations: 194.3 kB / 406.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.4547, allocations: 62.28 kB / 406.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.796e-06/0.4547, allocations: 7.984 kB / 406.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4547, allocations: 3.844 kB / 406.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.4548, allocations: 11.69 kB / 406.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4548, allocations: 0 / 406.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.455, allocations: 19.38 kB / 406.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.4551, allocations: 10.83 kB / 407 MB, free: 2.945 MB / 314.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 6.826e-05/0.4551, allocations: 114.3 kB / 407.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.4552, allocations: 46.5 kB / 407.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.4556, allocations: 159.2 kB / 407.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.4556, allocations: 4 kB / 407.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.856e-06/0.4557, allocations: 0 / 407.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-06/0.4557, allocations: 3.844 kB / 407.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.456, allocations: 369.6 kB / 407.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.907e-06/0.456, allocations: 0 / 407.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.4561, allocations: 15.36 kB / 407.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.125e-06/0.4561, allocations: 0 / 407.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4561, allocations: 3.844 kB / 407.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.834e-06/0.4562, allocations: 0 / 407.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.177e-06/0.4562, allocations: 0 / 407.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4565, allocations: 184.5 kB / 407.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.4568, allocations: 188 kB / 408 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.4569, allocations: 7.781 kB / 408 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.457, allocations: 11.09 kB / 408 MB, free: 18.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.4571, allocations: 7.828 kB / 408.1 MB, free: 18.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4571, allocations: 3.969 kB / 408.1 MB, free: 18.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009901/0.4581, allocations: 0.7205 MB / 408.8 MB, free: 18.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.4581, allocations: 0 / 408.8 MB, free: 18.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004967/0.4586, allocations: 106.9 kB / 408.9 MB, free: 18.01 MB / 330.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001381/0.46, allocations: 447.5 kB / 409.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.4604, allocations: 197.6 kB / 409.5 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.08e-06/0.4604, allocations: 0 / 409.5 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.4605, allocations: 30.67 kB / 409.5 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.4609, allocations: 48.62 kB / 409.6 MB, free: 17.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4623, allocations: 0.7859 MB / 410.4 MB, free: 17.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.4629, allocations: 0.846 MB / 411.2 MB, free: 16.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.463, allocations: 35.88 kB / 411.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.669e-06/0.463, allocations: 0 / 411.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of Templates: time 0.01019/0.4732, allocations: 5.48 MB / 416.7 MB, free: 13.73 MB / 330.7 MB