Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.631/2.631, allocations: 234.9 MB / 249.4 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.103e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4928, allocations: 54.86 MB / 362.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004038/0.4969, allocations: 1.361 MB / 364.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.4994, allocations: 0.6514 MB / 364.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.4996, allocations: 1 kB / 364.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.5001, allocations: 62.25 kB / 365 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.5005, allocations: 54 kB / 365 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.5009, allocations: 49.78 kB / 365.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.5012, allocations: 53.91 kB / 365.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5014, allocations: 3.344 kB / 365.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.5015, allocations: 37.28 kB / 365.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.5017, allocations: 40.95 kB / 365.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.5019, allocations: 30.58 kB / 365.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.502, allocations: 3.688 kB / 365.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.5021, allocations: 20.89 kB / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.5021, allocations: 4.562 kB / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.5024, allocations: 90.84 kB / 365.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5025, allocations: 4 kB / 365.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5025, allocations: 0 / 365.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.5025, allocations: 0 / 365.3 MB, free: 10.38 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.0008604/0.5034, allocations: 451 kB / 365.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.5034, allocations: 13.5 kB / 365.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.5035, allocations: 9.781 kB / 365.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.5039, allocations: 198.3 kB / 366 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.504, allocations: 1.375 kB / 366 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.5041, allocations: 11.81 kB / 366 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.5043, allocations: 58.3 kB / 366.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.5044, allocations: 0 / 366.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5044, allocations: 1.062 kB / 366.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5044, allocations: 3.953 kB / 366.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.5045, allocations: 27.48 kB / 366.1 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.5051, allocations: 299.8 kB / 366.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.5054, allocations: 57.83 kB / 366.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.5054, allocations: 1.344 kB / 366.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.5056, allocations: 72.56 kB / 366.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.604e-06/0.5056, allocations: 0 / 366.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008324/0.5065, allocations: 186 kB / 366.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.5066, allocations: 56.97 kB / 366.8 MB, free: 8.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.5068, allocations: 187.9 kB / 366.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.5069, allocations: 32.05 kB / 367 MB, free: 8.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.507, allocations: 105.2 kB / 367.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.507, allocations: 23.36 kB / 367.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.507, allocations: 1.156 kB / 367.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5072, allocations: 326.9 kB / 367.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.5073, allocations: 31.2 kB / 367.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.5075, allocations: 51.31 kB / 367.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.5077, allocations: 65.66 kB / 367.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5077, allocations: 0 / 367.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004136/0.5081, allocations: 159.3 kB / 367.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.5082, allocations: 41.75 kB / 367.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5082, allocations: 3.984 kB / 367.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5082, allocations: 0.8438 kB / 367.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5084, allocations: 14.03 kB / 367.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5084, allocations: 5.094 kB / 367.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.5085, allocations: 3.375 kB / 367.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5085, allocations: 12.11 kB / 367.8 MB, free: 8.113 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.0001509/0.5087, allocations: 126.2 kB / 367.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.5087, allocations: 13.59 kB / 367.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.5088, allocations: 22.59 kB / 368 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5088, allocations: 4.906 kB / 368 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5088, allocations: 0 / 368 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5088, allocations: 1.125 kB / 368 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.5095, allocations: 397 kB / 368.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5096, allocations: 3.953 kB / 368.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.5096, allocations: 7.094 kB / 368.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5097, allocations: 1.531 kB / 368.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.5097, allocations: 13.23 kB / 368.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5097, allocations: 1.469 kB / 368.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5097, allocations: 0 / 368.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.5101, allocations: 223.3 kB / 368.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.5102, allocations: 102.1 kB / 368.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5102, allocations: 2.062 kB / 368.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.5104, allocations: 2.344 kB / 368.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.5104, allocations: 8.172 kB / 368.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.5105, allocations: 6.531 kB / 368.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.5107, allocations: 152.1 kB / 368.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5107, allocations: 0 / 368.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00036/0.511, allocations: 33.48 kB / 368.9 MB, free: 7.125 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.001227/0.5123, allocations: 401.9 kB / 369.3 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.5127, allocations: 147.1 kB / 369.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5127, allocations: 5.156 kB / 369.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5129, allocations: 33.55 kB / 369.5 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.5132, allocations: 20.59 kB / 369.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.514, allocations: 257.3 kB / 369.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.5144, allocations: 0.7157 MB / 370.5 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.759e-05/0.5145, allocations: 8.938 kB / 370.5 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.5145, allocations: 17.52 kB / 370.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5146, allocations: 5.125 kB / 370.5 MB, free: 5.801 MB / 298.7 MB Notification: Performance of Templates: time 0.006696/0.5213, allocations: 1.601 MB / 372.1 MB, free: 4.207 MB / 298.7 MB