Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.2 MB / 224.4 MB, free: 0.8555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.293e-05, allocations: 4 kB / 276.2 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3438, allocations: 48.7 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002415/0.3463, allocations: 1.306 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.3474, allocations: 401.8 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3475, allocations: 1.125 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3477, allocations: 20.86 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3479, allocations: 20.2 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3481, allocations: 49.16 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3482, allocations: 43.59 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.3483, allocations: 7.891 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.3484, allocations: 20.52 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.3485, allocations: 19.86 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3486, allocations: 29.59 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.3487, allocations: 4.312 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.3487, allocations: 15.36 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.3488, allocations: 3.375 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.349, allocations: 73.09 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.349, allocations: 1.531 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.349, allocations: 4 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.349, allocations: 0 / 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.0005003/0.3495, allocations: 391.2 kB / 327.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3496, allocations: 8.375 kB / 327.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3497, allocations: 9.328 kB / 327.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3499, allocations: 188 kB / 327.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3499, allocations: 5.016 kB / 327.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.3499, allocations: 6.156 kB / 327.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3501, allocations: 48.28 kB / 327.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3501, allocations: 7.875 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3501, allocations: 5.25 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3502, allocations: 0 / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.3502, allocations: 13.55 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.3506, allocations: 277.1 kB / 327.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3508, allocations: 41.59 kB / 327.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3509, allocations: 5.781 kB / 327.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.351, allocations: 56.12 kB / 327.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.351, allocations: 0 / 327.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004618/0.3515, allocations: 115.4 kB / 328 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.3516, allocations: 52.75 kB / 328.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3517, allocations: 134.3 kB / 328.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3518, allocations: 28.84 kB / 328.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3518, allocations: 159.7 kB / 328.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3519, allocations: 19.52 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-06/0.3519, allocations: 4 kB / 328.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.3519, allocations: 316.8 kB / 328.7 MB, free: 252 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.352, allocations: 20.27 kB / 328.7 MB, free: 244 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.3521, allocations: 15.5 kB / 328.7 MB, free: 240 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.3522, allocations: 47.53 kB / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3522, allocations: 0 / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002264/0.3524, allocations: 120.6 kB / 328.9 MB, free: 108 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.3525, allocations: 36.7 kB / 328.9 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3525, allocations: 2.266 kB / 328.9 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3525, allocations: 0 / 328.9 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.3526, allocations: 8.734 kB / 329 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3526, allocations: 1.094 kB / 329 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.3527, allocations: 7.156 kB / 329 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3527, allocations: 3.312 kB / 329 MB, free: 68 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.0001308/0.3529, allocations: 133.6 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.3529, allocations: 4.781 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.353, allocations: 12.88 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.353, allocations: 1.469 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.353, allocations: 0 / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.353, allocations: 0.75 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.3535, allocations: 333.1 kB / 329.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3535, allocations: 1.453 kB / 329.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.3536, allocations: 10.03 kB / 329.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3536, allocations: 0 / 329.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3536, allocations: 10.88 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3536, allocations: 5.156 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3537, allocations: 0 / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3539, allocations: 166.9 kB / 329.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.354, allocations: 82.36 kB / 329.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.354, allocations: 1.938 kB / 329.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.3541, allocations: 1.891 kB / 329.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3542, allocations: 5.141 kB / 329.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3542, allocations: 10.77 kB / 329.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3543, allocations: 112.4 kB / 329.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3544, allocations: 1.188 kB / 329.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.3547, allocations: 24.27 kB / 329.9 MB, free: 15.25 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.000957/0.3557, allocations: 341.9 kB / 330.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.3559, allocations: 114.8 kB / 330.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.356, allocations: 0 / 330.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/0.356, allocations: 15.36 kB / 330.3 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.0003085/0.3564, allocations: 20.62 kB / 330.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.3569, allocations: 203.7 kB / 330.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3572, allocations: 0.6946 MB / 331.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3573, allocations: 18.31 kB / 331.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3573, allocations: 0 / 331.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of Templates: time 0.005147/0.3625, allocations: 1.609 MB / 332.9 MB, free: 13.89 MB / 282.7 MB