Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.035/2.035, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.836e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3523, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002511/0.3549, allocations: 1.312 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3559, allocations: 396 kB / 326.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.356, allocations: 7.875 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3563, allocations: 17.03 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3565, allocations: 25.5 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.3567, allocations: 50.91 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3569, allocations: 42.89 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.357, allocations: 3.547 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.357, allocations: 25.34 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.3571, allocations: 23.23 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3573, allocations: 30.44 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3573, allocations: 7.344 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.3574, allocations: 9.594 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.3574, allocations: 3.469 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3576, allocations: 79.67 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.3576, allocations: 3.938 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3576, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3577, allocations: 1.125 kB / 326.9 MB, free: 2.043 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.0004475/0.3581, allocations: 398 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3582, allocations: 9.625 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.3582, allocations: 8.328 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3584, allocations: 192.6 kB / 327.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3585, allocations: 5.219 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3585, allocations: 2.375 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3586, allocations: 43.5 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3587, allocations: 5.062 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3587, allocations: 0 / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3587, allocations: 0.8125 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.3588, allocations: 22.28 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.3591, allocations: 279.6 kB / 327.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3594, allocations: 42.11 kB / 327.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3594, allocations: 1.406 kB / 327.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.3596, allocations: 70.59 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.3596, allocations: 0 / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004638/0.3601, allocations: 107.8 kB / 328 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.3601, allocations: 57.19 kB / 328.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3603, allocations: 157.1 kB / 328.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3603, allocations: 27.11 kB / 328.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.3604, allocations: 160.8 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3604, allocations: 22.95 kB / 328.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.3605, allocations: 1.25 kB / 328.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.3605, allocations: 321.7 kB / 328.8 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.3606, allocations: 19.53 kB / 328.8 MB, free: 228 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.3607, allocations: 15.5 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.3608, allocations: 51.42 kB / 328.9 MB, free: 180 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3608, allocations: 0 / 328.9 MB, free: 180 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002315/0.361, allocations: 112.1 kB / 329 MB, free: 96 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.3611, allocations: 37.22 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3611, allocations: 0 / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3611, allocations: 1.188 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.3612, allocations: 10 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3612, allocations: 4 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.3613, allocations: 4.5 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3613, allocations: 6.062 kB / 329 MB, free: 56 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.0001581/0.3615, allocations: 124.7 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3615, allocations: 11.77 kB / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.3616, allocations: 13.52 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3616, allocations: 4.641 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3616, allocations: 5.281 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3617, allocations: 0.7969 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.3622, allocations: 339.5 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3622, allocations: 5.031 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.3622, allocations: 6.406 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3623, allocations: 1.062 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3623, allocations: 2.109 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3623, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3623, allocations: 0.9062 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3625, allocations: 180.6 kB / 329.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.3626, allocations: 83.47 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3627, allocations: 8.125 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.3628, allocations: 1.406 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3628, allocations: 4.234 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3629, allocations: 1.875 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.363, allocations: 127.1 kB / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.363, allocations: 1.25 kB / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.3634, allocations: 27.27 kB / 330 MB, free: 15.23 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.0009928/0.3644, allocations: 349.6 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3647, allocations: 107.6 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3647, allocations: 0 / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.3648, allocations: 15.06 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.3651, allocations: 19.03 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.3657, allocations: 222.4 kB / 330.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3661, allocations: 0.7025 MB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.3661, allocations: 17.83 kB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3661, allocations: 0 / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Templates: time 0.005526/0.3717, allocations: 1.667 MB / 333 MB, free: 13.84 MB / 282.7 MB