Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.283e-05, allocations: 8 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4822, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002554/0.4848, allocations: 1.326 MB / 364.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.4864, allocations: 0.6311 MB / 364.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.4866, allocations: 1.312 kB / 364.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.4868, allocations: 24.8 kB / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.487, allocations: 40.34 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.4872, allocations: 46.84 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.4874, allocations: 38.27 kB / 365 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.4875, allocations: 1.344 kB / 365 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.4876, allocations: 39.94 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4877, allocations: 20.77 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.4878, allocations: 20.39 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.4879, allocations: 8.188 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.4879, allocations: 22.64 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.488, allocations: 9.781 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.4882, allocations: 94.34 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4882, allocations: 0 / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.4882, allocations: 0 / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4883, allocations: 0 / 365.2 MB, free: 10.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006472/0.4889, allocations: 445.4 kB / 365.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.489, allocations: 9.156 kB / 365.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.489, allocations: 13.53 kB / 365.6 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.4894, allocations: 206.7 kB / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.4894, allocations: 6.281 kB / 365.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.4894, allocations: 6.547 kB / 365.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4897, allocations: 51.55 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4897, allocations: 1.469 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4897, allocations: 0 / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.4897, allocations: 3.953 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4898, allocations: 16.77 kB / 365.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.4902, allocations: 201.2 kB / 366.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.4904, allocations: 56.67 kB / 366.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4905, allocations: 0 / 366.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.4907, allocations: 68.67 kB / 366.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.4907, allocations: 0 / 366.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004324/0.4912, allocations: 101.7 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.4912, allocations: 60.11 kB / 366.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.4916, allocations: 235.3 kB / 366.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.4916, allocations: 26.7 kB / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4918, allocations: 176.9 kB / 366.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.4918, allocations: 11 kB / 366.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/0.4918, allocations: 1.156 kB / 366.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4919, allocations: 315.9 kB / 367.1 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.4921, allocations: 28.39 kB / 367.2 MB, free: 8.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.4922, allocations: 40.05 kB / 367.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4924, allocations: 58.16 kB / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4924, allocations: 0 / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003484/0.4927, allocations: 134.3 kB / 367.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.4928, allocations: 36.77 kB / 367.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4928, allocations: 0 / 367.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.4928, allocations: 5.031 kB / 367.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.493, allocations: 13.27 kB / 367.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.493, allocations: 4.812 kB / 367.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4931, allocations: 12.8 kB / 367.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.4931, allocations: 3.969 kB / 367.5 MB, free: 8.062 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 (8): * Single equations (assignments): 7 * 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.00016/0.4933, allocations: 136.7 kB / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.4934, allocations: 13.16 kB / 367.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.4934, allocations: 19.64 kB / 367.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4934, allocations: 1.062 kB / 367.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4935, allocations: 4 kB / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4935, allocations: 1.219 kB / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4937, allocations: 197.3 kB / 367.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4937, allocations: 0 / 367.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.4938, allocations: 3.875 kB / 367.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4938, allocations: 1.125 kB / 367.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4938, allocations: 1.125 kB / 367.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4938, allocations: 7.938 kB / 367.8 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4938, allocations: 1.281 kB / 367.9 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.4941, allocations: 121.8 kB / 368 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/0.4942, allocations: 98.28 kB / 368.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.4943, allocations: 1.219 kB / 368.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.4944, allocations: 2.062 kB / 368.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.4944, allocations: 6.234 kB / 368.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4945, allocations: 2.281 kB / 368.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.4947, allocations: 187.6 kB / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4947, allocations: 0 / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005148/0.4953, allocations: 29.72 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001465/0.4968, allocations: 352.8 kB / 368.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.4972, allocations: 137.4 kB / 368.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4973, allocations: 0 / 368.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.4974, allocations: 24.11 kB / 368.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4978, allocations: 24.78 kB / 368.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.4987, allocations: 303.1 kB / 369.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.4991, allocations: 0.7138 MB / 369.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4992, allocations: 16.8 kB / 369.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4992, allocations: 0 / 369.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of Templates: time 0.006619/0.5058, allocations: 1.784 MB / 371.6 MB, free: 4.742 MB / 298.7 MB