Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.986/1.986, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.736e-05, allocations: 11.94 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3513, allocations: 48.69 MB / 324.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00233/0.3537, allocations: 1.312 MB / 326.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.3547, allocations: 396.5 kB / 326.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.3548, allocations: 8.875 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.355, allocations: 17.31 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3552, allocations: 28.61 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3554, allocations: 50.55 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3555, allocations: 42.44 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.867e-05/0.3556, allocations: 3.984 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.3557, allocations: 26.81 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.3558, allocations: 16.62 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.356, allocations: 28.25 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.356, allocations: 3.188 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.3561, allocations: 13.69 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.3561, allocations: 3.875 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3563, allocations: 82.12 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3564, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3564, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3564, allocations: 3.938 kB / 326.9 MB, free: 2.039 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.0004351/0.3568, allocations: 396 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3569, allocations: 9.344 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.3569, allocations: 8.359 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3571, allocations: 190.7 kB / 327.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3572, allocations: 4.984 kB / 327.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.3572, allocations: 7.531 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3574, allocations: 42.44 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3574, allocations: 0 / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3574, allocations: 1.766 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3574, allocations: 0 / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.401e-05/0.3575, allocations: 22.81 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.3579, allocations: 281.9 kB / 327.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.3581, allocations: 47.22 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3582, allocations: 2.125 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.3583, allocations: 59.98 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.3583, allocations: 0 / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004504/0.3588, allocations: 106.2 kB / 328 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.3588, allocations: 57.69 kB / 328.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.359, allocations: 155.5 kB / 328.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.359, allocations: 28.06 kB / 328.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.3591, allocations: 156 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3591, allocations: 21.41 kB / 328.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.3592, allocations: 1.594 kB / 328.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.3592, allocations: 316.2 kB / 328.7 MB, free: 240 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.3593, allocations: 20.14 kB / 328.8 MB, free: 232 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.538e-05/0.3594, allocations: 20.78 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.3595, allocations: 51.34 kB / 328.8 MB, free: 180 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3595, allocations: 4 kB / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000228/0.3597, allocations: 111.8 kB / 328.9 MB, free: 92 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.3598, allocations: 33.72 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3598, allocations: 0 / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3598, allocations: 0 / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.3599, allocations: 10.22 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3599, allocations: 0 / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.36, allocations: 8.312 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.36, allocations: 2.125 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.000135/0.3602, allocations: 126.9 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3602, allocations: 8.594 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.3603, allocations: 13 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3603, allocations: 1.094 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3603, allocations: 1.875 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3603, allocations: 0.9375 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.3608, allocations: 335.3 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.3608, allocations: 4.125 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.3609, allocations: 5.75 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.3609, allocations: 6.562 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3609, allocations: 5.094 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3609, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.361, allocations: 1.094 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3612, allocations: 172 kB / 329.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3613, allocations: 84.33 kB / 329.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.3613, allocations: 5.984 kB / 329.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.3614, allocations: 3.094 kB / 329.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3615, allocations: 10.7 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3615, allocations: 2.828 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3616, allocations: 124.2 kB / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3616, allocations: 0 / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.362, allocations: 25.19 kB / 329.9 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.0009516/0.363, allocations: 344.4 kB / 330.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3632, allocations: 105.3 kB / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3632, allocations: 0 / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.3633, allocations: 16.73 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.0002941/0.3636, allocations: 19.64 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.000528/0.3641, allocations: 211.3 kB / 330.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3645, allocations: 0.7037 MB / 331.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.3646, allocations: 14.61 kB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3646, allocations: 0 / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Templates: time 0.005258/0.3698, allocations: 1.632 MB / 332.9 MB, free: 13.86 MB / 282.7 MB