Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.101e-05/5.115e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.088, allocations: 48.68 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4526, allocations: 75.61 MB / 397.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.4528, allocations: 65.92 kB / 397.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.4673, allocations: 3.827 MB / 401.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.995e-06/0.4673, allocations: 3.844 kB / 401.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4674, allocations: 0 / 401.3 MB, free: 6.551 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003511/0.4677, allocations: 396.8 kB / 401.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4678, allocations: 7.688 kB / 401.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.4678, allocations: 19.67 kB / 401.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4681, allocations: 204.3 kB / 401.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4681, allocations: 0 / 401.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.4681, allocations: 3.844 kB / 401.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.4682, allocations: 36.59 kB / 401.9 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.165e-06/0.4683, allocations: 0 / 401.9 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4683, allocations: 3.984 kB / 401.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-06/0.4683, allocations: 0 / 401.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.622e-05/0.4683, allocations: 11.06 kB / 402 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.4685, allocations: 190.9 kB / 402.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.713e-05/0.4686, allocations: 29.56 kB / 402.2 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.4686, allocations: 12.14 kB / 402.2 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.4687, allocations: 3.984 kB / 402.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.4688, allocations: 58.8 kB / 402.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.517e-06/0.4688, allocations: 3.844 kB / 402.3 MB, free: 5.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001804/0.469, allocations: 63.38 kB / 402.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.469, allocations: 55.34 kB / 402.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.4692, allocations: 159.2 kB / 402.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.4692, allocations: 25.7 kB / 402.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.4693, allocations: 97.97 kB / 402.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.4693, allocations: 3.906 kB / 402.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-06/0.4693, allocations: 7.469 kB / 402.7 MB, free: 5.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.4694, allocations: 322.2 kB / 403 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.4694, allocations: 21.53 kB / 403 MB, free: 4.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.4695, allocations: 17.47 kB / 403 MB, free: 4.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.631e-05/0.4696, allocations: 51.97 kB / 403.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.261e-06/0.4696, allocations: 0 / 403.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001874/0.4698, allocations: 109.1 kB / 403.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.4698, allocations: 40.25 kB / 403.2 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4699, allocations: 0 / 403.2 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4699, allocations: 0 / 403.2 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.47, allocations: 11.56 kB / 403.2 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.169e-06/0.47, allocations: 0 / 403.2 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.47, allocations: 15.72 kB / 403.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.4701, allocations: 0 / 403.2 MB, free: 4.742 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 (5): * Single equations (assignments): 4 * 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.46e-05/0.4701, allocations: 112.3 kB / 403.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.4702, allocations: 11.86 kB / 403.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.4703, allocations: 66.77 kB / 403.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-06/0.4704, allocations: 0 / 403.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.046e-06/0.4704, allocations: 0 / 403.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-06/0.4704, allocations: 0 / 403.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.4705, allocations: 183.2 kB / 403.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4705, allocations: 4 kB / 403.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.4706, allocations: 3.844 kB / 403.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.242e-06/0.4706, allocations: 3.938 kB / 403.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4706, allocations: 3.125 kB / 403.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-06/0.4706, allocations: 0 / 403.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4706, allocations: 3.844 kB / 403.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.4708, allocations: 90.5 kB / 403.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.4708, allocations: 84.86 kB / 403.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4708, allocations: 6.875 kB / 403.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.4709, allocations: 7.953 kB / 403.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.4709, allocations: 0 / 403.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.471, allocations: 11.88 kB / 403.8 MB, free: 4.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.4711, allocations: 126.5 kB / 403.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4711, allocations: 3.844 kB / 403.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.4714, allocations: 23.45 kB / 404 MB, free: 4.094 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 (4): * Single equations (assignments): 3 * 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.0009265/0.4723, allocations: 311.3 kB / 404.3 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.4725, allocations: 94.3 kB / 404.4 MB, free: 3.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.524e-06/0.4726, allocations: 6.25 kB / 404.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.4726, allocations: 14.53 kB / 404.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.4729, allocations: 11.11 kB / 404.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.4732, allocations: 135.2 kB / 404.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4735, allocations: 0.7036 MB / 405.2 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.419e-05/0.4736, allocations: 8.047 kB / 405.2 MB, free: 18.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.4736, allocations: 15.09 kB / 405.2 MB, free: 18.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.639e-06/0.4736, allocations: 3.938 kB / 405.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of Templates: time 0.004342/0.478, allocations: 1.311 MB / 406.6 MB, free: 18.32 MB / 330.7 MB