Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.58e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5005, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002544/0.5031, allocations: 1.356 MB / 364.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.5047, allocations: 0.6584 MB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.5048, allocations: 0 / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.5051, allocations: 20.91 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.5053, allocations: 31.33 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.5055, allocations: 45.59 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.5056, allocations: 53.47 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.5057, allocations: 6.797 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.5058, allocations: 29.95 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.5059, allocations: 27.88 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.5061, allocations: 31.05 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.5061, allocations: 3.344 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.5062, allocations: 23.61 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.5062, allocations: 4.469 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.5064, allocations: 84.58 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5064, allocations: 1.562 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5064, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.5065, allocations: 3.938 kB / 365.2 MB, free: 10.2 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.0006047/0.5071, allocations: 445.9 kB / 365.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5071, allocations: 13.16 kB / 365.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.5072, allocations: 12.17 kB / 365.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5075, allocations: 202.1 kB / 365.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.5075, allocations: 1.5 kB / 365.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.5076, allocations: 7.969 kB / 365.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5078, allocations: 58.64 kB / 366 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5078, allocations: 0 / 366 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5078, allocations: 0 / 366 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5078, allocations: 5.078 kB / 366 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.508, allocations: 18.7 kB / 366 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.5084, allocations: 301.7 kB / 366.3 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5087, allocations: 59.55 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5087, allocations: 0 / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.509, allocations: 77.48 kB / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.038e-06/0.509, allocations: 0 / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007947/0.5098, allocations: 177.3 kB / 366.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5099, allocations: 52.94 kB / 366.6 MB, free: 8.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.5101, allocations: 189.9 kB / 366.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.5102, allocations: 27.8 kB / 366.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.5103, allocations: 165 kB / 367 MB, free: 8.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.5103, allocations: 23.59 kB / 367 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.5103, allocations: 5.156 kB / 367 MB, free: 8.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5105, allocations: 317.1 kB / 367.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.5106, allocations: 35.11 kB / 367.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.5108, allocations: 47.62 kB / 367.4 MB, free: 8.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.5109, allocations: 68.5 kB / 367.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5109, allocations: 1.375 kB / 367.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004017/0.5113, allocations: 151.7 kB / 367.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.5114, allocations: 36.16 kB / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5114, allocations: 0.8125 kB / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5115, allocations: 5.5 kB / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5116, allocations: 21.64 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5117, allocations: 1.469 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.5118, allocations: 8.281 kB / 367.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.5118, allocations: 4.281 kB / 367.7 MB, free: 7.891 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.0001652/0.512, allocations: 132.1 kB / 367.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.512, allocations: 9.344 kB / 367.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.573e-05/0.5121, allocations: 21.75 kB / 367.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5121, allocations: 9.188 kB / 367.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5121, allocations: 3.938 kB / 367.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5122, allocations: 1.594 kB / 367.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006875/0.5128, allocations: 391.3 kB / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5129, allocations: 3.953 kB / 368.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.5129, allocations: 7.5 kB / 368.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.513, allocations: 1.219 kB / 368.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.513, allocations: 2.094 kB / 368.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.513, allocations: 5.281 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.513, allocations: 0 / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.5134, allocations: 226.7 kB / 368.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.082e-05/0.5135, allocations: 94.06 kB / 368.6 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.5136, allocations: 2.344 kB / 368.6 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.5137, allocations: 10.12 kB / 368.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5137, allocations: 7.766 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.5138, allocations: 3.531 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.514, allocations: 142.3 kB / 368.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.514, allocations: 1.188 kB / 368.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.5144, allocations: 28.41 kB / 368.8 MB, free: 6.91 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.001249/0.5156, allocations: 409.4 kB / 369.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.5162, allocations: 155.2 kB / 369.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5162, allocations: 0 / 369.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5163, allocations: 34.3 kB / 369.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.5167, allocations: 24.56 kB / 369.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.5174, allocations: 274.3 kB / 369.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5178, allocations: 0.7074 MB / 370.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.5179, allocations: 18.38 kB / 370.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5179, allocations: 0 / 370.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of Templates: time 0.005705/0.5236, allocations: 1.892 MB / 372.3 MB, free: 4.066 MB / 298.7 MB