Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.177e-05, allocations: 9.969 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5237, allocations: 89.27 MB / 499.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.524, allocations: 77.08 kB / 499.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.5474, allocations: 5.505 MB / 0.4933 GB, free: 9.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.5475, allocations: 4 kB / 0.4933 GB, free: 9.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.5475, allocations: 4 kB / 0.4933 GB, free: 9.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005447/0.5481, allocations: 386.3 kB / 0.4937 GB, free: 8.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5481, allocations: 12.03 kB / 0.4937 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.5482, allocations: 7.906 kB / 0.4937 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.5486, allocations: 214.8 kB / 0.4939 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5486, allocations: 3.953 kB / 0.4939 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5486, allocations: 7.906 kB / 0.4939 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.5488, allocations: 53.69 kB / 0.494 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5488, allocations: 3.984 kB / 0.494 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5488, allocations: 0 / 0.494 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.5489, allocations: 4 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.5489, allocations: 16 kB / 0.494 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.5494, allocations: 296.9 kB / 0.4943 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.5496, allocations: 54.62 kB / 0.4943 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.5497, allocations: 28.92 kB / 0.4944 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.5497, allocations: 0 / 0.4944 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.5499, allocations: 67.39 kB / 0.4944 GB, free: 7.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.591e-06/0.5499, allocations: 0 / 0.4944 GB, free: 7.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.5505, allocations: 153.2 kB / 0.4946 GB, free: 7.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.5506, allocations: 55.41 kB / 0.4946 GB, free: 7.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.5508, allocations: 172.5 kB / 0.4948 GB, free: 7.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5509, allocations: 29.7 kB / 0.4948 GB, free: 7.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.5509, allocations: 100.1 kB / 0.4949 GB, free: 7.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.551, allocations: 27.69 kB / 0.4949 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-06/0.551, allocations: 0 / 0.4949 GB, free: 7.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5512, allocations: 330.7 kB / 0.4952 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.5513, allocations: 16 kB / 0.4953 GB, free: 7.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.5514, allocations: 37.66 kB / 0.4953 GB, free: 7.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.147e-05/0.5515, allocations: 27.98 kB / 0.4953 GB, free: 6.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-06/0.5515, allocations: 0 / 0.4953 GB, free: 6.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/0.5517, allocations: 93.66 kB / 0.4954 GB, free: 6.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5517, allocations: 11.98 kB / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.627e-06/0.5518, allocations: 0 / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5518, allocations: 0 / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5519, allocations: 15.94 kB / 0.4954 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5519, allocations: 4 kB / 0.4954 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.552, allocations: 7.969 kB / 0.4955 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.5521, allocations: 7.984 kB / 0.4955 GB, free: 6.844 MB / 410.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.0001024/0.5522, allocations: 112.9 kB / 0.4956 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.5522, allocations: 11.81 kB / 0.4956 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.5525, allocations: 122.2 kB / 0.4957 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-06/0.5526, allocations: 0 / 0.4957 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-06/0.5526, allocations: 0 / 0.4957 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-06/0.5526, allocations: 0 / 0.4957 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.5532, allocations: 411.3 kB / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.5533, allocations: 0 / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.5533, allocations: 12 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.833e-06/0.5534, allocations: 0 / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5534, allocations: 0 / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.5534, allocations: 7.984 kB / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-06/0.5534, allocations: 3.938 kB / 0.4961 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.5537, allocations: 226.1 kB / 0.4963 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.5538, allocations: 85.02 kB / 0.4964 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5539, allocations: 4.094 kB / 0.4964 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.554, allocations: 11.92 kB / 0.4964 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.5541, allocations: 7.953 kB / 0.4964 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.5541, allocations: 7.984 kB / 0.4964 GB, free: 5.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.5543, allocations: 139.9 kB / 0.4966 GB, free: 5.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.5543, allocations: 4 kB / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.5547, allocations: 31.98 kB / 0.4966 GB, free: 5.562 MB / 410.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.001649/0.5564, allocations: 467.3 kB / 0.4971 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.5566, allocations: 51.94 kB / 0.4971 GB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.66e-06/0.5566, allocations: 0 / 0.4971 GB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.5567, allocations: 36.05 kB / 0.4971 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5571, allocations: 26.42 kB / 0.4972 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.5576, allocations: 166.3 kB / 0.4973 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.558, allocations: 0.7043 MB / 0.498 GB, free: 4.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.5581, allocations: 28.77 kB / 0.498 GB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.5582, allocations: 15.44 kB / 0.4981 GB, free: 4.152 MB / 410.7 MB Notification: Performance of SimCode: time 1.839e-06/0.5582, allocations: 0 / 0.4981 GB, free: 4.152 MB / 410.7 MB Notification: Performance of Templates: time 0.006064/0.5643, allocations: 1.677 MB / 0.4997 GB, free: 2.484 MB / 410.7 MB