Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.087e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3456, allocations: 48.69 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002316/0.348, allocations: 1.306 MB / 326.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.3489, allocations: 404.3 kB / 326.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.349, allocations: 1.062 kB / 326.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.3493, allocations: 66.5 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3495, allocations: 54.66 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.3497, allocations: 53.14 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.3498, allocations: 37.22 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.3499, allocations: 8.062 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.35, allocations: 27.33 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3501, allocations: 35.47 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.3503, allocations: 29.17 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3503, allocations: 3.5 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.3503, allocations: 17.91 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.3504, allocations: 7.375 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.3506, allocations: 85.41 kB / 327 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3506, allocations: 0 / 327 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3506, allocations: 0 / 327 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3506, allocations: 0 / 327 MB, free: 2.023 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.0004379/0.3511, allocations: 405.2 kB / 327.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3511, allocations: 10.03 kB / 327.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.3512, allocations: 8.75 kB / 327.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3514, allocations: 200.2 kB / 327.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3514, allocations: 15.05 kB / 327.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3515, allocations: 2.344 kB / 327.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3516, allocations: 43.55 kB / 327.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3516, allocations: 1.344 kB / 327.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3516, allocations: 0 / 327.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3517, allocations: 1.922 kB / 327.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.3517, allocations: 16.84 kB / 327.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.3521, allocations: 276.5 kB / 327.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3523, allocations: 51.77 kB / 328 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3524, allocations: 1.438 kB / 328 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.3525, allocations: 59.64 kB / 328 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.3525, allocations: 0 / 328 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004247/0.3529, allocations: 119.1 kB / 328.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.353, allocations: 53.52 kB / 328.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3532, allocations: 186.2 kB / 328.4 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3532, allocations: 26.73 kB / 328.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.3533, allocations: 160.8 kB / 328.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3533, allocations: 16.61 kB / 328.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.3534, allocations: 1.125 kB / 328.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.3534, allocations: 321.7 kB / 328.9 MB, free: 200 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.3535, allocations: 15.56 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.3536, allocations: 23.64 kB / 328.9 MB, free: 184 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.485e-05/0.3536, allocations: 53.98 kB / 329 MB, free: 136 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3537, allocations: 1.312 kB / 329 MB, free: 136 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002042/0.3539, allocations: 108.6 kB / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.3539, allocations: 36.19 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3539, allocations: 2.234 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.354, allocations: 0 / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.354, allocations: 17.2 kB / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.354, allocations: 0 / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.3541, allocations: 3.453 kB / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3541, allocations: 3.438 kB / 329.2 MB, free: 16 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.0001555/0.3543, allocations: 131.6 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3543, allocations: 11.41 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.3544, allocations: 15.95 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3544, allocations: 0.5156 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3544, allocations: 1.938 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3544, allocations: 0.7969 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3549, allocations: 345 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3549, allocations: 4.688 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.355, allocations: 10.03 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.355, allocations: 0.6094 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.355, allocations: 5.781 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.355, allocations: 1.281 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.355, allocations: 0 / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3552, allocations: 168.3 kB / 329.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.3553, allocations: 84.89 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3553, allocations: 1.984 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.3554, allocations: 11.39 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3555, allocations: 4 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3555, allocations: 6.031 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3557, allocations: 144.9 kB / 330.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3557, allocations: 5 kB / 330.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.3561, allocations: 32.48 kB / 330.1 MB, free: 15.17 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.000935/0.357, allocations: 333.3 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3573, allocations: 102.6 kB / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3573, allocations: 1.031 kB / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.3574, allocations: 18.89 kB / 330.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3577, allocations: 23.53 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.0005394/0.3582, allocations: 246.9 kB / 330.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3585, allocations: 0.7027 MB / 331.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.3586, allocations: 18.92 kB / 331.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3586, allocations: 0 / 331.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Templates: time 0.005082/0.3637, allocations: 1.707 MB / 333.3 MB, free: 13.79 MB / 282.7 MB