Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.2 MB / 224.4 MB, free: 0.8672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.411e-05, allocations: 11.59 kB / 276.2 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3386, allocations: 48.69 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.0024/0.341, allocations: 1.31 MB / 326.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3421, allocations: 407.8 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.3422, allocations: 1.438 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3425, allocations: 16.78 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3427, allocations: 32.47 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.3429, allocations: 51.28 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3431, allocations: 40.34 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.3432, allocations: 8.375 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.3432, allocations: 26.66 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.3433, allocations: 22.69 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3435, allocations: 25.5 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3435, allocations: 9.594 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.3436, allocations: 28.91 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.3437, allocations: 3.344 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.3439, allocations: 90.06 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3439, allocations: 0 / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3439, allocations: 0 / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.344, allocations: 1.281 kB / 326.9 MB, free: 2.047 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.0004881/0.3445, allocations: 412.8 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3445, allocations: 9.031 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.3446, allocations: 14.05 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3448, allocations: 203.9 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.3448, allocations: 5.141 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3449, allocations: 4.25 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.345, allocations: 47.27 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.345, allocations: 5.031 kB / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3451, allocations: 0 / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3451, allocations: 2.297 kB / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.3452, allocations: 16.44 kB / 327.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.3456, allocations: 294.7 kB / 327.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.3458, allocations: 47.2 kB / 327.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3459, allocations: 1.031 kB / 327.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.346, allocations: 55.61 kB / 328 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.346, allocations: 0 / 328 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005019/0.3465, allocations: 126.9 kB / 328.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3466, allocations: 56.5 kB / 328.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.3469, allocations: 222.6 kB / 328.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3469, allocations: 30.8 kB / 328.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.347, allocations: 166 kB / 328.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3471, allocations: 21.83 kB / 328.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.3471, allocations: 1.312 kB / 328.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.3471, allocations: 316 kB / 328.9 MB, free: 180 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.3472, allocations: 19.62 kB / 328.9 MB, free: 172 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.3473, allocations: 17.38 kB / 329 MB, free: 168 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.3474, allocations: 53.12 kB / 329 MB, free: 120 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3474, allocations: 1.469 kB / 329 MB, free: 120 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002351/0.3476, allocations: 113.3 kB / 329.1 MB, free: 36 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3477, allocations: 32.47 kB / 329.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3477, allocations: 1.25 kB / 329.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3477, allocations: 0.6094 kB / 329.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.3478, allocations: 8.969 kB / 329.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3478, allocations: 2.531 kB / 329.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.348, allocations: 7.375 kB / 329.2 MB, free: 0 / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.348, allocations: 6.891 kB / 329.2 MB, free: 15.99 MB / 282.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.0001683/0.3482, allocations: 135.3 kB / 329.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3482, allocations: 14.08 kB / 329.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.3483, allocations: 22.44 kB / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3483, allocations: 1.125 kB / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3483, allocations: 0 / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3483, allocations: 0.5625 kB / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.3489, allocations: 350.8 kB / 329.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3489, allocations: 7.828 kB / 329.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.3489, allocations: 9.625 kB / 329.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.349, allocations: 1.25 kB / 329.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.349, allocations: 6.047 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.349, allocations: 0 / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.349, allocations: 1.188 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3493, allocations: 172.9 kB / 329.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.3493, allocations: 85.56 kB / 330 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.3494, allocations: 5.656 kB / 330 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.3495, allocations: 2.938 kB / 330 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3495, allocations: 4.453 kB / 330 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3496, allocations: 2.938 kB / 330 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002706/0.3499, allocations: 188.7 kB / 330.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3499, allocations: 1.094 kB / 330.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.3503, allocations: 28.48 kB / 330.2 MB, free: 15.14 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.0009968/0.3513, allocations: 339.6 kB / 330.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3516, allocations: 101.8 kB / 330.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3516, allocations: 0 / 330.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.3517, allocations: 16.84 kB / 330.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.352, allocations: 21.38 kB / 330.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.3527, allocations: 297.2 kB / 331 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3531, allocations: 0.7099 MB / 331.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.3532, allocations: 17.83 kB / 331.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3532, allocations: 4 kB / 331.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Templates: time 0.005773/0.359, allocations: 1.809 MB / 333.5 MB, free: 13.71 MB / 282.7 MB