Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.16e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 54.85 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002598/0.4047, allocations: 1.363 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.4064, allocations: 0.6456 MB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.4065, allocations: 1.344 kB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.4068, allocations: 25.02 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.4069, allocations: 30.73 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.4072, allocations: 51.16 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.4073, allocations: 48 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.4074, allocations: 3.344 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4075, allocations: 38.19 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.4076, allocations: 22.08 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.4078, allocations: 31.73 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.4078, allocations: 2.781 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.4079, allocations: 17.11 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.4079, allocations: 4.906 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.4082, allocations: 87.73 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4082, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4082, allocations: 1.469 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4082, allocations: 3.938 kB / 365.2 MB, free: 10.19 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.0006589/0.4089, allocations: 448.9 kB / 365.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4089, allocations: 14.34 kB / 365.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.409, allocations: 8.969 kB / 365.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.4093, allocations: 197.3 kB / 365.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.4094, allocations: 9.312 kB / 365.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.4094, allocations: 7.688 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.4096, allocations: 58.39 kB / 365.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4097, allocations: 0 / 365.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4097, allocations: 5.578 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4097, allocations: 3.953 kB / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4098, allocations: 18.95 kB / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.4103, allocations: 293.5 kB / 366.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.4106, allocations: 62.41 kB / 366.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4107, allocations: 1.312 kB / 366.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4109, allocations: 73.09 kB / 366.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.4109, allocations: 0 / 366.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007991/0.4117, allocations: 182.1 kB / 366.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.4118, allocations: 56.56 kB / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.4121, allocations: 182.6 kB / 366.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4121, allocations: 27.14 kB / 366.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4123, allocations: 169.4 kB / 367 MB, free: 8.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.4123, allocations: 32.03 kB / 367 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.4123, allocations: 0 / 367 MB, free: 8.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4125, allocations: 316.9 kB / 367.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4126, allocations: 28.27 kB / 367.4 MB, free: 8.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4128, allocations: 54.75 kB / 367.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.413, allocations: 68.72 kB / 367.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.413, allocations: 0 / 367.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004047/0.4134, allocations: 152.9 kB / 367.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.4135, allocations: 40.5 kB / 367.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4135, allocations: 5.359 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4135, allocations: 1.469 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4137, allocations: 16.09 kB / 367.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.4137, allocations: 1.219 kB / 367.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.4138, allocations: 4.594 kB / 367.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.4138, allocations: 7.797 kB / 367.7 MB, free: 7.875 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.0001532/0.414, allocations: 124.8 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.414, allocations: 9.406 kB / 367.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.4141, allocations: 21.95 kB / 367.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4141, allocations: 5.312 kB / 367.9 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4141, allocations: 7.875 kB / 367.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4142, allocations: 5.312 kB / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.4149, allocations: 387.1 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.4149, allocations: 5.578 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.415, allocations: 11.38 kB / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.415, allocations: 0 / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.415, allocations: 3.062 kB / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.415, allocations: 0 / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.415, allocations: 5.359 kB / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.4154, allocations: 226.2 kB / 368.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.4155, allocations: 90.5 kB / 368.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4156, allocations: 5.125 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4157, allocations: 3.312 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.4158, allocations: 15.36 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.4158, allocations: 2.438 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.416, allocations: 143.7 kB / 368.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.416, allocations: 0 / 368.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.4164, allocations: 30.34 kB / 368.8 MB, free: 6.898 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.001235/0.4177, allocations: 408.1 kB / 369.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.4181, allocations: 154.7 kB / 369.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4182, allocations: 1.062 kB / 369.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4183, allocations: 29.45 kB / 369.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4187, allocations: 25.66 kB / 369.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.4194, allocations: 273.4 kB / 369.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4197, allocations: 0.711 MB / 370.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.4198, allocations: 15 kB / 370.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4198, allocations: 0 / 370.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of Templates: time 0.005782/0.4256, allocations: 1.897 MB / 372.3 MB, free: 4.059 MB / 298.7 MB