Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.886e-05, allocations: 8 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3469, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003175/0.3502, allocations: 1.313 MB / 326.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.3527, allocations: 0.9625 MB / 327.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3529, allocations: 1.375 kB / 327.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3532, allocations: 23.66 kB / 327.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3534, allocations: 28.3 kB / 327.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3538, allocations: 46.34 kB / 327.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.3539, allocations: 41.77 kB / 327.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.599e-05/0.3541, allocations: 3.984 kB / 327.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.3542, allocations: 26.27 kB / 327.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3544, allocations: 23 kB / 327.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.3547, allocations: 48.52 kB / 327.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.3547, allocations: 5.844 kB / 327.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.3548, allocations: 13.73 kB / 327.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.3548, allocations: 3.625 kB / 327.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3552, allocations: 90.83 kB / 327.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3552, allocations: 1.438 kB / 327.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3552, allocations: 0 / 327.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3553, allocations: 0 / 327.5 MB, free: 1.738 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.0005817/0.3558, allocations: 396.6 kB / 327.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.3559, allocations: 9.094 kB / 327.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.356, allocations: 8.797 kB / 327.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3563, allocations: 190.6 kB / 328.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3564, allocations: 9.781 kB / 328.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3564, allocations: 2.781 kB / 328.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3566, allocations: 58.38 kB / 328.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3567, allocations: 1.172 kB / 328.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3567, allocations: 7.969 kB / 328.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3567, allocations: 3.938 kB / 328.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.3568, allocations: 14.62 kB / 328.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3573, allocations: 273.6 kB / 328.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.3576, allocations: 45.45 kB / 328.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3577, allocations: 2.531 kB / 328.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3579, allocations: 59.55 kB / 328.5 MB, free: 0.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.737e-06/0.3579, allocations: 0 / 328.5 MB, free: 0.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006862/0.3586, allocations: 114.8 kB / 328.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3587, allocations: 78.86 kB / 328.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3589, allocations: 128.1 kB / 328.9 MB, free: 416 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.359, allocations: 26.98 kB / 328.9 MB, free: 384 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.3591, allocations: 157.4 kB / 329 MB, free: 228 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.3591, allocations: 20.8 kB / 329.1 MB, free: 212 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.3592, allocations: 3.938 kB / 329.1 MB, free: 208 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3593, allocations: 317.5 kB / 329.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3594, allocations: 19.75 kB / 329.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3596, allocations: 35.45 kB / 329.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3597, allocations: 54.73 kB / 329.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3598, allocations: 1.094 kB / 329.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003994/0.3602, allocations: 113.1 kB / 329.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.3603, allocations: 38.45 kB / 329.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3603, allocations: 0 / 329.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3603, allocations: 1.219 kB / 329.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3604, allocations: 9.688 kB / 329.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3605, allocations: 3.938 kB / 329.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3606, allocations: 7.422 kB / 329.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.3606, allocations: 7.375 kB / 329.7 MB, free: 15.68 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.0001684/0.3608, allocations: 120.6 kB / 329.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.3609, allocations: 8.359 kB / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.361, allocations: 12.64 kB / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.361, allocations: 0 / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.361, allocations: 1.344 kB / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.361, allocations: 0.6562 kB / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.3617, allocations: 336 kB / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3617, allocations: 0 / 330.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.3618, allocations: 9.734 kB / 330.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3618, allocations: 5.219 kB / 330.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3619, allocations: 5.781 kB / 330.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3619, allocations: 5 kB / 330.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3619, allocations: 3.938 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.3623, allocations: 167.8 kB / 330.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.3623, allocations: 84.33 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3624, allocations: 2.062 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3626, allocations: 7.266 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.3627, allocations: 3.484 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3627, allocations: 7.312 kB / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3629, allocations: 103.5 kB / 330.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3629, allocations: 0 / 330.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007049/0.3636, allocations: 39.73 kB / 330.6 MB, free: 14.86 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.001715/0.3654, allocations: 411.7 kB / 331 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3657, allocations: 101.6 kB / 331.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3658, allocations: 1.125 kB / 331.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.3659, allocations: 15.39 kB / 331.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3663, allocations: 22.95 kB / 331.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.367, allocations: 190.7 kB / 331.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3674, allocations: 0.6932 MB / 332 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.3675, allocations: 18.92 kB / 332 MB, free: 13.64 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3675, allocations: 0.75 kB / 332 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Templates: time 0.008125/0.3756, allocations: 1.93 MB / 333.9 MB, free: 13.4 MB / 282.7 MB