Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 234.9 MB / 250.1 MB, free: 10.92 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.194e-05, allocations: 8 kB / 308 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4043, allocations: 54.86 MB / 362.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002618/0.407, allocations: 1.357 MB / 364.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.4086, allocations: 0.6487 MB / 364.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.4087, allocations: 0 / 364.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.409, allocations: 19.91 kB / 364.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.4092, allocations: 31.89 kB / 364.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.4094, allocations: 43.81 kB / 365 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4095, allocations: 47.94 kB / 365 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.4096, allocations: 4 kB / 365 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.4098, allocations: 35.84 kB / 365 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.4099, allocations: 23.92 kB / 365.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.41, allocations: 31.92 kB / 365.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.41, allocations: 4 kB / 365.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.4101, allocations: 15.92 kB / 365.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.4102, allocations: 7.938 kB / 365.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.4104, allocations: 81.72 kB / 365.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4104, allocations: 0 / 365.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4104, allocations: 0 / 365.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4104, allocations: 0 / 365.2 MB, free: 9.539 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.000611/0.411, allocations: 430.6 kB / 365.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4111, allocations: 15.97 kB / 365.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.4112, allocations: 7.906 kB / 365.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.4115, allocations: 202.9 kB / 365.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.4115, allocations: 8 kB / 365.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4116, allocations: 7.875 kB / 365.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.4118, allocations: 57.67 kB / 365.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4118, allocations: 3.953 kB / 365.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4118, allocations: 0 / 365.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4118, allocations: 0 / 365.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.412, allocations: 27.97 kB / 366 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.4125, allocations: 292.8 kB / 366.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.4128, allocations: 58.62 kB / 366.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.4128, allocations: 7.953 kB / 366.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.4131, allocations: 71.5 kB / 366.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/0.4131, allocations: 0 / 366.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008044/0.4139, allocations: 169.3 kB / 366.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.414, allocations: 55.41 kB / 366.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4142, allocations: 148.1 kB / 366.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4143, allocations: 25.7 kB / 366.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4144, allocations: 174.3 kB / 366.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.4144, allocations: 23.7 kB / 367 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.4145, allocations: 0 / 367 MB, free: 7.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4146, allocations: 314.8 kB / 367.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4148, allocations: 27.98 kB / 367.3 MB, free: 7.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.4149, allocations: 57.62 kB / 367.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4151, allocations: 65.7 kB / 367.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4151, allocations: 0 / 367.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004248/0.4156, allocations: 151.3 kB / 367.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.4156, allocations: 44.66 kB / 367.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4156, allocations: 0 / 367.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4157, allocations: 0 / 367.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.4158, allocations: 20.03 kB / 367.6 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4159, allocations: 0 / 367.6 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.416, allocations: 7.984 kB / 367.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.416, allocations: 8.078 kB / 367.6 MB, free: 6.863 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.0001572/0.4162, allocations: 117.9 kB / 367.8 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.4162, allocations: 15.8 kB / 367.8 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.4163, allocations: 24.62 kB / 367.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4163, allocations: 3.938 kB / 367.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4164, allocations: 0 / 367.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4164, allocations: 8 kB / 367.8 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.4171, allocations: 391.2 kB / 368.2 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.4171, allocations: 3.938 kB / 368.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.4172, allocations: 11.98 kB / 368.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4172, allocations: 0 / 368.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4172, allocations: 4 kB / 368.2 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4173, allocations: 0 / 368.2 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4173, allocations: 0 / 368.2 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.4177, allocations: 214 kB / 368.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.4178, allocations: 93 kB / 368.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4178, allocations: 4 kB / 368.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4179, allocations: 4.359 kB / 368.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.418, allocations: 11.94 kB / 368.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4181, allocations: 8 kB / 368.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.4182, allocations: 118.2 kB / 368.6 MB, free: 5.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4182, allocations: 0 / 368.6 MB, free: 5.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.4186, allocations: 31.98 kB / 368.7 MB, free: 5.711 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.001226/0.4199, allocations: 395.9 kB / 369.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.4204, allocations: 151.3 kB / 369.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4204, allocations: 0 / 369.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.4205, allocations: 31.98 kB / 369.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.4209, allocations: 28.2 kB / 369.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.4215, allocations: 240.2 kB / 369.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4218, allocations: 0.7004 MB / 370.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.4219, allocations: 19.42 kB / 370.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4219, allocations: 0 / 370.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Templates: time 0.005491/0.4274, allocations: 1.817 MB / 372 MB, free: 2.34 MB / 298.7 MB