Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.122e-05, allocations: 7.281 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 48.7 MB / 324.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002387/0.3609, allocations: 1.311 MB / 326.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.362, allocations: 399.2 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3621, allocations: 5.156 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.3623, allocations: 17.17 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3625, allocations: 26.27 kB / 326.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.3627, allocations: 50.41 kB / 326.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3629, allocations: 47.7 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.3629, allocations: 3.281 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.363, allocations: 23.91 kB / 326.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.3631, allocations: 21.53 kB / 326.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3633, allocations: 30.56 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3633, allocations: 3.75 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.3634, allocations: 11.41 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.3634, allocations: 3.375 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3636, allocations: 88.53 kB / 326.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3636, allocations: 4 kB / 326.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3637, allocations: 0 / 326.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3637, allocations: 0 / 326.9 MB, free: 2.012 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.0004591/0.3641, allocations: 399.9 kB / 327.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3642, allocations: 8.906 kB / 327.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.3643, allocations: 9.188 kB / 327.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3645, allocations: 200.7 kB / 327.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3645, allocations: 6.328 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.3646, allocations: 1.594 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3647, allocations: 47.86 kB / 327.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3647, allocations: 0 / 327.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3647, allocations: 1.25 kB / 327.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3648, allocations: 0.7969 kB / 327.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.3648, allocations: 23.14 kB / 327.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.3652, allocations: 276.3 kB / 327.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3654, allocations: 47.05 kB / 327.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3655, allocations: 0 / 327.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3656, allocations: 66.52 kB / 327.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.3656, allocations: 1.5 kB / 327.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004838/0.3661, allocations: 111 kB / 328.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3662, allocations: 52.66 kB / 328.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3664, allocations: 173.6 kB / 328.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3664, allocations: 30.73 kB / 328.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.3665, allocations: 174.5 kB / 328.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.3665, allocations: 11.69 kB / 328.5 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.3666, allocations: 1.094 kB / 328.5 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.3666, allocations: 321.2 kB / 328.8 MB, free: 192 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.3667, allocations: 16.06 kB / 328.8 MB, free: 188 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.3668, allocations: 19.56 kB / 328.8 MB, free: 180 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.3669, allocations: 47.84 kB / 328.9 MB, free: 140 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3669, allocations: 0 / 328.9 MB, free: 140 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00023/0.3671, allocations: 119.8 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.3672, allocations: 33.61 kB / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3672, allocations: 1.25 kB / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3672, allocations: 0 / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.3673, allocations: 9.859 kB / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3673, allocations: 1.156 kB / 329 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.3674, allocations: 7.781 kB / 329.1 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3674, allocations: 2.281 kB / 329.1 MB, free: 12 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.0001577/0.3676, allocations: 125.8 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.3676, allocations: 11.34 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.3677, allocations: 18.83 kB / 329.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3677, allocations: 1.406 kB / 329.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3677, allocations: 0 / 329.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3677, allocations: 1.969 kB / 329.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.3682, allocations: 334.3 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3683, allocations: 0.75 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.3683, allocations: 10.58 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3683, allocations: 1.281 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3684, allocations: 10 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3684, allocations: 4.453 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3684, allocations: 0 / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3686, allocations: 176 kB / 329.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3687, allocations: 86.14 kB / 329.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3688, allocations: 0.5625 kB / 329.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.3689, allocations: 3.438 kB / 329.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3689, allocations: 3.766 kB / 329.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.369, allocations: 11.05 kB / 329.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.3692, allocations: 132.8 kB / 330 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3692, allocations: 0 / 330 MB, free: 15.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.3696, allocations: 33.67 kB / 330 MB, free: 15.18 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.00101/0.3706, allocations: 339.7 kB / 330.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.3709, allocations: 107.5 kB / 330.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3709, allocations: 0 / 330.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.371, allocations: 15.5 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3713, allocations: 19.48 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.3719, allocations: 232.6 kB / 330.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.3723, allocations: 0.7005 MB / 331.4 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.3723, allocations: 18.78 kB / 331.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of SimCode: time 3.537e-06/0.3723, allocations: 0 / 331.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Templates: time 0.005445/0.3778, allocations: 1.694 MB / 333.1 MB, free: 13.79 MB / 282.7 MB