Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.777e-05, allocations: 8 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4678, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002657/0.4705, allocations: 1.32 MB / 364.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.4722, allocations: 0.6484 MB / 364.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.4722, allocations: 0 / 364.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.4726, allocations: 45.25 kB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.4728, allocations: 39.92 kB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.4729, allocations: 45.03 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.4731, allocations: 52.31 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.4732, allocations: 1.219 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4733, allocations: 30.89 kB / 365.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.4734, allocations: 31.75 kB / 365.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.4735, allocations: 21.36 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.4735, allocations: 3.75 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.4736, allocations: 21.94 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.4736, allocations: 4.969 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.4738, allocations: 72.89 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4739, allocations: 0 / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4739, allocations: 0 / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.4739, allocations: 4 kB / 365.2 MB, free: 10.41 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.0006374/0.4745, allocations: 429.7 kB / 365.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4746, allocations: 8.656 kB / 365.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.4747, allocations: 12.44 kB / 365.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.475, allocations: 200.2 kB / 365.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.475, allocations: 2.094 kB / 365.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.475, allocations: 3.062 kB / 365.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.4753, allocations: 55.39 kB / 365.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4753, allocations: 4 kB / 365.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4753, allocations: 1.156 kB / 365.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4753, allocations: 3.953 kB / 365.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.4754, allocations: 20.73 kB / 365.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.4757, allocations: 187.9 kB / 366.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.476, allocations: 60.11 kB / 366.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4761, allocations: 5.062 kB / 366.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.4763, allocations: 60.83 kB / 366.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.943e-06/0.4763, allocations: 3.938 kB / 366.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004063/0.4767, allocations: 96.3 kB / 366.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.4768, allocations: 56.61 kB / 366.4 MB, free: 9.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.477, allocations: 166 kB / 366.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.4771, allocations: 30.92 kB / 366.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.4772, allocations: 104.5 kB / 366.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.4772, allocations: 10.28 kB / 366.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.4772, allocations: 1.281 kB / 366.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4774, allocations: 322 kB / 367 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4775, allocations: 23.67 kB / 367 MB, free: 8.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4777, allocations: 36.83 kB / 367.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.4778, allocations: 61.19 kB / 367.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4778, allocations: 1.062 kB / 367.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003556/0.4782, allocations: 136.5 kB / 367.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.4783, allocations: 32.23 kB / 367.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4783, allocations: 1 kB / 367.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4783, allocations: 1.031 kB / 367.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4784, allocations: 12.83 kB / 367.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4785, allocations: 1.062 kB / 367.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.4786, allocations: 21.17 kB / 367.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4786, allocations: 7.688 kB / 367.3 MB, free: 8.355 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.0001425/0.4788, allocations: 129.8 kB / 367.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.4788, allocations: 8.562 kB / 367.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.4788, allocations: 11.91 kB / 367.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4789, allocations: 1.094 kB / 367.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4789, allocations: 3.938 kB / 367.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4789, allocations: 1.125 kB / 367.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.4791, allocations: 184.1 kB / 367.7 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4791, allocations: 0 / 367.7 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.4792, allocations: 11.92 kB / 367.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4792, allocations: 4 kB / 367.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4792, allocations: 5.156 kB / 367.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4792, allocations: 1.156 kB / 367.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4792, allocations: 3.938 kB / 367.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.4795, allocations: 113.4 kB / 367.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4797, allocations: 89.88 kB / 367.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.4797, allocations: 3.984 kB / 367.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.4798, allocations: 6.062 kB / 367.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.4798, allocations: 6.531 kB / 367.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.4799, allocations: 2.156 kB / 367.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.48, allocations: 136.9 kB / 368.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.48, allocations: 0 / 368.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.4803, allocations: 25.28 kB / 368.1 MB, free: 7.66 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.001117/0.4815, allocations: 350.1 kB / 368.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.4818, allocations: 133.2 kB / 368.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4819, allocations: 0 / 368.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.482, allocations: 24.08 kB / 368.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4822, allocations: 24.06 kB / 368.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.4828, allocations: 201 kB / 368.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4831, allocations: 0.7063 MB / 369.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.541e-05/0.4832, allocations: 14.91 kB / 369.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4833, allocations: 12.38 kB / 369.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4833, allocations: 1.406 kB / 369.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of Templates: time 0.00738/0.4907, allocations: 1.366 MB / 370.9 MB, free: 5.422 MB / 298.7 MB