Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.559/2.559, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.517e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5437, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003483/0.5473, allocations: 1.36 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.5495, allocations: 0.6494 MB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.5496, allocations: 1.219 kB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.5499, allocations: 16.73 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.5501, allocations: 45.05 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.5504, allocations: 46.38 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.5506, allocations: 53.81 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.5507, allocations: 2.875 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.5508, allocations: 36.16 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.551, allocations: 25.52 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.5511, allocations: 30.05 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.5512, allocations: 7.781 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.5513, allocations: 28.06 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.5513, allocations: 4.906 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.5516, allocations: 97.88 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5517, allocations: 0 / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5517, allocations: 1.25 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.5517, allocations: 0 / 365.3 MB, free: 10.18 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.0007377/0.5524, allocations: 466.1 kB / 365.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5525, allocations: 12.56 kB / 365.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.5526, allocations: 19.34 kB / 365.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.553, allocations: 199.2 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.553, allocations: 1.438 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.5531, allocations: 11.78 kB / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.5533, allocations: 50.08 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5534, allocations: 1.062 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.5534, allocations: 4 kB / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5534, allocations: 5.234 kB / 366 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.5536, allocations: 26.64 kB / 366 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.5542, allocations: 309.9 kB / 366.3 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.5545, allocations: 58.23 kB / 366.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.5545, allocations: 5.641 kB / 366.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.5548, allocations: 77.06 kB / 366.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.624e-06/0.5548, allocations: 0 / 366.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009716/0.5558, allocations: 183 kB / 366.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5559, allocations: 52.5 kB / 366.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.5564, allocations: 238 kB / 366.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5564, allocations: 27.8 kB / 367 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5566, allocations: 177.4 kB / 367.1 MB, free: 8.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.5567, allocations: 19.81 kB / 367.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.5567, allocations: 0.9688 kB / 367.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5569, allocations: 324.8 kB / 367.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.5571, allocations: 27.27 kB / 367.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.5573, allocations: 51.53 kB / 367.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.5575, allocations: 60.55 kB / 367.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5575, allocations: 0.9375 kB / 367.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005452/0.5581, allocations: 156.5 kB / 367.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.5582, allocations: 44.69 kB / 367.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5582, allocations: 0 / 367.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.5582, allocations: 1.156 kB / 367.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.5584, allocations: 17.64 kB / 367.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5585, allocations: 1.062 kB / 367.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.5586, allocations: 7.656 kB / 367.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.5587, allocations: 9.062 kB / 367.8 MB, free: 7.812 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.000238/0.5589, allocations: 130.1 kB / 368 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.559, allocations: 18.5 kB / 368 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.5591, allocations: 35.16 kB / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5591, allocations: 1.344 kB / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.5591, allocations: 0.9375 kB / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5592, allocations: 0 / 368 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.5601, allocations: 396.2 kB / 368.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.5601, allocations: 4.953 kB / 368.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.5602, allocations: 12.08 kB / 368.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.5603, allocations: 5.5 kB / 368.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5603, allocations: 5.5 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5603, allocations: 1.391 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5603, allocations: 4.359 kB / 368.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.5608, allocations: 224.3 kB / 368.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.561, allocations: 98.5 kB / 368.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.5611, allocations: 9.5 kB / 368.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.5613, allocations: 6.828 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.5613, allocations: 2.656 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.5614, allocations: 11.86 kB / 368.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003503/0.5618, allocations: 187.7 kB / 369 MB, free: 6.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5618, allocations: 0 / 369 MB, free: 6.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006117/0.5624, allocations: 26.34 kB / 369 MB, free: 6.801 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.001712/0.5641, allocations: 402.1 kB / 369.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.5646, allocations: 151.6 kB / 369.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5647, allocations: 0 / 369.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.5648, allocations: 33.2 kB / 369.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.5654, allocations: 29.16 kB / 369.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.5663, allocations: 324.9 kB / 369.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.5668, allocations: 0.7207 MB / 370.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.5669, allocations: 18.97 kB / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5669, allocations: 0 / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of Templates: time 0.007397/0.5743, allocations: 2.019 MB / 372.7 MB, free: 3.684 MB / 298.7 MB