Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.509e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3473, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002291/0.3496, allocations: 1.308 MB / 326.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.3506, allocations: 398.8 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.3507, allocations: 1.156 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.351, allocations: 20.75 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3512, allocations: 20.09 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.3514, allocations: 50.16 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3515, allocations: 43.55 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.3516, allocations: 4.453 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.3517, allocations: 23.22 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.3518, allocations: 23.16 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3519, allocations: 29.64 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.352, allocations: 3.375 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.352, allocations: 12.8 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.3521, allocations: 3.312 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3523, allocations: 82.42 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3523, allocations: 1.375 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3523, allocations: 0 / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3523, allocations: 0 / 326.9 MB, free: 2.453 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.0004657/0.3528, allocations: 397 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3529, allocations: 9.672 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.3529, allocations: 4.312 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3531, allocations: 191.1 kB / 327.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3532, allocations: 6 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3532, allocations: 2.594 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3533, allocations: 42.53 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.3534, allocations: 1.25 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3534, allocations: 0 / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3534, allocations: 1.281 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.3535, allocations: 25.33 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3539, allocations: 281.6 kB / 327.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.3542, allocations: 37.44 kB / 327.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3542, allocations: 2.938 kB / 327.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3544, allocations: 67.33 kB / 327.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.3544, allocations: 1.125 kB / 327.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004843/0.3549, allocations: 107.6 kB / 328 MB, free: 1.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.355, allocations: 57.28 kB / 328.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3551, allocations: 147.5 kB / 328.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3552, allocations: 31.41 kB / 328.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.3552, allocations: 93.52 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3553, allocations: 17.45 kB / 328.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.3553, allocations: 1.156 kB / 328.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.3554, allocations: 328.6 kB / 328.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.3555, allocations: 18.64 kB / 328.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.3555, allocations: 16.69 kB / 328.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.3556, allocations: 50.33 kB / 328.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3556, allocations: 0 / 328.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002462/0.3559, allocations: 119.6 kB / 328.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.356, allocations: 36.97 kB / 328.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.356, allocations: 0.7031 kB / 328.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.356, allocations: 0 / 328.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.3561, allocations: 13.41 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3561, allocations: 2.688 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.3562, allocations: 3.375 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3562, allocations: 7.609 kB / 329 MB, free: 0.5234 MB / 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.0001035/0.3563, allocations: 123.1 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3564, allocations: 6.438 kB / 329.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/0.3564, allocations: 9.906 kB / 329.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3565, allocations: 6.078 kB / 329.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3565, allocations: 1.094 kB / 329.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3565, allocations: 4.609 kB / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.3569, allocations: 336.5 kB / 329.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3569, allocations: 96 / 329.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.357, allocations: 10.23 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.357, allocations: 0.6875 kB / 329.5 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.357, allocations: 5.734 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.357, allocations: 1.688 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.357, allocations: 0 / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3573, allocations: 180.2 kB / 329.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.3574, allocations: 85.05 kB / 329.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3574, allocations: 7.172 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.3575, allocations: 1.484 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.3576, allocations: 5.906 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.3576, allocations: 3.344 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.3578, allocations: 123.8 kB / 329.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3578, allocations: 0 / 329.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.3582, allocations: 23.91 kB / 329.9 MB, free: 15.7 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.001018/0.3592, allocations: 348.2 kB / 330.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3595, allocations: 106.8 kB / 330.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3595, allocations: 0 / 330.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.3596, allocations: 15.97 kB / 330.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3599, allocations: 18.45 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.3604, allocations: 179.8 kB / 330.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3608, allocations: 0.6996 MB / 331.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.3609, allocations: 17.06 kB / 331.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.361, allocations: 14.06 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of SimCode: time 3.046e-06/0.361, allocations: 0 / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Templates: time 0.006366/0.3674, allocations: 1.4 MB / 332.7 MB, free: 14.36 MB / 282.7 MB