Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.429e-05, allocations: 7.938 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002647/0.3938, allocations: 1.358 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3956, allocations: 0.6512 MB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.3957, allocations: 1.312 kB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.396, allocations: 25.28 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.3962, allocations: 32.03 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3964, allocations: 51.69 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3966, allocations: 48.31 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.3967, allocations: 10.92 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.3968, allocations: 32.86 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3969, allocations: 28.02 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3971, allocations: 30.89 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.3971, allocations: 4.25 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.3972, allocations: 23.34 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.3972, allocations: 6.188 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3975, allocations: 101.7 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3975, allocations: 0 / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3975, allocations: 3.938 kB / 365.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3975, allocations: 0 / 365.3 MB, free: 10.17 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.0006968/0.3982, allocations: 462.5 kB / 365.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3983, allocations: 13.62 kB / 365.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.3984, allocations: 14.19 kB / 365.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.3987, allocations: 199.5 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.3987, allocations: 2.25 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.3988, allocations: 3.938 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.399, allocations: 58.02 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.399, allocations: 7.922 kB / 366 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3991, allocations: 4 kB / 366 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3991, allocations: 5.078 kB / 366 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3992, allocations: 27.02 kB / 366 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3997, allocations: 310.5 kB / 366.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.4, allocations: 57.38 kB / 366.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.4001, allocations: 1.438 kB / 366.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.4003, allocations: 82.05 kB / 366.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.4003, allocations: 0 / 366.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007851/0.4011, allocations: 178.2 kB / 366.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4012, allocations: 53.62 kB / 366.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4015, allocations: 241.8 kB / 366.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4016, allocations: 27.58 kB / 367 MB, free: 8.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4017, allocations: 172.8 kB / 367.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4018, allocations: 24.31 kB / 367.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.4018, allocations: 1.281 kB / 367.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.402, allocations: 320.1 kB / 367.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4021, allocations: 27.39 kB / 367.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.4023, allocations: 47.83 kB / 367.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.4024, allocations: 66.25 kB / 367.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4025, allocations: 0 / 367.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004173/0.4029, allocations: 156.1 kB / 367.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.403, allocations: 40.56 kB / 367.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.403, allocations: 1.062 kB / 367.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.403, allocations: 1.156 kB / 367.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.4032, allocations: 21.11 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4032, allocations: 1.156 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.4033, allocations: 3.812 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4033, allocations: 3.812 kB / 367.8 MB, free: 7.812 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.0001785/0.4035, allocations: 139.6 kB / 368 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4036, allocations: 16.73 kB / 368 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.4036, allocations: 25.3 kB / 368 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4037, allocations: 5.406 kB / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4037, allocations: 0 / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4037, allocations: 0 / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.4044, allocations: 400.8 kB / 368.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4044, allocations: 3.953 kB / 368.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.4045, allocations: 11.81 kB / 368.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.4045, allocations: 1.438 kB / 368.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4046, allocations: 6.344 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4046, allocations: 256 / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4046, allocations: 4.875 kB / 368.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.405, allocations: 232.4 kB / 368.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4051, allocations: 102.2 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.4052, allocations: 3.031 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4053, allocations: 1.688 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.4054, allocations: 7.422 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.4054, allocations: 7.719 kB / 368.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.4057, allocations: 191.5 kB / 369 MB, free: 6.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.4057, allocations: 0 / 369 MB, free: 6.801 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004125/0.4061, allocations: 29.61 kB / 369 MB, free: 6.793 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.001239/0.4074, allocations: 407.3 kB / 369.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004432/0.4078, allocations: 143.6 kB / 369.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4079, allocations: 0 / 369.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.408, allocations: 33.73 kB / 369.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.4084, allocations: 24.44 kB / 369.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007842/0.4092, allocations: 325.5 kB / 369.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.4096, allocations: 0.7201 MB / 370.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.4097, allocations: 18.75 kB / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4097, allocations: 0 / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of Templates: time 0.006043/0.4157, allocations: 2.03 MB / 372.7 MB, free: 3.676 MB / 298.7 MB