Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.15e-05, allocations: 11.98 kB / 348.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4681, allocations: 89.1 MB / 499.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4684, allocations: 67.97 kB / 499.5 MB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02236/0.4908, allocations: 5.362 MB / 0.493 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.347e-06/0.4908, allocations: 0 / 0.493 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4909, allocations: 0 / 0.493 GB, free: 12.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005172/0.4914, allocations: 382.2 kB / 0.4934 GB, free: 11.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4914, allocations: 12.03 kB / 0.4934 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.4915, allocations: 11.84 kB / 0.4934 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4919, allocations: 207.8 kB / 0.4936 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4919, allocations: 3.938 kB / 0.4936 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.4919, allocations: 7.953 kB / 0.4936 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.4921, allocations: 49.67 kB / 0.4936 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-06/0.4921, allocations: 0 / 0.4936 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4921, allocations: 0 / 0.4936 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-06/0.4921, allocations: 0 / 0.4936 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.4922, allocations: 15.98 kB / 0.4936 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.4925, allocations: 181.7 kB / 0.4938 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4926, allocations: 50.62 kB / 0.4939 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.4927, allocations: 20.8 kB / 0.4939 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4927, allocations: 3.938 kB / 0.4939 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.4929, allocations: 71.34 kB / 0.494 GB, free: 10.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.9e-06/0.4929, allocations: 0 / 0.494 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002376/0.4931, allocations: 77.59 kB / 0.494 GB, free: 10.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.4932, allocations: 55.39 kB / 0.4941 GB, free: 10.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4935, allocations: 171.6 kB / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4935, allocations: 33.7 kB / 0.4943 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.4936, allocations: 96.14 kB / 0.4944 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.4936, allocations: 11.83 kB / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.4937, allocations: 8 kB / 0.4944 GB, free: 10.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4938, allocations: 318.8 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.4939, allocations: 15.94 kB / 0.4947 GB, free: 10.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.494, allocations: 25.72 kB / 0.4947 GB, free: 10.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.494, allocations: 24.05 kB / 0.4948 GB, free: 10.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-06/0.4941, allocations: 0 / 0.4948 GB, free: 10.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001929/0.4943, allocations: 77.5 kB / 0.4948 GB, free: 9.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4943, allocations: 11.95 kB / 0.4948 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-06/0.4943, allocations: 0 / 0.4948 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4943, allocations: 0 / 0.4948 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4944, allocations: 15.92 kB / 0.4949 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4945, allocations: 4 kB / 0.4949 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.4945, allocations: 8.031 kB / 0.4949 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4946, allocations: 4 kB / 0.4949 GB, free: 9.914 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 (7): * Single equations (assignments): 7 * 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 9.174e-05/0.4947, allocations: 105 kB / 0.495 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.4947, allocations: 7.906 kB / 0.495 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.4949, allocations: 89.72 kB / 0.4951 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.768e-06/0.495, allocations: 3.984 kB / 0.4951 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.975e-06/0.495, allocations: 7.938 kB / 0.4951 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.934e-06/0.495, allocations: 0 / 0.4951 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.4952, allocations: 193.5 kB / 0.4953 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4952, allocations: 7.938 kB / 0.4953 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.4953, allocations: 4 kB / 0.4953 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.066e-06/0.4953, allocations: 0 / 0.4953 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.4953, allocations: 4 kB / 0.4953 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-06/0.4954, allocations: 7.953 kB / 0.4953 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.925e-06/0.4954, allocations: 0 / 0.4953 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.4956, allocations: 109 kB / 0.4954 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.4957, allocations: 96.94 kB / 0.4955 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.4957, allocations: 4.172 kB / 0.4955 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.4958, allocations: 12 kB / 0.4955 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.4959, allocations: 3.953 kB / 0.4955 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4959, allocations: 7.984 kB / 0.4955 GB, free: 9.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.4961, allocations: 138.3 kB / 0.4956 GB, free: 9.027 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.4961, allocations: 0 / 0.4956 GB, free: 9.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.4964, allocations: 24 kB / 0.4957 GB, free: 9.004 MB / 426.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: 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 (6): * Single equations (assignments): 4 * 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.001438/0.4979, allocations: 407.7 kB / 0.4961 GB, free: 8.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.498, allocations: 40 kB / 0.4961 GB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.342e-06/0.498, allocations: 0 / 0.4961 GB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.4981, allocations: 19.94 kB / 0.4961 GB, free: 8.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.4984, allocations: 31.08 kB / 0.4961 GB, free: 8.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.4988, allocations: 149.9 kB / 0.4963 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4992, allocations: 0.7004 MB / 0.497 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.4993, allocations: 20.41 kB / 0.497 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.4994, allocations: 11.44 kB / 0.497 GB, free: 7.719 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4994, allocations: 0 / 0.497 GB, free: 7.719 MB / 426.7 MB Notification: Performance of Templates: time 0.005425/0.5048, allocations: 1.457 MB / 0.4984 GB, free: 6.262 MB / 426.7 MB