Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 1.967/1.967, allocations: 209.3 MB / 224.4 MB, free: 0.6523 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.218e-05, allocations: 7.281 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.377, allocations: 48.7 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002823/0.3799, allocations: 1.307 MB / 326.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3811, allocations: 403.2 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.3813, allocations: 3.938 kB / 326.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3816, allocations: 19.66 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3818, allocations: 25.34 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.3821, allocations: 50.28 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3822, allocations: 39.27 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.3823, allocations: 7.812 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.3825, allocations: 25.38 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.3826, allocations: 19.39 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3828, allocations: 29.28 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3828, allocations: 8.281 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.3829, allocations: 20.19 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.3829, allocations: 3.5 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3832, allocations: 76.03 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3832, allocations: 1.188 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.3833, allocations: 0 / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3833, allocations: 0 / 326.9 MB, free: 2.051 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.0005636/0.3839, allocations: 407.8 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3839, allocations: 9.469 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.384, allocations: 10.67 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3843, allocations: 201.2 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3843, allocations: 5.047 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.3844, allocations: 2.531 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3846, allocations: 43.55 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3846, allocations: 3.938 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3846, allocations: 2.047 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.3846, allocations: 0 / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.3847, allocations: 17.73 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3852, allocations: 285.2 kB / 327.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.3855, allocations: 38.45 kB / 327.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3855, allocations: 2.156 kB / 327.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3857, allocations: 59.39 kB / 327.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.3857, allocations: 1.125 kB / 327.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005871/0.3863, allocations: 115.4 kB / 328.1 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3864, allocations: 56.06 kB / 328.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.3867, allocations: 170 kB / 328.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3868, allocations: 31.41 kB / 328.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.3868, allocations: 169.4 kB / 328.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.3869, allocations: 12.41 kB / 328.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-06/0.3869, allocations: 1.25 kB / 328.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.387, allocations: 325.2 kB / 328.8 MB, free: 228 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.3871, allocations: 18.78 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.3872, allocations: 21.56 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.3873, allocations: 45.61 kB / 328.9 MB, free: 172 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3873, allocations: 0 / 328.9 MB, free: 172 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003095/0.3876, allocations: 118.3 kB / 329 MB, free: 84 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3877, allocations: 37.47 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3877, allocations: 0 / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3878, allocations: 1.062 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3879, allocations: 9.516 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3879, allocations: 4 kB / 329 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.388, allocations: 3.062 kB / 329.1 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.388, allocations: 4.094 kB / 329.1 MB, free: 44 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.0001908/0.3882, allocations: 125 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.3883, allocations: 9.469 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.3884, allocations: 14.08 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3884, allocations: 1.062 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3884, allocations: 0 / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.3884, allocations: 6.672 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.3891, allocations: 342.2 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3891, allocations: 4.062 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.3892, allocations: 10.17 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3892, allocations: 0 / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3892, allocations: 1.609 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3892, allocations: 2.078 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3893, allocations: 3.938 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3896, allocations: 176.3 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.3897, allocations: 84.61 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.3897, allocations: 1.156 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3899, allocations: 7.062 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3899, allocations: 3.875 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.39, allocations: 3.156 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.3902, allocations: 138.7 kB / 330 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3902, allocations: 0 / 330 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000617/0.3908, allocations: 27.98 kB / 330 MB, free: 15.21 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.001292/0.3922, allocations: 344.5 kB / 330.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.3925, allocations: 103 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3925, allocations: 0 / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.3926, allocations: 21.05 kB / 330.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.393, allocations: 18.8 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.3938, allocations: 233.1 kB / 330.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.3944, allocations: 0.7 MB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.3945, allocations: 18.94 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3945, allocations: 0 / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.006964/0.4015, allocations: 1.687 MB / 333.1 MB, free: 13.83 MB / 282.7 MB