Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadModel(ModelicaTest): time 1.815/1.815, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.462e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08523, allocations: 48.7 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.4785, allocations: 76 MB / 397.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4788, allocations: 72.14 kB / 397.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.4948, allocations: 4.471 MB / 402.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.965e-06/0.4948, allocations: 0 / 402.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4949, allocations: 11.72 kB / 402.3 MB, free: 5.875 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.0003599/0.4952, allocations: 401.7 kB / 402.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4953, allocations: 11.69 kB / 402.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.4953, allocations: 7.75 kB / 402.7 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.4955, allocations: 189.4 kB / 402.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4956, allocations: 3.688 kB / 402.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4956, allocations: 3.438 kB / 402.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4957, allocations: 62.3 kB / 403 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4958, allocations: 3.938 kB / 403 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4958, allocations: 0 / 403 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-06/0.4958, allocations: 3.844 kB / 403 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.4959, allocations: 14.8 kB / 403 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.4962, allocations: 281.3 kB / 403.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.4964, allocations: 45.41 kB / 403.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.4965, allocations: 12.58 kB / 403.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4965, allocations: 0 / 403.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.4966, allocations: 58.53 kB / 403.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.4966, allocations: 0 / 403.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003806/0.497, allocations: 111 kB / 403.5 MB, free: 4.738 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.4971, allocations: 77.11 kB / 403.6 MB, free: 4.645 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4972, allocations: 137.6 kB / 403.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4972, allocations: 32.8 kB / 403.7 MB, free: 4.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.4973, allocations: 154.5 kB / 403.9 MB, free: 4.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.4973, allocations: 19.58 kB / 403.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-06/0.4973, allocations: 7.75 kB / 403.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.4974, allocations: 314.7 kB / 404.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.4975, allocations: 21.36 kB / 404.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.4975, allocations: 34.58 kB / 404.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/0.4976, allocations: 59.98 kB / 404.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4976, allocations: 0 / 404.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001989/0.4978, allocations: 119 kB / 404.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4979, allocations: 31.08 kB / 404.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.992e-06/0.4979, allocations: 3.875 kB / 404.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4979, allocations: 0 / 404.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.498, allocations: 11.48 kB / 404.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.498, allocations: 0 / 404.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.4981, allocations: 3.594 kB / 404.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4981, allocations: 7.797 kB / 404.5 MB, free: 3.848 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.743e-05/0.4982, allocations: 108.6 kB / 404.6 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4982, allocations: 7.875 kB / 404.6 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.4984, allocations: 89.62 kB / 404.7 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-06/0.4985, allocations: 3.984 kB / 404.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.077e-06/0.4985, allocations: 3.984 kB / 404.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-06/0.4985, allocations: 0 / 404.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.4988, allocations: 342.3 kB / 405.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4988, allocations: 4 kB / 405.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.4989, allocations: 3.844 kB / 405.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.091e-06/0.4989, allocations: 7.781 kB / 405.1 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.376e-06/0.4989, allocations: 96 / 405.1 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4989, allocations: 3.938 kB / 405.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.108e-06/0.499, allocations: 0 / 405.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.4993, allocations: 178 kB / 405.2 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.4993, allocations: 84.86 kB / 405.3 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.4994, allocations: 4 kB / 405.3 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.4995, allocations: 4.062 kB / 405.3 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4995, allocations: 11.45 kB / 405.3 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4996, allocations: 4 kB / 405.4 MB, free: 19.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.4997, allocations: 114.9 kB / 405.5 MB, free: 19.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.4997, allocations: 0 / 405.5 MB, free: 19.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.5001, allocations: 53.41 kB / 405.5 MB, free: 18.99 MB / 330.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.001267/0.5014, allocations: 418.9 kB / 405.9 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.5016, allocations: 106.8 kB / 406 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.554e-06/0.5016, allocations: 0 / 406 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.5017, allocations: 22.62 kB / 406.1 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.502, allocations: 15.33 kB / 406.1 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.5023, allocations: 133.1 kB / 406.2 MB, free: 18.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.5027, allocations: 0.6972 MB / 406.9 MB, free: 17.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.5028, allocations: 18.38 kB / 406.9 MB, free: 17.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.704e-06/0.5028, allocations: 0 / 406.9 MB, free: 17.8 MB / 330.7 MB Notification: Performance of Templates: time 0.00389/0.5067, allocations: 1.888 MB / 408.8 MB, free: 16.83 MB / 330.7 MB