Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.235e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.383, allocations: 54.85 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002514/0.3855, allocations: 1.359 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3872, allocations: 0.6548 MB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.3873, allocations: 1.125 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.3876, allocations: 16.72 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.3878, allocations: 40.69 kB / 364.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.388, allocations: 42.92 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3881, allocations: 56.98 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.3882, allocations: 2.875 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3884, allocations: 33.33 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.3885, allocations: 28.06 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3886, allocations: 31.05 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3886, allocations: 8.5 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.3887, allocations: 27.88 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.3888, allocations: 5.906 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.389, allocations: 102.2 kB / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.389, allocations: 0.9375 kB / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.389, allocations: 0 / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3891, allocations: 0 / 365.3 MB, free: 10.15 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.0006192/0.3897, allocations: 463 kB / 365.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3897, allocations: 13.44 kB / 365.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.3898, allocations: 19.16 kB / 365.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3901, allocations: 211.5 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3902, allocations: 2.062 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.3902, allocations: 7.25 kB / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3904, allocations: 54.33 kB / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3905, allocations: 1.125 kB / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3905, allocations: 0 / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3905, allocations: 5.172 kB / 366 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.3906, allocations: 23.08 kB / 366 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.3911, allocations: 306.2 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3914, allocations: 63.34 kB / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.3915, allocations: 0 / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.3917, allocations: 77.66 kB / 366.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.3917, allocations: 0 / 366.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008136/0.3925, allocations: 183.9 kB / 366.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3926, allocations: 56.66 kB / 366.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.393, allocations: 250.1 kB / 367 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.393, allocations: 27.92 kB / 367 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3931, allocations: 180.6 kB / 367.2 MB, free: 8.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3932, allocations: 24.39 kB / 367.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.3932, allocations: 5.094 kB / 367.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3934, allocations: 316 kB / 367.5 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3935, allocations: 31.55 kB / 367.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3936, allocations: 46.88 kB / 367.6 MB, free: 7.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3938, allocations: 65.53 kB / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3938, allocations: 1.25 kB / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004277/0.3943, allocations: 152.4 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.3943, allocations: 44.25 kB / 367.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3944, allocations: 5.422 kB / 367.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3944, allocations: 0 / 367.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3945, allocations: 14.19 kB / 367.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3946, allocations: 3.938 kB / 367.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3947, allocations: 8.75 kB / 367.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3947, allocations: 8.484 kB / 367.9 MB, free: 7.773 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.0001799/0.3949, allocations: 134.5 kB / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.395, allocations: 11.66 kB / 368 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.395, allocations: 36.83 kB / 368.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3951, allocations: 0 / 368.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3951, allocations: 0.9062 kB / 368.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3951, allocations: 7.984 kB / 368.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.3958, allocations: 406.4 kB / 368.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3958, allocations: 3.953 kB / 368.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.3959, allocations: 7.5 kB / 368.5 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.3959, allocations: 5.219 kB / 368.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3959, allocations: 10.14 kB / 368.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.396, allocations: 1.031 kB / 368.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.396, allocations: 1.156 kB / 368.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3963, allocations: 220 kB / 368.7 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.3964, allocations: 98.31 kB / 368.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3965, allocations: 5.375 kB / 368.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3966, allocations: 2.438 kB / 368.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.3967, allocations: 7.984 kB / 368.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3967, allocations: 3.969 kB / 368.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.397, allocations: 200.4 kB / 369 MB, free: 6.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.397, allocations: 0 / 369 MB, free: 6.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000387/0.3974, allocations: 27.12 kB / 369 MB, free: 6.762 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.001238/0.3987, allocations: 403.6 kB / 369.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004533/0.3991, allocations: 151.3 kB / 369.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3992, allocations: 0 / 369.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3993, allocations: 30.5 kB / 369.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3997, allocations: 37.09 kB / 369.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.4005, allocations: 339 kB / 370 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4009, allocations: 0.722 MB / 370.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.401, allocations: 17.75 kB / 370.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of SimCode: time 1.352e-06/0.401, allocations: 0 / 370.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of Templates: time 0.006226/0.4072, allocations: 2.057 MB / 372.8 MB, free: 3.57 MB / 298.7 MB