Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.682e-05, allocations: 8 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3758, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.5138, allocations: 89.35 MB / 471.6 MB, free: 3.172 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5141, allocations: 75.97 kB / 471.6 MB, free: 3.098 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02148/0.5356, allocations: 4.782 MB / 476.4 MB, free: 14.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.433e-06/0.5356, allocations: 4 kB / 476.4 MB, free: 14.31 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.5356, allocations: 4 kB / 476.4 MB, free: 14.31 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009742/0.5366, allocations: 0.5274 MB / 477 MB, free: 13.73 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5367, allocations: 16.03 kB / 477 MB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.5368, allocations: 15.81 kB / 477 MB, free: 13.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.5373, allocations: 251.5 kB / 477.2 MB, free: 13.41 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.5373, allocations: 8 kB / 477.2 MB, free: 13.4 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.5374, allocations: 4 kB / 477.2 MB, free: 13.39 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.5377, allocations: 116.2 kB / 477.4 MB, free: 13.27 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.533e-06/0.5377, allocations: 0 / 477.4 MB, free: 13.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.5377, allocations: 11.98 kB / 477.4 MB, free: 13.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5377, allocations: 4 kB / 477.4 MB, free: 13.25 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5379, allocations: 59.81 kB / 477.4 MB, free: 13.19 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.539, allocations: 0.579 MB / 478 MB, free: 12.55 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.5394, allocations: 102.6 kB / 478.1 MB, free: 12.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.5396, allocations: 48.86 kB / 478.2 MB, free: 12.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.5396, allocations: 0 / 478.2 MB, free: 12.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.5399, allocations: 111.4 kB / 478.3 MB, free: 12.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 8.146e-06/0.5399, allocations: 3.984 kB / 478.3 MB, free: 12.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004217/0.5403, allocations: 133.4 kB / 478.4 MB, free: 12.13 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5404, allocations: 63.38 kB / 478.5 MB, free: 12.06 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.5407, allocations: 202 kB / 478.7 MB, free: 11.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.5408, allocations: 41.62 kB / 478.7 MB, free: 11.81 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5409, allocations: 124.4 kB / 478.8 MB, free: 11.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.541, allocations: 35.55 kB / 478.9 MB, free: 11.64 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.541, allocations: 4 kB / 478.9 MB, free: 11.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5412, allocations: 326.8 kB / 479.2 MB, free: 11.31 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.5414, allocations: 43.98 kB / 479.2 MB, free: 11.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.5415, allocations: 68.3 kB / 479.3 MB, free: 11.19 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5417, allocations: 77.61 kB / 479.4 MB, free: 11.11 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-06/0.5417, allocations: 0 / 479.4 MB, free: 11.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004605/0.5422, allocations: 187 kB / 479.6 MB, free: 10.91 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.5423, allocations: 43.98 kB / 479.6 MB, free: 10.86 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.601e-06/0.5423, allocations: 0 / 479.6 MB, free: 10.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5423, allocations: 8.125 kB / 479.6 MB, free: 10.86 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.5426, allocations: 43.91 kB / 479.6 MB, free: 10.81 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5426, allocations: 3.984 kB / 479.6 MB, free: 10.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.5429, allocations: 35.97 kB / 479.7 MB, free: 10.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.5429, allocations: 8 kB / 479.7 MB, free: 10.77 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001195/0.5431, allocations: 113 kB / 479.8 MB, free: 10.65 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.5431, allocations: 19.72 kB / 479.8 MB, free: 10.63 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.5436, allocations: 167.2 kB / 480 MB, free: 10.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-06/0.5436, allocations: 0 / 480 MB, free: 10.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-06/0.5436, allocations: 4 kB / 480 MB, free: 10.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-06/0.5436, allocations: 0 / 480 MB, free: 10.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.5439, allocations: 237.5 kB / 480.2 MB, free: 10.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-06/0.544, allocations: 0 / 480.2 MB, free: 10.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.5442, allocations: 39.97 kB / 480.3 MB, free: 10.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-06/0.5442, allocations: 0 / 480.3 MB, free: 10.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5442, allocations: 3.984 kB / 480.3 MB, free: 10.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.5442, allocations: 3.953 kB / 480.3 MB, free: 10.12 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-06/0.5443, allocations: 0 / 480.3 MB, free: 10.12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.5448, allocations: 232.7 kB / 480.5 MB, free: 9.875 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.5449, allocations: 101 kB / 480.6 MB, free: 9.758 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.545, allocations: 4 kB / 480.6 MB, free: 9.754 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5452, allocations: 27.97 kB / 480.6 MB, free: 9.727 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.5453, allocations: 19.92 kB / 480.6 MB, free: 9.707 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.5454, allocations: 4 kB / 480.6 MB, free: 9.703 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002198/0.5456, allocations: 164.6 kB / 480.8 MB, free: 9.543 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.25e-07/0.5456, allocations: 4 kB / 480.8 MB, free: 9.539 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000383/0.546, allocations: 51.92 kB / 480.9 MB, free: 9.488 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001412/0.5474, allocations: 396.4 kB / 481.3 MB, free: 9.168 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004083/0.5479, allocations: 159.3 kB / 481.4 MB, free: 9 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.363e-06/0.5479, allocations: 256 / 481.4 MB, free: 9 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.548, allocations: 48 kB / 481.5 MB, free: 8.953 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.5484, allocations: 50.5 kB / 481.5 MB, free: 8.91 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.5492, allocations: 224.2 kB / 481.7 MB, free: 8.668 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.5496, allocations: 0.7361 MB / 482.5 MB, free: 7.906 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.5498, allocations: 17.33 kB / 482.5 MB, free: 7.891 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.5499, allocations: 19.44 kB / 482.5 MB, free: 7.871 MB / 410.8 MB Notification: Performance of SimCode: time 1.445e-06/0.5499, allocations: 3.938 kB / 482.5 MB, free: 7.867 MB / 410.8 MB Notification: Performance of Templates: time 0.008174/0.5581, allocations: 2.571 MB / 485.1 MB, free: 5.301 MB / 410.8 MB