Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.313e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3621, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.5012, allocations: 87.46 MB / 469.7 MB, free: 5.062 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.5015, allocations: 67.97 kB / 469.7 MB, free: 4.996 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02096/0.5225, allocations: 5.16 MB / 474.9 MB, free: 15.83 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.862e-06/0.5225, allocations: 0 / 474.9 MB, free: 15.83 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5226, allocations: 0 / 474.9 MB, free: 15.83 MB / 410.8 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.0004978/0.5231, allocations: 386.2 kB / 475.3 MB, free: 15.41 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5231, allocations: 12.03 kB / 475.3 MB, free: 15.4 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.5232, allocations: 7.906 kB / 475.3 MB, free: 15.39 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.5235, allocations: 218.8 kB / 475.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5236, allocations: 0 / 475.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.5236, allocations: 0 / 475.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5237, allocations: 49.67 kB / 475.6 MB, free: 15.08 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.029e-06/0.5238, allocations: 0 / 475.6 MB, free: 15.08 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5238, allocations: 7.984 kB / 475.6 MB, free: 15.07 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-06/0.5238, allocations: 0 / 475.6 MB, free: 15.07 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.5239, allocations: 11.94 kB / 475.6 MB, free: 15.06 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.5242, allocations: 193.5 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.5243, allocations: 54.62 kB / 475.8 MB, free: 14.76 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.5244, allocations: 16.86 kB / 475.8 MB, free: 14.74 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.5244, allocations: 0 / 475.8 MB, free: 14.74 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.5246, allocations: 63.48 kB / 475.9 MB, free: 14.67 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 2.62e-06/0.5246, allocations: 0 / 475.9 MB, free: 14.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002309/0.5248, allocations: 77.53 kB / 476 MB, free: 14.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5249, allocations: 55.41 kB / 476 MB, free: 14.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.5251, allocations: 174.2 kB / 476.2 MB, free: 14.34 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.5252, allocations: 29.7 kB / 476.2 MB, free: 14.31 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.5253, allocations: 96.14 kB / 476.3 MB, free: 14.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.5253, allocations: 19.73 kB / 476.3 MB, free: 14.19 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-06/0.5253, allocations: 0 / 476.3 MB, free: 14.19 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5255, allocations: 318.8 kB / 476.7 MB, free: 13.87 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.5256, allocations: 15.98 kB / 476.7 MB, free: 13.86 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.5256, allocations: 33.72 kB / 476.7 MB, free: 13.82 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.5257, allocations: 19.94 kB / 476.7 MB, free: 13.8 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.483e-06/0.5257, allocations: 3.938 kB / 476.7 MB, free: 13.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001793/0.5259, allocations: 81.47 kB / 476.8 MB, free: 13.71 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5259, allocations: 8.625 kB / 476.8 MB, free: 13.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-06/0.526, allocations: 0 / 476.8 MB, free: 13.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.526, allocations: 0 / 476.8 MB, free: 13.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5261, allocations: 8 kB / 476.8 MB, free: 13.69 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.563e-06/0.5261, allocations: 4.031 kB / 476.8 MB, free: 13.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.5263, allocations: 7.984 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.5263, allocations: 4 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001408/0.5265, allocations: 113.4 kB / 476.9 MB, free: 13.56 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.5265, allocations: 15.81 kB / 477 MB, free: 13.54 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.5269, allocations: 89.89 kB / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-06/0.5269, allocations: 0 / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5269, allocations: 0 / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-06/0.527, allocations: 0 / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.5272, allocations: 197.6 kB / 477.2 MB, free: 13.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.015e-06/0.5272, allocations: 3.953 kB / 477.2 MB, free: 13.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.5273, allocations: 7.984 kB / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.095e-06/0.5273, allocations: 0 / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5273, allocations: 0 / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-06/0.5273, allocations: 0 / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.581e-06/0.5273, allocations: 0 / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.5275, allocations: 113 kB / 477.4 MB, free: 13.06 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.5277, allocations: 96.97 kB / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.5277, allocations: 0 / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.5278, allocations: 11.98 kB / 477.5 MB, free: 12.94 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.5278, allocations: 0 / 477.5 MB, free: 12.94 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.5278, allocations: 4 kB / 477.5 MB, free: 12.93 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001785/0.528, allocations: 144.1 kB / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.15e-07/0.528, allocations: 0 / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003222/0.5284, allocations: 23.94 kB / 477.6 MB, free: 12.77 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001396/0.5298, allocations: 406.9 kB / 478 MB, free: 12.44 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.53, allocations: 39.92 kB / 478.1 MB, free: 12.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.53, allocations: 0 / 478.1 MB, free: 12.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.5301, allocations: 27.94 kB / 478.1 MB, free: 12.37 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5303, allocations: 18.42 kB / 478.1 MB, free: 12.36 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.5307, allocations: 145.2 kB / 478.3 MB, free: 12.19 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.5312, allocations: 0.7043 MB / 479 MB, free: 11.46 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.5312, allocations: 16.41 kB / 479 MB, free: 11.45 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.5313, allocations: 19.44 kB / 479 MB, free: 11.43 MB / 410.8 MB Notification: Performance of SimCode: time 1.488e-06/0.5313, allocations: 0 / 479 MB, free: 11.43 MB / 410.8 MB Notification: Performance of Templates: time 0.005439/0.5368, allocations: 1.481 MB / 480.5 MB, free: 9.949 MB / 410.8 MB