Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.683/2.683, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.973e-05, allocations: 11.98 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3955, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002556/0.3981, allocations: 1.357 MB / 364.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3997, allocations: 0.6564 MB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3999, allocations: 4 kB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.4002, allocations: 71.77 kB / 365 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.4005, allocations: 55.28 kB / 365 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.4007, allocations: 46 kB / 365.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.4009, allocations: 54.66 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.401, allocations: 6.672 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.4011, allocations: 34.73 kB / 365.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.4013, allocations: 42.39 kB / 365.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.4014, allocations: 35.27 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.4015, allocations: 4.5 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.4015, allocations: 20.12 kB / 365.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.4016, allocations: 10.12 kB / 365.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4018, allocations: 90.39 kB / 365.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4019, allocations: 1.531 kB / 365.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4019, allocations: 0 / 365.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4019, allocations: 0 / 365.4 MB, free: 10.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006435/0.4026, allocations: 448 kB / 365.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4026, allocations: 12.94 kB / 365.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.4027, allocations: 13.47 kB / 365.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.403, allocations: 201.9 kB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.403, allocations: 6.719 kB / 366 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.4031, allocations: 6.969 kB / 366 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4033, allocations: 54.23 kB / 366.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4033, allocations: 0 / 366.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4034, allocations: 1.531 kB / 366.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4034, allocations: 11.88 kB / 366.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4035, allocations: 23.58 kB / 366.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.404, allocations: 298.7 kB / 366.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.4043, allocations: 58.89 kB / 366.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.4044, allocations: 1.438 kB / 366.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.4047, allocations: 77.38 kB / 366.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.936e-06/0.4047, allocations: 0 / 366.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009094/0.4056, allocations: 185.8 kB / 366.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.4057, allocations: 52.28 kB / 366.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.406, allocations: 204 kB / 367 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.4061, allocations: 27.7 kB / 367 MB, free: 8.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4062, allocations: 106.2 kB / 367.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.4062, allocations: 27.42 kB / 367.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.4063, allocations: 8.938 kB / 367.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4065, allocations: 326.9 kB / 367.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4066, allocations: 31.73 kB / 367.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4068, allocations: 46.47 kB / 367.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.407, allocations: 61.17 kB / 367.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.407, allocations: 0 / 367.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004663/0.4075, allocations: 163 kB / 367.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.4076, allocations: 44.92 kB / 367.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4076, allocations: 0.9062 kB / 367.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.4076, allocations: 1.094 kB / 367.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.4078, allocations: 25.17 kB / 367.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.4078, allocations: 1.031 kB / 367.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.408, allocations: 4.469 kB / 367.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.408, allocations: 4.344 kB / 367.8 MB, free: 8.055 MB / 298.7 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 (11): * Single equations (assignments): 10 * 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.0001992/0.4082, allocations: 131 kB / 368 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.4083, allocations: 13.97 kB / 368 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.4084, allocations: 19.11 kB / 368 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4084, allocations: 5.234 kB / 368 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4084, allocations: 0 / 368 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4084, allocations: 4 kB / 368 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/0.4092, allocations: 397.2 kB / 368.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4092, allocations: 5.141 kB / 368.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-05/0.4093, allocations: 7.656 kB / 368.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4093, allocations: 5.156 kB / 368.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4094, allocations: 6.125 kB / 368.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4094, allocations: 1.062 kB / 368.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4094, allocations: 3.938 kB / 368.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.4098, allocations: 223.3 kB / 368.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4099, allocations: 95.03 kB / 368.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.41, allocations: 9.312 kB / 368.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4101, allocations: 2.562 kB / 368.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.4102, allocations: 7.734 kB / 368.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.4102, allocations: 3.125 kB / 368.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002426/0.4104, allocations: 161 kB / 368.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4105, allocations: 0.9688 kB / 368.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007289/0.4112, allocations: 29.52 kB / 368.9 MB, free: 7.066 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002122/0.4133, allocations: 424.7 kB / 369.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.414, allocations: 142.9 kB / 369.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.414, allocations: 0 / 369.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.4141, allocations: 38.12 kB / 369.5 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.4146, allocations: 21.69 kB / 369.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.4154, allocations: 263.1 kB / 369.8 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.4158, allocations: 0.7132 MB / 370.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.416, allocations: 20.66 kB / 370.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.4161, allocations: 13.91 kB / 370.6 MB, free: 5.723 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4161, allocations: 0.9688 kB / 370.6 MB, free: 5.723 MB / 298.7 MB Notification: Performance of Templates: time 0.007159/0.4233, allocations: 1.613 MB / 372.2 MB, free: 4.129 MB / 298.7 MB