Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.696/2.696, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.468e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3883, allocations: 54.86 MB / 362.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002739/0.3911, allocations: 1.354 MB / 364.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3937, allocations: 1.221 MB / 365.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3939, allocations: 1.125 kB / 365.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3942, allocations: 17.3 kB / 365.5 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.3944, allocations: 34.62 kB / 365.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.3946, allocations: 50.41 kB / 365.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3948, allocations: 62.55 kB / 365.6 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.3949, allocations: 2.531 kB / 365.6 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3951, allocations: 30.3 kB / 365.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.3953, allocations: 32.78 kB / 365.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.3955, allocations: 44.75 kB / 365.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.3955, allocations: 4.906 kB / 365.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.3956, allocations: 18.45 kB / 365.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3956, allocations: 5.5 kB / 365.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.3959, allocations: 109.3 kB / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3959, allocations: 0 / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.396, allocations: 0 / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.396, allocations: 0 / 365.8 MB, free: 9.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006832/0.3967, allocations: 442 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3967, allocations: 9 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.3968, allocations: 17.09 kB / 366.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.3972, allocations: 201 kB / 366.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.3972, allocations: 6.266 kB / 366.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3973, allocations: 8.438 kB / 366.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3975, allocations: 76.88 kB / 366.6 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3976, allocations: 3.953 kB / 366.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3976, allocations: 0.9688 kB / 366.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3976, allocations: 0.9688 kB / 366.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3978, allocations: 32.38 kB / 366.6 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.3984, allocations: 312.3 kB / 366.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.3988, allocations: 69.23 kB / 367 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.3988, allocations: 6.484 kB / 367 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.3991, allocations: 75.61 kB / 367.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.3991, allocations: 0 / 367.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000945/0.4, allocations: 200 kB / 367.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.4001, allocations: 82.28 kB / 367.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.4004, allocations: 146.6 kB / 367.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.4004, allocations: 28.64 kB / 367.5 MB, free: 7.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.4005, allocations: 155.9 kB / 367.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.4006, allocations: 33.2 kB / 367.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.4006, allocations: 0 / 367.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4008, allocations: 316.9 kB / 368 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4009, allocations: 37.92 kB / 368.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.4011, allocations: 59.97 kB / 368.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4013, allocations: 77.31 kB / 368.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4013, allocations: 0 / 368.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004768/0.4018, allocations: 174.9 kB / 368.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.4019, allocations: 37.12 kB / 368.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4019, allocations: 0 / 368.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4019, allocations: 5.875 kB / 368.4 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4022, allocations: 18.56 kB / 368.4 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4022, allocations: 1.469 kB / 368.4 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4023, allocations: 7.984 kB / 368.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.4023, allocations: 8.969 kB / 368.4 MB, free: 7.137 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 (12): * Single equations (assignments): 11 * 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.000156/0.4025, allocations: 122.4 kB / 368.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4026, allocations: 11.89 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.4026, allocations: 17.52 kB / 368.6 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4027, allocations: 4.906 kB / 368.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4027, allocations: 3.938 kB / 368.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4027, allocations: 1.125 kB / 368.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.4035, allocations: 418.4 kB / 369 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4035, allocations: 1.094 kB / 369 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.4036, allocations: 21.77 kB / 369 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.4036, allocations: 1.062 kB / 369 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4037, allocations: 5.047 kB / 369 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.4037, allocations: 5.125 kB / 369 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4037, allocations: 1.156 kB / 369 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.4041, allocations: 230.6 kB / 369.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4042, allocations: 93.59 kB / 369.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.4043, allocations: 10.83 kB / 369.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4044, allocations: 6.469 kB / 369.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4045, allocations: 7.953 kB / 369.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.4045, allocations: 3.594 kB / 369.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4047, allocations: 117.9 kB / 369.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4047, allocations: 0 / 369.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004203/0.4051, allocations: 36.06 kB / 369.5 MB, free: 6.148 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 (9): * Single equations (assignments): 7 * 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.001495/0.4066, allocations: 485.9 kB / 370 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.4072, allocations: 157.1 kB / 370.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4072, allocations: 5.219 kB / 370.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4074, allocations: 40.58 kB / 370.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.4078, allocations: 25.2 kB / 370.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.4085, allocations: 251.2 kB / 370.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.4088, allocations: 0.6998 MB / 371.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.4089, allocations: 16.62 kB / 371.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4089, allocations: 0 / 371.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of Templates: time 0.006849/0.4158, allocations: 2.261 MB / 373.5 MB, free: 2.766 MB / 298.7 MB