Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.045/2.045, allocations: 209.3 MB / 224.4 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.203e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3696, allocations: 48.71 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00243/0.3721, allocations: 1.308 MB / 326.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.3731, allocations: 397.6 kB / 326.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.3732, allocations: 4.188 kB / 326.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3734, allocations: 20.8 kB / 326.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.3736, allocations: 26.02 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.3738, allocations: 51.86 kB / 326.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3739, allocations: 37.33 kB / 326.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.374, allocations: 3.125 kB / 326.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.3741, allocations: 28.52 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.3742, allocations: 20.73 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.3744, allocations: 32.72 kB / 326.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.3744, allocations: 3.844 kB / 326.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.3745, allocations: 15.36 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3745, allocations: 4.406 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3748, allocations: 77.12 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3748, allocations: 0 / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3748, allocations: 1.031 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3748, allocations: 0 / 326.9 MB, free: 2.062 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.000496/0.3753, allocations: 398.8 kB / 327.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3754, allocations: 8.938 kB / 327.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.3755, allocations: 7.562 kB / 327.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3757, allocations: 196.9 kB / 327.5 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3757, allocations: 5.281 kB / 327.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3758, allocations: 6.812 kB / 327.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3759, allocations: 45.38 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.376, allocations: 0 / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.376, allocations: 1.984 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.376, allocations: 4 kB / 327.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.3761, allocations: 13.64 kB / 327.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.3765, allocations: 284.2 kB / 327.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.3767, allocations: 43.23 kB / 327.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3768, allocations: 1.219 kB / 327.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.3769, allocations: 59.42 kB / 327.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.3769, allocations: 0 / 327.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005136/0.3775, allocations: 120.2 kB / 328 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3775, allocations: 52.81 kB / 328.1 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3777, allocations: 156.8 kB / 328.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3778, allocations: 26.95 kB / 328.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3778, allocations: 161.5 kB / 328.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3779, allocations: 20.88 kB / 328.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.3779, allocations: 0 / 328.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.378, allocations: 322.4 kB / 328.8 MB, free: 256 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.378, allocations: 20.12 kB / 328.8 MB, free: 248 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.3781, allocations: 14.67 kB / 328.8 MB, free: 244 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.3782, allocations: 55.39 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3782, allocations: 0 / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002326/0.3785, allocations: 108.8 kB / 329 MB, free: 116 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.3785, allocations: 33.36 kB / 329 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3785, allocations: 2.328 kB / 329 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3786, allocations: 0 / 329 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.3787, allocations: 17.8 kB / 329 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3787, allocations: 0 / 329 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.3788, allocations: 3.953 kB / 329 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3788, allocations: 6.844 kB / 329 MB, free: 72 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.0001662/0.379, allocations: 127.8 kB / 329.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.379, allocations: 11.75 kB / 329.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.3791, allocations: 17.98 kB / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3791, allocations: 1.062 kB / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3791, allocations: 0 / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3791, allocations: 4.844 kB / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.3796, allocations: 341.9 kB / 329.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3797, allocations: 0 / 329.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.3797, allocations: 6.766 kB / 329.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3798, allocations: 0 / 329.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3798, allocations: 5.828 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3798, allocations: 1.281 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3798, allocations: 0.6562 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.38, allocations: 171.9 kB / 329.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.3801, allocations: 84.48 kB / 329.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3802, allocations: 6.094 kB / 329.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.514e-05/0.3803, allocations: 2.875 kB / 329.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.3803, allocations: 3.25 kB / 329.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.3804, allocations: 7.109 kB / 329.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3805, allocations: 126.9 kB / 329.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3805, allocations: 1.031 kB / 329.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.3809, allocations: 31.81 kB / 330 MB, free: 15.24 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.0009933/0.3819, allocations: 341.2 kB / 330.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.3822, allocations: 102.1 kB / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3822, allocations: 0 / 330.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.3823, allocations: 19.67 kB / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3827, allocations: 18.95 kB / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.3832, allocations: 222.9 kB / 330.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3836, allocations: 0.7055 MB / 331.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.3837, allocations: 14.86 kB / 331.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3837, allocations: 0 / 331.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of Templates: time 0.005467/0.3892, allocations: 1.666 MB / 333 MB, free: 13.86 MB / 282.7 MB