Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.029/2.029, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.211e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 48.7 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002319/0.3539, allocations: 1.312 MB / 326.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.3549, allocations: 398 kB / 326.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.355, allocations: 5.25 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3553, allocations: 17.83 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3554, allocations: 25.23 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3557, allocations: 50.42 kB / 326.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3558, allocations: 41.59 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.3559, allocations: 4.188 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.356, allocations: 27.64 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.3561, allocations: 20.72 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3563, allocations: 32.48 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3563, allocations: 4.062 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.3563, allocations: 14.55 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.3564, allocations: 3.438 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3566, allocations: 74.45 kB / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.3566, allocations: 3.938 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3566, allocations: 1.5 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3567, allocations: 0 / 326.9 MB, free: 2.031 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.0004616/0.3571, allocations: 397.9 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3572, allocations: 10.28 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.3572, allocations: 7.516 kB / 327.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3575, allocations: 198 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3575, allocations: 1.703 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3575, allocations: 2.125 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3577, allocations: 47.38 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3577, allocations: 0 / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3577, allocations: 5.75 kB / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3577, allocations: 0 / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.3578, allocations: 18.03 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.3582, allocations: 282.8 kB / 327.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3584, allocations: 41.45 kB / 327.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3585, allocations: 3.938 kB / 327.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.3586, allocations: 66.02 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.3586, allocations: 0 / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005166/0.3592, allocations: 111.4 kB / 328 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3592, allocations: 56.38 kB / 328.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3594, allocations: 157.3 kB / 328.2 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3595, allocations: 30.86 kB / 328.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.3595, allocations: 158.2 kB / 328.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3596, allocations: 19.56 kB / 328.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.3596, allocations: 5.156 kB / 328.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.3596, allocations: 317.4 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.3597, allocations: 19.94 kB / 328.8 MB, free: 216 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.3598, allocations: 20.14 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.3599, allocations: 46.34 kB / 328.8 MB, free: 168 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3599, allocations: 1.125 kB / 328.8 MB, free: 168 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002339/0.3601, allocations: 112.2 kB / 329 MB, free: 84 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.3602, allocations: 36.78 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3602, allocations: 1.188 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3602, allocations: 4.75 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.3603, allocations: 8.844 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3603, allocations: 1.125 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.3604, allocations: 7.031 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3605, allocations: 3.281 kB / 329 MB, free: 44 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.0001477/0.3606, allocations: 124.8 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.3606, allocations: 8 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.3607, allocations: 17.3 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3607, allocations: 1.688 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3608, allocations: 7.938 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3608, allocations: 1.578 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3613, allocations: 342 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3613, allocations: 0 / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.3613, allocations: 6.156 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3614, allocations: 1.062 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3614, allocations: 1.734 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3614, allocations: 1.828 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3614, allocations: 0 / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3617, allocations: 184.4 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3617, allocations: 84.23 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3618, allocations: 2 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3619, allocations: 2.594 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3619, allocations: 4.109 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.362, allocations: 2.828 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3621, allocations: 131.6 kB / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3622, allocations: 4 kB / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.3625, allocations: 24.36 kB / 330 MB, free: 15.21 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.001046/0.3636, allocations: 347.2 kB / 330.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.3639, allocations: 106.1 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3639, allocations: 1.062 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.364, allocations: 19.55 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3643, allocations: 11.28 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.3649, allocations: 226 kB / 330.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3653, allocations: 0.7032 MB / 331.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.3653, allocations: 14.84 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3653, allocations: 1 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.005272/0.3706, allocations: 1.666 MB / 333 MB, free: 13.83 MB / 282.7 MB