Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.472e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4387, allocations: 54.85 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002713/0.4415, allocations: 1.355 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.4433, allocations: 0.6537 MB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.4435, allocations: 1.094 kB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.4437, allocations: 21.31 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.4439, allocations: 29.95 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.4442, allocations: 49.83 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.4443, allocations: 49.45 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.4444, allocations: 2.438 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4446, allocations: 38.09 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.4447, allocations: 29.5 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4448, allocations: 26.25 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.4448, allocations: 3.938 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.4449, allocations: 11.02 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.4449, allocations: 4.562 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.4452, allocations: 83.14 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4452, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4452, allocations: 3.938 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4452, allocations: 3.938 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006559/0.4459, allocations: 443.7 kB / 365.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.446, allocations: 14.47 kB / 365.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.446, allocations: 11.28 kB / 365.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.4464, allocations: 194.3 kB / 365.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.4464, allocations: 6.5 kB / 365.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4464, allocations: 3.031 kB / 365.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.4467, allocations: 57.98 kB / 365.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4467, allocations: 1.625 kB / 365.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4467, allocations: 0 / 365.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4467, allocations: 9.078 kB / 365.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.4469, allocations: 22.33 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.4474, allocations: 300.7 kB / 366.2 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.4476, allocations: 54.14 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.4477, allocations: 1.844 kB / 366.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.4479, allocations: 77.06 kB / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.4479, allocations: 0 / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008238/0.4488, allocations: 179.7 kB / 366.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4488, allocations: 52.38 kB / 366.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4491, allocations: 159.1 kB / 366.8 MB, free: 8.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.4491, allocations: 32.02 kB / 366.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4492, allocations: 161.5 kB / 366.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.4493, allocations: 18.97 kB / 367 MB, free: 8.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.4493, allocations: 5.281 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4495, allocations: 315.9 kB / 367.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4496, allocations: 31.92 kB / 367.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4498, allocations: 51.16 kB / 367.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.45, allocations: 69.88 kB / 367.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.45, allocations: 4 kB / 367.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000418/0.4504, allocations: 155.8 kB / 367.6 MB, free: 7.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.4505, allocations: 37.75 kB / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4505, allocations: 0 / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4505, allocations: 0.9688 kB / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4507, allocations: 21.42 kB / 367.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4507, allocations: 5.094 kB / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.4508, allocations: 8.469 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.4509, allocations: 3.844 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001579/0.451, allocations: 131.5 kB / 367.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4511, allocations: 7.438 kB / 367.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.4511, allocations: 17.39 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4511, allocations: 5.375 kB / 367.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4512, allocations: 3.938 kB / 367.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4512, allocations: 3.984 kB / 367.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.4519, allocations: 381.5 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4519, allocations: 9.109 kB / 368.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.452, allocations: 11.14 kB / 368.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.452, allocations: 1.438 kB / 368.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.452, allocations: 5.469 kB / 368.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.452, allocations: 1.344 kB / 368.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.452, allocations: 1.188 kB / 368.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.4524, allocations: 225.9 kB / 368.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.4525, allocations: 94.06 kB / 368.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4526, allocations: 1.562 kB / 368.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4527, allocations: 6.922 kB / 368.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.4527, allocations: 2.844 kB / 368.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.4528, allocations: 4.094 kB / 368.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.453, allocations: 131.4 kB / 368.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.453, allocations: 0.875 kB / 368.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.4534, allocations: 20.5 kB / 368.7 MB, free: 6.941 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001224/0.4546, allocations: 410.5 kB / 369.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.4551, allocations: 147.2 kB / 369.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4551, allocations: 0 / 369.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4552, allocations: 29.47 kB / 369.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.4556, allocations: 37.7 kB / 369.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.4562, allocations: 245.8 kB / 369.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4565, allocations: 0.705 MB / 370.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.4566, allocations: 14.56 kB / 370.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4566, allocations: 0 / 370.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of Templates: time 0.005495/0.4621, allocations: 1.858 MB / 372.1 MB, free: 4.223 MB / 298.7 MB