Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.043e-05, allocations: 11.94 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3595, allocations: 48.69 MB / 324.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002319/0.3619, allocations: 1.312 MB / 326.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.3629, allocations: 397.8 kB / 326.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.363, allocations: 4.969 kB / 326.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.3633, allocations: 82.88 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3636, allocations: 56.33 kB / 326.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.3638, allocations: 51.2 kB / 326.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.364, allocations: 49.27 kB / 326.8 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.3641, allocations: 7.016 kB / 326.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.3641, allocations: 29.53 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3643, allocations: 39.92 kB / 326.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3644, allocations: 34.2 kB / 326.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3645, allocations: 3.906 kB / 326.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3645, allocations: 17.34 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.3646, allocations: 4.125 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3648, allocations: 86.88 kB / 327 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3648, allocations: 0 / 327 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3648, allocations: 4 kB / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3648, allocations: 0 / 327 MB, free: 2.043 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004582/0.3653, allocations: 409.5 kB / 327.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3654, allocations: 8.75 kB / 327.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3654, allocations: 9.891 kB / 327.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.3656, allocations: 198.5 kB / 327.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3657, allocations: 6 kB / 327.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.3657, allocations: 2.344 kB / 327.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3658, allocations: 55.84 kB / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3659, allocations: 0 / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3659, allocations: 3.125 kB / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3659, allocations: 1.094 kB / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.366, allocations: 13.52 kB / 327.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3664, allocations: 287.8 kB / 328 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3666, allocations: 42.97 kB / 328 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3666, allocations: 5.641 kB / 328 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3668, allocations: 59.66 kB / 328.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.3668, allocations: 0 / 328.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004625/0.3673, allocations: 125.3 kB / 328.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3673, allocations: 52.78 kB / 328.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.3676, allocations: 203.5 kB / 328.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3676, allocations: 27.48 kB / 328.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.3677, allocations: 170.3 kB / 328.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3677, allocations: 16.66 kB / 328.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.3678, allocations: 5.219 kB / 328.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.3678, allocations: 317.5 kB / 329 MB, free: 204 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.3679, allocations: 19.31 kB / 329 MB, free: 196 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.368, allocations: 20.75 kB / 329 MB, free: 188 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.368, allocations: 46.08 kB / 329.1 MB, free: 148 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3681, allocations: 0 / 329.1 MB, free: 148 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00023/0.3683, allocations: 119.7 kB / 329.2 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.3683, allocations: 36.91 kB / 329.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3684, allocations: 1.281 kB / 329.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3684, allocations: 0.7969 kB / 329.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.3685, allocations: 9.703 kB / 329.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3685, allocations: 0 / 329.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.3686, allocations: 7.328 kB / 329.2 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3686, allocations: 2.594 kB / 329.2 MB, free: 20 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.000165/0.3688, allocations: 142 kB / 329.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.3688, allocations: 10.47 kB / 329.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.3689, allocations: 20.11 kB / 329.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3689, allocations: 1.891 kB / 329.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3689, allocations: 0 / 329.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3689, allocations: 1.484 kB / 329.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.3694, allocations: 347.5 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3694, allocations: 0 / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3695, allocations: 6.125 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3695, allocations: 5.156 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3695, allocations: 1.906 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3695, allocations: 4.875 kB / 329.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3696, allocations: 1.188 kB / 329.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3698, allocations: 177.6 kB / 329.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.3699, allocations: 89.05 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3699, allocations: 5.828 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.37, allocations: 2.125 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.37, allocations: 4.328 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3701, allocations: 7.031 kB / 330.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.3703, allocations: 177.4 kB / 330.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3703, allocations: 0 / 330.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.3707, allocations: 33.69 kB / 330.3 MB, free: 15.15 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009493/0.3716, allocations: 335.8 kB / 330.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3719, allocations: 109.4 kB / 330.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3719, allocations: 0 / 330.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.372, allocations: 17.59 kB / 330.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3723, allocations: 18.3 kB / 330.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.3729, allocations: 280.9 kB / 331 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3733, allocations: 0.7109 MB / 331.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.3734, allocations: 14.59 kB / 331.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3734, allocations: 0 / 331.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of Templates: time 0.005378/0.3788, allocations: 1.766 MB / 333.5 MB, free: 13.74 MB / 282.7 MB