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_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadModel(ModelicaTest): time 1.948/1.948, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.099e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4915, allocations: 75.79 MB / 397.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4919, allocations: 70.47 kB / 397.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02076/0.5127, allocations: 4.131 MB / 401.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.701e-06/0.5127, allocations: 0 / 401.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5128, allocations: 3.875 kB / 401.8 MB, free: 6.395 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.0003904/0.5132, allocations: 421.7 kB / 402.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5132, allocations: 11.38 kB / 402.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.5133, allocations: 11.73 kB / 402.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5135, allocations: 205.2 kB / 402.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5135, allocations: 7.781 kB / 402.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.5136, allocations: 3.875 kB / 402.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.772e-05/0.5137, allocations: 45.03 kB / 402.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5137, allocations: 3.375 kB / 402.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-06/0.5137, allocations: 0 / 402.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-06/0.5137, allocations: 0 / 402.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.599e-05/0.5138, allocations: 18.39 kB / 402.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.5142, allocations: 291.4 kB / 402.8 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.5144, allocations: 45.42 kB / 402.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.5144, allocations: 12.75 kB / 402.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5145, allocations: 3.312 kB / 402.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.5146, allocations: 57.84 kB / 402.9 MB, free: 5.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.71e-06/0.5146, allocations: 0 / 402.9 MB, free: 5.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003792/0.515, allocations: 113.6 kB / 403 MB, free: 5.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.515, allocations: 55.41 kB / 403.1 MB, free: 5.184 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.5152, allocations: 182.8 kB / 403.2 MB, free: 5.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.5152, allocations: 33.66 kB / 403.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.5153, allocations: 94.58 kB / 403.4 MB, free: 4.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.5153, allocations: 21.52 kB / 403.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-06/0.5154, allocations: 0 / 403.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.5154, allocations: 322.2 kB / 403.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.5155, allocations: 25.7 kB / 403.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.5156, allocations: 22.31 kB / 403.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.5156, allocations: 63.53 kB / 403.8 MB, free: 4.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-06/0.5157, allocations: 0 / 403.8 MB, free: 4.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002287/0.5159, allocations: 129.8 kB / 403.9 MB, free: 4.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.5159, allocations: 37.41 kB / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.516, allocations: 0 / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.516, allocations: 0 / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.516, allocations: 7.688 kB / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.801e-06/0.5161, allocations: 0 / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.5161, allocations: 3.844 kB / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.5162, allocations: 11.78 kB / 404 MB, free: 4.461 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.326e-05/0.5162, allocations: 108.3 kB / 404.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5163, allocations: 11.72 kB / 404.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.5165, allocations: 94.05 kB / 404.2 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-06/0.5165, allocations: 0 / 404.2 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.191e-06/0.5165, allocations: 128 / 404.2 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-06/0.5165, allocations: 4.141 kB / 404.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.5169, allocations: 361.3 kB / 404.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5169, allocations: 4 kB / 404.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.517, allocations: 7.844 kB / 404.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.458e-06/0.517, allocations: 0 / 404.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.517, allocations: 3 kB / 404.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.517, allocations: 11.77 kB / 404.6 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-06/0.5171, allocations: 0 / 404.6 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.5173, allocations: 171.1 kB / 404.7 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.5174, allocations: 88.86 kB / 404.8 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.5175, allocations: 7.984 kB / 404.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.5177, allocations: 6.594 kB / 404.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5177, allocations: 0 / 404.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.5178, allocations: 3.844 kB / 404.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.518, allocations: 159.8 kB / 405 MB, free: 3.613 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.113e-06/0.5181, allocations: 0 / 405 MB, free: 3.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007963/0.5189, allocations: 38.89 kB / 405 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 (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.001786/0.5207, allocations: 347.7 kB / 405.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.5211, allocations: 108.9 kB / 405.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.85e-06/0.5211, allocations: 0 / 405.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.5212, allocations: 18.88 kB / 405.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.5218, allocations: 18.98 kB / 405.5 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.5224, allocations: 165.9 kB / 405.7 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.523, allocations: 0.7027 MB / 406.4 MB, free: 18.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.14e-05/0.5231, allocations: 15.66 kB / 406.4 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.5232, allocations: 15.12 kB / 406.4 MB, free: 18.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.141e-06/0.5232, allocations: 0 / 406.4 MB, free: 18.45 MB / 330.7 MB Notification: Performance of Templates: time 0.00848/0.5317, allocations: 1.575 MB / 408 MB, free: 17.66 MB / 330.7 MB