Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.012e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3744, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.5087, allocations: 87.46 MB / 469.7 MB, free: 5.055 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.509, allocations: 71.97 kB / 469.8 MB, free: 4.984 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02142/0.5304, allocations: 5.164 MB / 474.9 MB, free: 15.82 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.844e-06/0.5305, allocations: 0 / 474.9 MB, free: 15.82 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5305, allocations: 0 / 474.9 MB, free: 15.82 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.0004994/0.531, allocations: 382.2 kB / 475.3 MB, free: 15.4 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5311, allocations: 12.03 kB / 475.3 MB, free: 15.39 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.5311, allocations: 7.906 kB / 475.3 MB, free: 15.38 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.5315, allocations: 218.8 kB / 475.5 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5315, allocations: 0 / 475.5 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.5316, allocations: 4 kB / 475.5 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.5317, allocations: 53.67 kB / 475.6 MB, free: 15.06 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.123e-06/0.5317, allocations: 0 / 475.6 MB, free: 15.06 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5317, allocations: 0 / 475.6 MB, free: 15.06 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-06/0.5317, allocations: 0 / 475.6 MB, free: 15.06 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.839e-05/0.5318, allocations: 23.98 kB / 475.6 MB, free: 15.04 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.5321, allocations: 185.5 kB / 475.8 MB, free: 14.81 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.5322, allocations: 54.55 kB / 475.8 MB, free: 14.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.5323, allocations: 16.86 kB / 475.9 MB, free: 14.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5323, allocations: 0 / 475.9 MB, free: 14.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.5325, allocations: 67.48 kB / 475.9 MB, free: 14.65 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 2.639e-06/0.5325, allocations: 0 / 475.9 MB, free: 14.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002357/0.5328, allocations: 77.59 kB / 476 MB, free: 14.57 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.5328, allocations: 51.41 kB / 476 MB, free: 14.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.5331, allocations: 178.1 kB / 476.2 MB, free: 14.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5331, allocations: 25.7 kB / 476.2 MB, free: 14.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.5332, allocations: 96.14 kB / 476.3 MB, free: 14.2 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.5333, allocations: 27.67 kB / 476.4 MB, free: 14.17 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-06/0.5333, allocations: 0 / 476.4 MB, free: 14.17 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5335, allocations: 322.8 kB / 476.7 MB, free: 13.84 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.5335, allocations: 12 kB / 476.7 MB, free: 13.83 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.5336, allocations: 29.72 kB / 476.7 MB, free: 13.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.521e-05/0.5337, allocations: 23.88 kB / 476.7 MB, free: 13.77 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-06/0.5337, allocations: 0 / 476.7 MB, free: 13.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001901/0.5339, allocations: 73.59 kB / 476.8 MB, free: 13.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5339, allocations: 8 kB / 476.8 MB, free: 13.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.978e-06/0.5339, allocations: 4.031 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.534, allocations: 3.938 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5341, allocations: 11.98 kB / 476.8 MB, free: 13.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5341, allocations: 4 kB / 476.9 MB, free: 13.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.5342, allocations: 0 / 476.9 MB, free: 13.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5342, allocations: 4 kB / 476.9 MB, free: 13.66 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 9.645e-05/0.5343, allocations: 112.9 kB / 477 MB, free: 13.54 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.5344, allocations: 11.81 kB / 477 MB, free: 13.53 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.5346, allocations: 93.7 kB / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-06/0.5346, allocations: 0 / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5346, allocations: 7.984 kB / 477.1 MB, free: 13.42 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-06/0.5347, allocations: 0 / 477.1 MB, free: 13.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.5349, allocations: 189.8 kB / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.588e-06/0.5349, allocations: 7.953 kB / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.535, allocations: 4 kB / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.355e-06/0.535, allocations: 0 / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.535, allocations: 0 / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-06/0.535, allocations: 4 kB / 477.3 MB, free: 13.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.535, allocations: 0 / 477.3 MB, free: 13.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.5352, allocations: 113 kB / 477.4 MB, free: 13.04 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.5353, allocations: 88.97 kB / 477.5 MB, free: 12.94 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5354, allocations: 7.984 kB / 477.5 MB, free: 12.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.5355, allocations: 4 kB / 477.5 MB, free: 12.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.5355, allocations: 0 / 477.5 MB, free: 12.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.5355, allocations: 4 kB / 477.5 MB, free: 12.92 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000179/0.5357, allocations: 148 kB / 477.6 MB, free: 12.78 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.19e-07/0.5357, allocations: 4 kB / 477.6 MB, free: 12.77 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002996/0.536, allocations: 23.94 kB / 477.7 MB, free: 12.75 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.001402/0.5375, allocations: 406.9 kB / 478.1 MB, free: 12.42 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.5376, allocations: 32 kB / 478.1 MB, free: 12.39 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.78e-06/0.5377, allocations: 0 / 478.1 MB, free: 12.39 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.5377, allocations: 28 kB / 478.1 MB, free: 12.36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.538, allocations: 27.97 kB / 478.1 MB, free: 12.34 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.5384, allocations: 133.2 kB / 478.3 MB, free: 12.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5388, allocations: 0.7082 MB / 479 MB, free: 11.45 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.5389, allocations: 16.41 kB / 479 MB, free: 11.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.539, allocations: 15.44 kB / 479 MB, free: 11.42 MB / 410.8 MB Notification: Performance of SimCode: time 1.459e-06/0.539, allocations: 4 kB / 479 MB, free: 11.41 MB / 410.8 MB Notification: Performance of Templates: time 0.005284/0.5443, allocations: 1.469 MB / 480.5 MB, free: 9.949 MB / 410.8 MB