Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.978e-05/4.993e-05, allocations: 8 kB / 348.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3769, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.5164, allocations: 89.28 MB / 499.6 MB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.5166, allocations: 79.89 kB / 499.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.5416, allocations: 5.563 MB / 0.4934 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.5416, allocations: 4 kB / 0.4934 GB, free: 11.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.5417, allocations: 0 / 0.4934 GB, free: 11.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005618/0.5422, allocations: 406 kB / 0.4938 GB, free: 11.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5423, allocations: 8.031 kB / 0.4938 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.5424, allocations: 15.91 kB / 0.4938 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.5428, allocations: 211.5 kB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.5428, allocations: 7.953 kB / 0.494 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5428, allocations: 4 kB / 0.494 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.543, allocations: 61.55 kB / 0.4941 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.543, allocations: 0 / 0.4941 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.543, allocations: 0 / 0.4941 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-06/0.5431, allocations: 0 / 0.4941 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.5431, allocations: 16 kB / 0.4941 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.5436, allocations: 304.9 kB / 0.4944 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.5438, allocations: 54.62 kB / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.5439, allocations: 24.98 kB / 0.4944 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.5439, allocations: 0 / 0.4944 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.5441, allocations: 67.39 kB / 0.4945 GB, free: 10.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.829e-06/0.5441, allocations: 4 kB / 0.4945 GB, free: 10.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.5447, allocations: 149.2 kB / 0.4947 GB, free: 10.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5448, allocations: 55.39 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.5451, allocations: 182.7 kB / 0.4949 GB, free: 9.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.5451, allocations: 25.7 kB / 0.4949 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.5452, allocations: 104.1 kB / 0.495 GB, free: 9.789 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.5452, allocations: 23.66 kB / 0.495 GB, free: 9.766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-05/0.5453, allocations: 4 kB / 0.495 GB, free: 9.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5454, allocations: 330.8 kB / 0.4953 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.5455, allocations: 23.98 kB / 0.4954 GB, free: 9.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.5456, allocations: 29.72 kB / 0.4954 GB, free: 9.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.5457, allocations: 20.06 kB / 0.4954 GB, free: 9.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5457, allocations: 0 / 0.4954 GB, free: 9.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002379/0.5459, allocations: 109.4 kB / 0.4955 GB, free: 9.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.546, allocations: 4 kB / 0.4955 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.913e-06/0.546, allocations: 4.031 kB / 0.4955 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.546, allocations: 0 / 0.4955 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5462, allocations: 27.92 kB / 0.4956 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.621e-06/0.5462, allocations: 0 / 0.4956 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/0.5463, allocations: 4 kB / 0.4956 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.5463, allocations: 0 / 0.4956 GB, free: 9.199 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001085/0.5464, allocations: 120 kB / 0.4957 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.5464, allocations: 7.906 kB / 0.4957 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.5468, allocations: 131.1 kB / 0.4958 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.082e-06/0.5468, allocations: 4 kB / 0.4958 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5468, allocations: 0 / 0.4958 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.891e-06/0.5468, allocations: 3.984 kB / 0.4958 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.5475, allocations: 407.3 kB / 0.4962 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-06/0.5475, allocations: 3.938 kB / 0.4962 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.5476, allocations: 12 kB / 0.4962 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.601e-06/0.5476, allocations: 0 / 0.4962 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5476, allocations: 0 / 0.4962 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.337e-06/0.5476, allocations: 8.031 kB / 0.4962 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.397e-06/0.5476, allocations: 3.984 kB / 0.4962 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.548, allocations: 217.9 kB / 0.4964 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.5481, allocations: 88.92 kB / 0.4965 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.5481, allocations: 8 kB / 0.4965 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5483, allocations: 8.172 kB / 0.4965 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.5483, allocations: 7.953 kB / 0.4965 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.5483, allocations: 8 kB / 0.4966 GB, free: 8.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.5486, allocations: 155.5 kB / 0.4967 GB, free: 7.922 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.5486, allocations: 0 / 0.4967 GB, free: 7.922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000393/0.549, allocations: 39.92 kB / 0.4967 GB, free: 7.883 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001628/0.5506, allocations: 456.9 kB / 0.4972 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.5508, allocations: 55.94 kB / 0.4972 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.984e-06/0.5509, allocations: 0 / 0.4972 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.5509, allocations: 35.92 kB / 0.4973 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.5513, allocations: 26.97 kB / 0.4973 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.5518, allocations: 182.4 kB / 0.4975 GB, free: 7.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5523, allocations: 0.7123 MB / 0.4982 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.95e-05/0.5524, allocations: 20.7 kB / 0.4982 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.5524, allocations: 15.44 kB / 0.4982 GB, free: 6.492 MB / 426.7 MB Notification: Performance of SimCode: time 1.477e-06/0.5524, allocations: 0 / 0.4982 GB, free: 6.492 MB / 426.7 MB Notification: Performance of Templates: time 0.006276/0.5587, allocations: 1.699 MB / 0.4998 GB, free: 4.797 MB / 426.7 MB