Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 223.8 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.855e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3566, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00228/0.359, allocations: 1.303 MB / 326.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.36, allocations: 399.5 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.3601, allocations: 1.375 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.3604, allocations: 19.88 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.3606, allocations: 26.97 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.3608, allocations: 49 kB / 326.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.361, allocations: 44.06 kB / 326.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.3611, allocations: 7.391 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.3612, allocations: 19.98 kB / 326.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.3613, allocations: 20.12 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.3614, allocations: 33.81 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3615, allocations: 2.469 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.3615, allocations: 15.2 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.3616, allocations: 3.844 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3618, allocations: 78.8 kB / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3618, allocations: 0 / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3619, allocations: 0 / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3619, allocations: 4 kB / 326.9 MB, free: 2.457 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.0004972/0.3624, allocations: 396 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3624, allocations: 8.781 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.3625, allocations: 12.22 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3627, allocations: 196.5 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3628, allocations: 2.203 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3628, allocations: 2.75 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3629, allocations: 42.55 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.363, allocations: 4.938 kB / 327.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.363, allocations: 0.875 kB / 327.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.363, allocations: 2.172 kB / 327.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.3631, allocations: 17.3 kB / 327.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.3635, allocations: 282.5 kB / 327.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.3638, allocations: 43.22 kB / 327.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.3638, allocations: 9.641 kB / 327.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.364, allocations: 56.17 kB / 328 MB, free: 1.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.275e-06/0.364, allocations: 0 / 328 MB, free: 1.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005236/0.3645, allocations: 115.8 kB / 328.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3646, allocations: 53.25 kB / 328.1 MB, free: 1.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3648, allocations: 155.5 kB / 328.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3648, allocations: 32.7 kB / 328.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.3649, allocations: 97.62 kB / 328.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3649, allocations: 17.53 kB / 328.4 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.3649, allocations: 4 kB / 328.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.365, allocations: 328.2 kB / 328.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.3651, allocations: 16.05 kB / 328.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.3652, allocations: 20.7 kB / 328.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.185e-05/0.3653, allocations: 45.64 kB / 328.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3653, allocations: 0 / 328.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002446/0.3655, allocations: 122.6 kB / 328.9 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.3656, allocations: 38.02 kB / 329 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3656, allocations: 5.062 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3656, allocations: 0 / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.3657, allocations: 9.781 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3657, allocations: 1.156 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.3658, allocations: 2.797 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3658, allocations: 3.375 kB / 329 MB, free: 0.5273 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.0001025/0.3659, allocations: 124 kB / 329.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.366, allocations: 8.141 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.366, allocations: 13.92 kB / 329.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3661, allocations: 6.266 kB / 329.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3661, allocations: 3.938 kB / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3661, allocations: 0 / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.3665, allocations: 337.3 kB / 329.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3665, allocations: 0.5625 kB / 329.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.3666, allocations: 5.109 kB / 329.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3666, allocations: 1.438 kB / 329.5 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3666, allocations: 9.094 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3666, allocations: 1.828 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3666, allocations: 4 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3669, allocations: 176.7 kB / 329.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.367, allocations: 85.56 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.367, allocations: 1.781 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.3671, allocations: 1.812 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.3672, allocations: 4.484 kB / 329.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3672, allocations: 11.08 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.3674, allocations: 130.8 kB / 329.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3674, allocations: 0 / 329.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.3678, allocations: 33.31 kB / 329.9 MB, free: 15.69 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.0009874/0.3688, allocations: 342.5 kB / 330.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.369, allocations: 102.2 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3691, allocations: 7.938 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.3691, allocations: 17.28 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3695, allocations: 16.25 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.0005605/0.3701, allocations: 191.1 kB / 330.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3704, allocations: 0.7021 MB / 331.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.3705, allocations: 16.39 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.3705, allocations: 13.69 kB / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3706, allocations: 1.375 kB / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Templates: time 0.00619/0.3768, allocations: 1.401 MB / 332.7 MB, free: 14.35 MB / 282.7 MB