Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.886/1.886, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.225e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3496, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002494/0.3521, allocations: 1.305 MB / 326.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009636/0.3531, allocations: 407.2 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.3532, allocations: 1.438 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.3535, allocations: 15.89 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3536, allocations: 30.38 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3539, allocations: 49.78 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.354, allocations: 39.52 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.3541, allocations: 6.281 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.3542, allocations: 23.73 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.3543, allocations: 21.48 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3544, allocations: 25.45 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3545, allocations: 2.406 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.3545, allocations: 20.5 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.3546, allocations: 7.281 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3548, allocations: 74.75 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3548, allocations: 0 / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3548, allocations: 4 kB / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3548, allocations: 1.406 kB / 326.9 MB, free: 2.035 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.0004637/0.3553, allocations: 400.5 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3554, allocations: 9.062 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.3554, allocations: 8.922 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3556, allocations: 195.4 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3557, allocations: 1.828 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.3557, allocations: 2.719 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3559, allocations: 48.64 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3559, allocations: 0 / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3559, allocations: 5.125 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3559, allocations: 3.938 kB / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.356, allocations: 10.66 kB / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3564, allocations: 282.7 kB / 327.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3567, allocations: 45.61 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3567, allocations: 1.125 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.3569, allocations: 57.61 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.787e-06/0.357, allocations: 0 / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005206/0.3575, allocations: 114.5 kB / 328 MB, free: 0.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.3575, allocations: 53.47 kB / 328.1 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3577, allocations: 156.2 kB / 328.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3578, allocations: 27.2 kB / 328.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.3578, allocations: 164.8 kB / 328.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.3579, allocations: 18.81 kB / 328.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.3579, allocations: 9.438 kB / 328.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.358, allocations: 318.2 kB / 328.8 MB, free: 228 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.358, allocations: 19.42 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.3581, allocations: 18.64 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.69e-05/0.3582, allocations: 46.7 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3582, allocations: 0 / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002395/0.3585, allocations: 112.5 kB / 329 MB, free: 88 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.3585, allocations: 41.94 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3585, allocations: 0 / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3586, allocations: 1.031 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.3587, allocations: 13.86 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3587, allocations: 0 / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.3588, allocations: 4.203 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.3588, allocations: 5.922 kB / 329 MB, free: 48 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.0001553/0.359, allocations: 123.9 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.359, allocations: 13.45 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.3591, allocations: 12.45 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3591, allocations: 2.781 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.3591, allocations: 0.8125 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3591, allocations: 1.156 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3596, allocations: 343.7 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3596, allocations: 4.125 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.3597, allocations: 5.906 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3597, allocations: 5.469 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3598, allocations: 0.6094 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3598, allocations: 4.844 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3598, allocations: 1.844 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.36, allocations: 171.8 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.3601, allocations: 84.72 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.3601, allocations: 2.281 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.3602, allocations: 5.094 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3603, allocations: 8.031 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.3604, allocations: 7.281 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.3606, allocations: 127.3 kB / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3606, allocations: 0 / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.361, allocations: 29 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.0009487/0.3619, allocations: 339.5 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.3623, allocations: 106.3 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3623, allocations: 0 / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.3624, allocations: 20.98 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3627, allocations: 17.98 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.0006462/0.3634, allocations: 222 kB / 330.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3638, allocations: 0.7052 MB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.3639, allocations: 17.52 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3639, allocations: 1.125 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.005721/0.3697, allocations: 1.655 MB / 333 MB, free: 13.84 MB / 282.7 MB