Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.88e-05, allocations: 15.92 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3487, allocations: 48.69 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002411/0.3511, allocations: 1.308 MB / 326.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009316/0.3521, allocations: 401.4 kB / 326.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.3522, allocations: 8.906 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3525, allocations: 67.84 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.3527, allocations: 49.17 kB / 326.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3529, allocations: 50.59 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3531, allocations: 43.12 kB / 326.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.3532, allocations: 6.484 kB / 326.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.3533, allocations: 35.53 kB / 326.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3534, allocations: 35.17 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3535, allocations: 29.59 kB / 326.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3536, allocations: 2.938 kB / 326.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.3536, allocations: 26.41 kB / 326.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.3537, allocations: 3.625 kB / 326.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3539, allocations: 87.33 kB / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3539, allocations: 1.094 kB / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3539, allocations: 0 / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.354, allocations: 0 / 327 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.0004819/0.3544, allocations: 402.7 kB / 327.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3545, allocations: 8.312 kB / 327.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.3546, allocations: 12.81 kB / 327.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3548, allocations: 194.3 kB / 327.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3548, allocations: 13.23 kB / 327.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3548, allocations: 2.719 kB / 327.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.355, allocations: 43.42 kB / 327.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.355, allocations: 1.031 kB / 327.7 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.355, allocations: 7.875 kB / 327.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.355, allocations: 1.094 kB / 327.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.3551, allocations: 13.77 kB / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.3555, allocations: 278.7 kB / 327.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3557, allocations: 47.36 kB / 328 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3558, allocations: 0 / 328 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.3559, allocations: 64.25 kB / 328.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.3559, allocations: 0 / 328.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004616/0.3564, allocations: 118.2 kB / 328.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3564, allocations: 52.53 kB / 328.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3567, allocations: 193 kB / 328.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3567, allocations: 30.89 kB / 328.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.3568, allocations: 166.1 kB / 328.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.3568, allocations: 12.59 kB / 328.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.3568, allocations: 0 / 328.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.3569, allocations: 322.3 kB / 328.9 MB, free: 216 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.357, allocations: 15.3 kB / 328.9 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.3571, allocations: 23.45 kB / 329 MB, free: 200 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.3571, allocations: 47.89 kB / 329 MB, free: 160 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3572, allocations: 4 kB / 329 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002221/0.3574, allocations: 116.9 kB / 329.1 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.3574, allocations: 36.22 kB / 329.2 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3575, allocations: 1.719 kB / 329.2 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3575, allocations: 0 / 329.2 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.3576, allocations: 13.45 kB / 329.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3576, allocations: 1.094 kB / 329.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.3577, allocations: 2.922 kB / 329.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3577, allocations: 4.297 kB / 329.2 MB, free: 32 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.0001582/0.3578, allocations: 138.7 kB / 329.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3579, allocations: 9 kB / 329.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.358, allocations: 16.12 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.358, allocations: 1.219 kB / 329.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.358, allocations: 0 / 329.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.358, allocations: 2.828 kB / 329.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.3585, allocations: 341 kB / 329.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3585, allocations: 0.7812 kB / 329.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.3586, allocations: 13.88 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3586, allocations: 4 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3586, allocations: 1.922 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3586, allocations: 5.062 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3586, allocations: 0.8438 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.3589, allocations: 172 kB / 329.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.3589, allocations: 86.38 kB / 330 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.359, allocations: 5.219 kB / 330 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.3591, allocations: 6 kB / 330 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3591, allocations: 8.5 kB / 330 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3592, allocations: 2.844 kB / 330 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3594, allocations: 161.1 kB / 330.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3594, allocations: 0 / 330.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.3598, allocations: 32.31 kB / 330.2 MB, free: 15.18 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.0009459/0.3607, allocations: 333.2 kB / 330.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.361, allocations: 107.2 kB / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.361, allocations: 0 / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.3611, allocations: 16.86 kB / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3614, allocations: 25.41 kB / 330.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.362, allocations: 262.9 kB / 330.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3624, allocations: 0.7072 MB / 331.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.3624, allocations: 14.56 kB / 331.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3625, allocations: 1.5 kB / 331.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Templates: time 0.005424/0.3679, allocations: 1.723 MB / 333.3 MB, free: 13.79 MB / 282.7 MB