Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.2 MB / 224.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.347e-05, allocations: 4 kB / 276.1 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3482, allocations: 48.69 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00248/0.3508, allocations: 1.313 MB / 326.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.3518, allocations: 402.1 kB / 326.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.3519, allocations: 0 / 326.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3522, allocations: 18.19 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3524, allocations: 31.03 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.3526, allocations: 51.16 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3527, allocations: 43.8 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.3528, allocations: 4.234 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.3529, allocations: 24.17 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.353, allocations: 30.11 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3532, allocations: 29.52 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3532, allocations: 7.281 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.3533, allocations: 17.84 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3533, allocations: 3.438 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3535, allocations: 85.64 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3536, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3536, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3536, allocations: 1.156 kB / 326.9 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.0005234/0.3541, allocations: 406.7 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3542, allocations: 8.406 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.3543, allocations: 8.594 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.3545, allocations: 199.6 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3545, allocations: 5.141 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.3546, allocations: 2.875 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3547, allocations: 45.33 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3548, allocations: 7.875 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3548, allocations: 0.5156 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3548, allocations: 0.9688 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.3549, allocations: 19.11 kB / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.3553, allocations: 280.9 kB / 327.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3556, allocations: 38.25 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3556, allocations: 9.562 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.3558, allocations: 64.22 kB / 328 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.856e-06/0.3558, allocations: 0 / 328 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005135/0.3563, allocations: 118.6 kB / 328.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.3564, allocations: 57.59 kB / 328.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3566, allocations: 188.2 kB / 328.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3567, allocations: 27.17 kB / 328.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.3568, allocations: 170.6 kB / 328.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3568, allocations: 7.031 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.3568, allocations: 1.531 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.3569, allocations: 324.5 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.357, allocations: 16.39 kB / 328.9 MB, free: 208 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.357, allocations: 20.62 kB / 328.9 MB, free: 200 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.3571, allocations: 49.81 kB / 328.9 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3572, allocations: 0 / 328.9 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000253/0.3574, allocations: 116.3 kB / 329 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.3575, allocations: 38.88 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3575, allocations: 0 / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.3575, allocations: 1.156 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.3576, allocations: 12.14 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3576, allocations: 2.25 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3578, allocations: 2.219 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.868e-05/0.3578, allocations: 8.078 kB / 329.1 MB, free: 24 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.0001913/0.358, allocations: 132.1 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.358, allocations: 12.59 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.3581, allocations: 12.17 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3581, allocations: 1.469 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3581, allocations: 0 / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3582, allocations: 4.516 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.3587, allocations: 342 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3587, allocations: 4.594 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.3588, allocations: 5.188 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.3588, allocations: 1.281 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3588, allocations: 6.547 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3589, allocations: 1.125 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3589, allocations: 0.6562 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3591, allocations: 176.3 kB / 329.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.3592, allocations: 90.19 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3592, allocations: 5.062 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3594, allocations: 2.266 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.3594, allocations: 4.281 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.3595, allocations: 3.562 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002298/0.3597, allocations: 160.6 kB / 330 MB, free: 15.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3597, allocations: 0 / 330 MB, free: 15.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000374/0.3601, allocations: 36.25 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.001045/0.3612, allocations: 340.1 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.3615, allocations: 105.8 kB / 330.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3615, allocations: 0 / 330.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.3616, allocations: 17.19 kB / 330.5 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.0003914/0.362, allocations: 21.69 kB / 330.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.3627, allocations: 262.9 kB / 330.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3632, allocations: 0.7119 MB / 331.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.3633, allocations: 19.12 kB / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of SimCode: time 1.833e-06/0.3633, allocations: 0 / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of Templates: time 0.006183/0.3695, allocations: 1.728 MB / 333.3 MB, free: 13.78 MB / 282.7 MB