Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.801/2.801, allocations: 234.9 MB / 249.4 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.372e-05/5.379e-05, allocations: 8 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3992, allocations: 54.85 MB / 362.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002604/0.4019, allocations: 1.356 MB / 364.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.4037, allocations: 0.6526 MB / 364.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4039, allocations: 4 kB / 364.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.4042, allocations: 21.75 kB / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.4044, allocations: 30.11 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.4046, allocations: 46.28 kB / 365 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.4048, allocations: 53.38 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.4049, allocations: 6.734 kB / 365 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.405, allocations: 31.3 kB / 365.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.4052, allocations: 25.47 kB / 365.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.4053, allocations: 35.58 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.4053, allocations: 4.344 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.4054, allocations: 15.39 kB / 365.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.4054, allocations: 4 kB / 365.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.4057, allocations: 86.42 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4057, allocations: 0 / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4057, allocations: 0 / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4057, allocations: 0 / 365.2 MB, free: 10.25 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.0006899/0.4064, allocations: 450.7 kB / 365.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4065, allocations: 20.56 kB / 365.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.4066, allocations: 16.58 kB / 365.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.4069, allocations: 197.3 kB / 365.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.407, allocations: 2.844 kB / 365.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.407, allocations: 2.969 kB / 365.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.4072, allocations: 58.75 kB / 366 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4072, allocations: 0 / 366 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.4073, allocations: 5.125 kB / 366 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4073, allocations: 3.953 kB / 366 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4074, allocations: 23.17 kB / 366 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.4079, allocations: 298.1 kB / 366.3 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.4082, allocations: 57.86 kB / 366.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.4082, allocations: 1.094 kB / 366.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.4085, allocations: 81.34 kB / 366.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.4085, allocations: 0 / 366.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007939/0.4093, allocations: 181.3 kB / 366.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.4094, allocations: 52.47 kB / 366.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4096, allocations: 182.8 kB / 366.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4097, allocations: 27.86 kB / 366.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.4097, allocations: 100.4 kB / 367 MB, free: 8.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.4098, allocations: 28.17 kB / 367 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.4098, allocations: 9.062 kB / 367 MB, free: 8.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.41, allocations: 326 kB / 367.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4101, allocations: 27.95 kB / 367.3 MB, free: 8.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.4103, allocations: 50.3 kB / 367.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4105, allocations: 69.16 kB / 367.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4105, allocations: 0 / 367.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004134/0.4109, allocations: 159.6 kB / 367.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.411, allocations: 36.59 kB / 367.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.411, allocations: 1.406 kB / 367.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.411, allocations: 0 / 367.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4112, allocations: 17.39 kB / 367.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4112, allocations: 5 kB / 367.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-05/0.4113, allocations: 7.844 kB / 367.7 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.4114, allocations: 4.281 kB / 367.7 MB, free: 7.977 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.0001573/0.4115, allocations: 125.3 kB / 367.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.4116, allocations: 17.09 kB / 367.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.4117, allocations: 21.66 kB / 367.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4117, allocations: 1.094 kB / 367.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.4117, allocations: 1.031 kB / 367.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4117, allocations: 4.406 kB / 367.9 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.4124, allocations: 395.4 kB / 368.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4124, allocations: 9.203 kB / 368.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.4125, allocations: 11.75 kB / 368.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4125, allocations: 5.156 kB / 368.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4126, allocations: 1.312 kB / 368.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4126, allocations: 1.188 kB / 368.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4126, allocations: 1.25 kB / 368.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.413, allocations: 225.9 kB / 368.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.4131, allocations: 98.53 kB / 368.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.4131, allocations: 1.094 kB / 368.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4132, allocations: 2.25 kB / 368.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.4133, allocations: 12.02 kB / 368.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.4134, allocations: 2.969 kB / 368.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.4136, allocations: 144 kB / 368.7 MB, free: 7 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4136, allocations: 0 / 368.7 MB, free: 7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.414, allocations: 29.66 kB / 368.8 MB, free: 6.992 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.001299/0.4153, allocations: 402.8 kB / 369.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.4157, allocations: 150.9 kB / 369.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4157, allocations: 0 / 369.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.4158, allocations: 29.84 kB / 369.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.4163, allocations: 30.27 kB / 369.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.4169, allocations: 246 kB / 369.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.4173, allocations: 0.7113 MB / 370.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.4174, allocations: 11.75 kB / 370.3 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.4175, allocations: 18.95 kB / 370.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4175, allocations: 0 / 370.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of Templates: time 0.009791/0.4273, allocations: 1.603 MB / 372 MB, free: 4.215 MB / 298.7 MB