Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.021/2.021, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.52e-05, allocations: 8 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08914, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4428, allocations: 75.79 MB / 397.6 MB, free: 7.531 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4431, allocations: 65.92 kB / 397.6 MB, free: 7.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.4585, allocations: 4.046 MB / 401.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.4586, allocations: 0 / 401.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.4586, allocations: 3.781 kB / 401.7 MB, free: 6.445 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.0004397/0.4591, allocations: 424.7 kB / 402.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4591, allocations: 11.5 kB / 402.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.4592, allocations: 11.67 kB / 402.1 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.4594, allocations: 190.2 kB / 402.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4595, allocations: 3.984 kB / 402.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4595, allocations: 11.28 kB / 402.3 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.4596, allocations: 44.78 kB / 402.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4596, allocations: 3.984 kB / 402.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4596, allocations: 0 / 402.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-06/0.4597, allocations: 0 / 402.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/0.4597, allocations: 18.83 kB / 402.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.4601, allocations: 289 kB / 402.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.4603, allocations: 46 kB / 402.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.4604, allocations: 12.3 kB / 402.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.4604, allocations: 4 kB / 402.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.4605, allocations: 58.2 kB / 402.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.871e-06/0.4606, allocations: 0 / 402.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004072/0.461, allocations: 108.8 kB / 402.9 MB, free: 5.301 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.461, allocations: 58.95 kB / 403 MB, free: 5.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.4612, allocations: 176.5 kB / 403.1 MB, free: 5.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.4612, allocations: 29.64 kB / 403.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.4613, allocations: 100.6 kB / 403.3 MB, free: 5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4613, allocations: 14.02 kB / 403.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-06/0.4613, allocations: 0 / 403.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.4614, allocations: 329.5 kB / 403.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.4615, allocations: 21.03 kB / 403.6 MB, free: 4.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.4615, allocations: 22.53 kB / 403.6 MB, free: 4.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.4616, allocations: 55.75 kB / 403.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-06/0.4616, allocations: 4 kB / 403.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002308/0.4619, allocations: 133.4 kB / 403.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4619, allocations: 36.8 kB / 403.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-06/0.4619, allocations: 0 / 403.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.462, allocations: 3.906 kB / 403.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.462, allocations: 11.7 kB / 403.9 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.257e-06/0.4621, allocations: 0 / 403.9 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.4621, allocations: 3.938 kB / 403.9 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4622, allocations: 7.984 kB / 403.9 MB, free: 4.504 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.649e-05/0.4622, allocations: 116.3 kB / 404 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.4623, allocations: 7.75 kB / 404 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.4625, allocations: 89.83 kB / 404.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-06/0.4625, allocations: 3.984 kB / 404.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-06/0.4625, allocations: 0 / 404.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-06/0.4625, allocations: 0 / 404.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.4629, allocations: 352.3 kB / 404.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-06/0.4629, allocations: 192 / 404.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.463, allocations: 15.78 kB / 404.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.635e-06/0.463, allocations: 3.938 kB / 404.5 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.463, allocations: 7.109 kB / 404.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.463, allocations: 0 / 404.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-06/0.4631, allocations: 3.938 kB / 404.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.4632, allocations: 175.3 kB / 404.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.4633, allocations: 92.75 kB / 404.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.4634, allocations: 3.844 kB / 404.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.4635, allocations: 4 kB / 404.7 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.4635, allocations: 7.188 kB / 404.7 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4635, allocations: 3.984 kB / 404.8 MB, free: 3.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.4637, allocations: 138.1 kB / 404.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.4637, allocations: 0 / 404.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.464, allocations: 42.52 kB / 404.9 MB, free: 3.648 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.001071/0.4651, allocations: 346.9 kB / 405.3 MB, free: 3.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.4654, allocations: 118.5 kB / 405.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.279e-06/0.4654, allocations: 3.938 kB / 405.4 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.4655, allocations: 18.12 kB / 405.4 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4658, allocations: 14.64 kB / 405.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.4662, allocations: 144.2 kB / 405.6 MB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4666, allocations: 0.7036 MB / 406.3 MB, free: 18.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.4666, allocations: 15.59 kB / 406.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.4667, allocations: 14.34 kB / 406.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.69e-06/0.4667, allocations: 0 / 406.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of Templates: time 0.004914/0.4716, allocations: 1.544 MB / 407.8 MB, free: 17.73 MB / 330.7 MB