Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 234.9 MB / 250.1 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.372e-05, allocations: 4 kB / 308 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3534, allocations: 54.87 MB / 362.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002691/0.3561, allocations: 1.353 MB / 364.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3578, allocations: 0.6565 MB / 364.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3579, allocations: 4 kB / 364.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.3582, allocations: 15.91 kB / 364.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.3584, allocations: 31.89 kB / 364.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3586, allocations: 47.81 kB / 365 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3588, allocations: 55.86 kB / 365 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.3589, allocations: 8 kB / 365 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.359, allocations: 27.92 kB / 365.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3591, allocations: 31.84 kB / 365.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.3593, allocations: 31.92 kB / 365.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3593, allocations: 4 kB / 365.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.3594, allocations: 19.92 kB / 365.1 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.3594, allocations: 8 kB / 365.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3597, allocations: 89.69 kB / 365.2 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3597, allocations: 0 / 365.2 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3597, allocations: 0 / 365.2 MB, free: 9.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3597, allocations: 4 kB / 365.2 MB, free: 9.367 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.0006639/0.3604, allocations: 454.4 kB / 365.7 MB, free: 8.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3605, allocations: 11.97 kB / 365.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.3605, allocations: 7.906 kB / 365.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3609, allocations: 198.9 kB / 365.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.3609, allocations: 11.94 kB / 365.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3609, allocations: 0 / 365.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3612, allocations: 57.67 kB / 366 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3612, allocations: 7.938 kB / 366 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3612, allocations: 0 / 366 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3612, allocations: 3.953 kB / 366 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3614, allocations: 19.98 kB / 366 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3619, allocations: 300.8 kB / 366.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3622, allocations: 66.55 kB / 366.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3622, allocations: 4 kB / 366.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.3624, allocations: 67.47 kB / 366.4 MB, free: 8.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.3625, allocations: 0 / 366.4 MB, free: 8.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008254/0.3633, allocations: 181.1 kB / 366.6 MB, free: 7.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3634, allocations: 55.41 kB / 366.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.3637, allocations: 197.4 kB / 366.9 MB, free: 7.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3637, allocations: 37.7 kB / 366.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3638, allocations: 170.4 kB / 367.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.3639, allocations: 23.66 kB / 367.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.3639, allocations: 4 kB / 367.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3641, allocations: 318.8 kB / 367.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3642, allocations: 27.98 kB / 367.4 MB, free: 6.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3644, allocations: 45.7 kB / 367.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3645, allocations: 65.7 kB / 367.5 MB, free: 6.848 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3645, allocations: 3.938 kB / 367.5 MB, free: 6.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004154/0.365, allocations: 151.3 kB / 367.7 MB, free: 6.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.365, allocations: 45.64 kB / 367.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3651, allocations: 0 / 367.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3651, allocations: 0 / 367.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3653, allocations: 23.92 kB / 367.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3653, allocations: 0 / 367.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3654, allocations: 8.031 kB / 367.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.3654, allocations: 4.375 kB / 367.8 MB, free: 6.598 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.0001771/0.3656, allocations: 132.1 kB / 367.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3657, allocations: 15.84 kB / 367.9 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.3657, allocations: 17.36 kB / 367.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3658, allocations: 3.984 kB / 367.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.3658, allocations: 4 kB / 367.9 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3658, allocations: 0 / 367.9 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.3665, allocations: 407.4 kB / 368.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3666, allocations: 3.953 kB / 368.3 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.3666, allocations: 8 kB / 368.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3666, allocations: 0 / 368.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.3667, allocations: 4 kB / 368.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3667, allocations: 3.938 kB / 368.4 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/0.3667, allocations: 3.984 kB / 368.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.3671, allocations: 229.9 kB / 368.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3673, allocations: 96.91 kB / 368.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3673, allocations: 0 / 368.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3674, allocations: 4.094 kB / 368.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3675, allocations: 15.92 kB / 368.7 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3675, allocations: 4 kB / 368.7 MB, free: 5.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000212/0.3677, allocations: 155.2 kB / 368.9 MB, free: 5.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3678, allocations: 4 kB / 368.9 MB, free: 5.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.3681, allocations: 31.98 kB / 368.9 MB, free: 5.363 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.001214/0.3694, allocations: 398.2 kB / 369.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.3699, allocations: 147.4 kB / 369.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3699, allocations: 0 / 369.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.37, allocations: 39.98 kB / 369.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3704, allocations: 19.94 kB / 369.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.3712, allocations: 292.4 kB / 369.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3716, allocations: 0.7121 MB / 370.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3717, allocations: 15.44 kB / 370.5 MB, free: 3.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3717, allocations: 3.938 kB / 370.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of Templates: time 0.006015/0.3777, allocations: 1.946 MB / 372.4 MB, free: 1.816 MB / 298.7 MB