Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.117e-05, allocations: 8 kB / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4576, allocations: 75.64 MB / 397.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4579, allocations: 70.86 kB / 397.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.4776, allocations: 5.42 MB / 402.9 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.24e-06/0.4777, allocations: 0 / 402.9 MB, free: 5.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.4777, allocations: 11.62 kB / 402.9 MB, free: 5.613 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.00064/0.4784, allocations: 0.6405 MB / 403.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4784, allocations: 7.688 kB / 403.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.4785, allocations: 50.5 kB / 403.6 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/0.4792, allocations: 439 kB / 404 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4793, allocations: 7.781 kB / 404 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.4793, allocations: 3.844 kB / 404 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4794, allocations: 70.56 kB / 404.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.648e-06/0.4794, allocations: 0 / 404.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4795, allocations: 3.969 kB / 404.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-06/0.4795, allocations: 3.938 kB / 404.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.4796, allocations: 27.3 kB / 404.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.48, allocations: 373.5 kB / 404.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.907e-05/0.4801, allocations: 64.3 kB / 404.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.4801, allocations: 25.42 kB / 404.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4802, allocations: 0 / 404.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4803, allocations: 94.52 kB / 404.7 MB, free: 4.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.358e-06/0.4804, allocations: 0 / 404.7 MB, free: 4.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003183/0.4807, allocations: 129.7 kB / 404.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.4807, allocations: 77.11 kB / 404.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4822, allocations: 0.8829 MB / 405.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4823, allocations: 37.56 kB / 405.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.4824, allocations: 243.1 kB / 406 MB, free: 3.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.4824, allocations: 15.59 kB / 406.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.4825, allocations: 7.719 kB / 406.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.4825, allocations: 322.8 kB / 406.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.4826, allocations: 30.5 kB / 406.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4828, allocations: 56.3 kB / 406.5 MB, free: 3.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4829, allocations: 97.58 kB / 406.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4829, allocations: 4 kB / 406.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003464/0.4833, allocations: 192.2 kB / 406.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.4833, allocations: 66.95 kB / 406.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-06/0.4833, allocations: 0 / 406.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4834, allocations: 0 / 406.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.4835, allocations: 19.42 kB / 406.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.476e-06/0.4835, allocations: 0 / 406.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.4837, allocations: 15.56 kB / 406.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4837, allocations: 7.562 kB / 406.9 MB, free: 3.059 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.532e-05/0.4838, allocations: 116.5 kB / 407 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.4839, allocations: 46.75 kB / 407 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.4842, allocations: 148.2 kB / 407.2 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-06/0.4842, allocations: 7.969 kB / 407.2 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-06/0.4842, allocations: 0 / 407.2 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-06/0.4843, allocations: 3.984 kB / 407.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.4846, allocations: 361.5 kB / 407.5 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.332e-06/0.4846, allocations: 3.938 kB / 407.5 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.4847, allocations: 11.47 kB / 407.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.907e-06/0.4847, allocations: 4 kB / 407.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4847, allocations: 11.36 kB / 407.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4847, allocations: 0 / 407.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-06/0.4847, allocations: 0 / 407.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.485, allocations: 181.9 kB / 407.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.4853, allocations: 186.2 kB / 407.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.4854, allocations: 3.75 kB / 407.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4855, allocations: 15.47 kB / 407.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.4856, allocations: 7.797 kB / 407.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4856, allocations: 3.844 kB / 407.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.4866, allocations: 0.7009 MB / 408.6 MB, free: 18.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.4866, allocations: 0 / 408.6 MB, free: 18.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.4871, allocations: 91.53 kB / 408.7 MB, free: 18.13 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.001384/0.4885, allocations: 460 kB / 409.2 MB, free: 17.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4889, allocations: 195.1 kB / 409.4 MB, free: 17.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4889, allocations: 0 / 409.4 MB, free: 17.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.55e-05/0.489, allocations: 34.42 kB / 409.4 MB, free: 17.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4894, allocations: 47.84 kB / 409.5 MB, free: 17.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.4907, allocations: 0.7571 MB / 410.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.4913, allocations: 0.8366 MB / 411.1 MB, free: 16.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.4915, allocations: 44.77 kB / 411.1 MB, free: 16.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.62e-06/0.4915, allocations: 3.875 kB / 411.1 MB, free: 16.59 MB / 330.7 MB Notification: Performance of Templates: time 0.01005/0.5015, allocations: 5.357 MB / 416.5 MB, free: 13.91 MB / 330.7 MB