Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.069e-05/7.124e-05, allocations: 12 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.564, allocations: 89.53 MB / 499.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/0.5645, allocations: 75.95 kB / 499.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04807/0.6126, allocations: 8.342 MB / 0.4963 GB, free: 6.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.137e-06/0.6126, allocations: 0 / 0.4963 GB, free: 6.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.6127, allocations: 4 kB / 0.4963 GB, free: 6.164 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007908/0.6135, allocations: 0.5105 MB / 0.4968 GB, free: 5.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6135, allocations: 12.03 kB / 0.4968 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.6136, allocations: 27.62 kB / 0.4969 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.6142, allocations: 303.8 kB / 0.4972 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.6143, allocations: 7.984 kB / 0.4972 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.6143, allocations: 15.98 kB / 0.4972 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.6146, allocations: 104 kB / 0.4973 GB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.6146, allocations: 8 kB / 0.4973 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6147, allocations: 0 / 0.4973 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.93e-06/0.6147, allocations: 4 kB / 0.4973 GB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.6148, allocations: 43.92 kB / 0.4973 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.6156, allocations: 0.4967 MB / 0.4978 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.6161, allocations: 117.2 kB / 0.4979 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.6162, allocations: 45.83 kB / 0.498 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6162, allocations: 4 kB / 0.498 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.6165, allocations: 113.2 kB / 0.4981 GB, free: 4.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.872e-06/0.6165, allocations: 3.938 kB / 0.4981 GB, free: 4.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001256/0.6178, allocations: 448.4 kB / 0.4985 GB, free: 3.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.6179, allocations: 81.11 kB / 0.4986 GB, free: 3.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000733/0.6186, allocations: 435.5 kB / 0.499 GB, free: 3.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.6187, allocations: 33.7 kB / 0.499 GB, free: 3.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.6188, allocations: 160.5 kB / 0.4992 GB, free: 2.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.6189, allocations: 75 kB / 0.4993 GB, free: 2.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.619, allocations: 8 kB / 0.4993 GB, free: 2.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.6192, allocations: 338.8 kB / 0.4996 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.6193, allocations: 61.23 kB / 0.4997 GB, free: 2.508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.6195, allocations: 92.89 kB / 0.4997 GB, free: 2.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.6197, allocations: 64.14 kB / 0.4998 GB, free: 2.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-06/0.6197, allocations: 0 / 0.4998 GB, free: 2.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005156/0.6202, allocations: 225.2 kB / 0.5 GB, free: 2.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6203, allocations: 11.94 kB / 0.5 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.996e-06/0.6203, allocations: 0 / 0.5 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.6203, allocations: 4 kB / 0.5 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.6206, allocations: 43.92 kB / 0.5001 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6206, allocations: 4 kB / 0.5001 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6207, allocations: 7.984 kB / 0.5001 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6208, allocations: 12 kB / 0.5001 GB, free: 2.035 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001176/0.6209, allocations: 117 kB / 0.5002 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.621, allocations: 39.53 kB / 0.5003 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.6217, allocations: 268.4 kB / 0.5005 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.6217, allocations: 0 / 0.5005 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.6217, allocations: 4 kB / 0.5005 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.6217, allocations: 3.984 kB / 0.5005 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.6231, allocations: 0.8014 MB / 0.5013 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.688e-06/0.6232, allocations: 4 kB / 0.5013 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.6233, allocations: 31.92 kB / 0.5013 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.913e-06/0.6234, allocations: 4 kB / 0.5013 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.6234, allocations: 8 kB / 0.5013 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.6234, allocations: 12.06 kB / 0.5014 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.951e-06/0.6234, allocations: 0 / 0.5014 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.6241, allocations: 0.4891 MB / 0.5018 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6243, allocations: 128.8 kB / 0.502 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.6244, allocations: 11.98 kB / 0.502 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.6246, allocations: 8 kB / 0.502 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.6247, allocations: 23.97 kB / 0.502 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.6248, allocations: 12 kB / 0.502 GB, free: 15.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005435/0.6253, allocations: 350.1 kB / 0.5023 GB, free: 15.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.06e-07/0.6253, allocations: 0 / 0.5023 GB, free: 15.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005568/0.6259, allocations: 71.98 kB / 0.5024 GB, free: 15.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001813/0.6277, allocations: 0.514 MB / 0.5029 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.6282, allocations: 155.7 kB / 0.5031 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.261e-06/0.6282, allocations: 0 / 0.5031 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.6284, allocations: 88.11 kB / 0.5031 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.6289, allocations: 54.83 kB / 0.5032 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.6301, allocations: 491 kB / 0.5037 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.6306, allocations: 0.7912 MB / 0.5044 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.6309, allocations: 46.06 kB / 0.5045 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.631, allocations: 39.36 kB / 0.5045 GB, free: 13.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.524e-06/0.631, allocations: 0 / 0.5045 GB, free: 13.44 MB / 426.7 MB Notification: Performance of Templates: time 0.01013/0.6411, allocations: 3.362 MB / 0.5078 GB, free: 10.1 MB / 426.7 MB