Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.745/2.745, allocations: 270 MB / 283.6 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.424e-05, allocations: 8 kB / 348.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3318, allocations: 61.88 MB / 410.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5235, allocations: 89.12 MB / 499.4 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.5237, allocations: 75.97 kB / 499.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0267/0.5505, allocations: 6.59 MB / 0.4942 GB, free: 10.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.5505, allocations: 0 / 0.4942 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.5506, allocations: 8 kB / 0.4942 GB, free: 10.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008875/0.5515, allocations: 0.587 MB / 0.4948 GB, free: 10.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5515, allocations: 8.031 kB / 0.4948 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.5517, allocations: 47.44 kB / 0.4949 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.5527, allocations: 487 kB / 0.4953 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5527, allocations: 3.953 kB / 0.4953 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.5528, allocations: 7.938 kB / 0.4953 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.553, allocations: 79.38 kB / 0.4954 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.553, allocations: 3.984 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.553, allocations: 4 kB / 0.4954 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-06/0.553, allocations: 0 / 0.4954 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.5532, allocations: 27.98 kB / 0.4954 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.5537, allocations: 382.3 kB / 0.4958 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.554, allocations: 101.3 kB / 0.4959 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.5541, allocations: 37.8 kB / 0.4959 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.5541, allocations: 8 kB / 0.4959 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.5544, allocations: 104.9 kB / 0.496 GB, free: 8.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.719e-06/0.5544, allocations: 0 / 0.496 GB, free: 8.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004692/0.5549, allocations: 169 kB / 0.4962 GB, free: 8.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.555, allocations: 77.11 kB / 0.4963 GB, free: 8.332 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.5568, allocations: 0.9109 MB / 0.4972 GB, free: 7.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.5568, allocations: 29.7 kB / 0.4972 GB, free: 7.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.5571, allocations: 224.1 kB / 0.4974 GB, free: 7.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.5572, allocations: 31.62 kB / 0.4974 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.5572, allocations: 4 kB / 0.4974 GB, free: 7.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.5574, allocations: 366.8 kB / 0.4978 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.5575, allocations: 24 kB / 0.4978 GB, free: 6.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.5577, allocations: 55.42 kB / 0.4979 GB, free: 6.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.5578, allocations: 36.11 kB / 0.4979 GB, free: 6.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5578, allocations: 0 / 0.4979 GB, free: 6.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004044/0.5582, allocations: 164.9 kB / 0.4981 GB, free: 6.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5582, allocations: 11.94 kB / 0.4981 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-06/0.5582, allocations: 0 / 0.4981 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5583, allocations: 3.984 kB / 0.4981 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.5585, allocations: 24.06 kB / 0.4981 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.07e-06/0.5585, allocations: 0 / 0.4981 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.5587, allocations: 19.89 kB / 0.4981 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.5587, allocations: 4 kB / 0.4981 GB, free: 6.398 MB / 426.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001174/0.5588, allocations: 112.9 kB / 0.4982 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.559, allocations: 55.33 kB / 0.4983 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.5595, allocations: 185.5 kB / 0.4985 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-06/0.5595, allocations: 4 kB / 0.4985 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-06/0.5595, allocations: 4 kB / 0.4985 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-06/0.5595, allocations: 7.875 kB / 0.4985 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.5601, allocations: 385.2 kB / 0.4988 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-06/0.5601, allocations: 0 / 0.4988 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.5602, allocations: 12 kB / 0.4989 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.5602, allocations: 3.953 kB / 0.4989 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.5602, allocations: 8 kB / 0.4989 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.098e-06/0.5602, allocations: 256 / 0.4989 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-06/0.5602, allocations: 3.984 kB / 0.4989 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.5607, allocations: 219 kB / 0.4991 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.561, allocations: 196.4 kB / 0.4993 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.5611, allocations: 4 kB / 0.4993 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.5613, allocations: 4 kB / 0.4993 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.5614, allocations: 19.92 kB / 0.4993 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.5614, allocations: 7.938 kB / 0.4993 GB, free: 5.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.5627, allocations: 0.724 MB / 0.5 GB, free: 4.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.48e-07/0.5627, allocations: 0 / 0.5 GB, free: 4.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.5632, allocations: 87.92 kB / 0.5001 GB, free: 4.27 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001476/0.5647, allocations: 411.7 kB / 0.5005 GB, free: 3.992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.565, allocations: 75.92 kB / 0.5006 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.565, allocations: 0 / 0.5006 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5652, allocations: 39.94 kB / 0.5006 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.5657, allocations: 65.98 kB / 0.5007 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5674, allocations: 0.7521 MB / 0.5014 GB, free: 3.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.568, allocations: 0.8546 MB / 0.5022 GB, free: 2.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.5683, allocations: 82.95 kB / 0.5023 GB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.5684, allocations: 43.42 kB / 0.5023 GB, free: 2.035 MB / 426.7 MB Notification: Performance of SimCode: time 1.56e-06/0.5685, allocations: 0 / 0.5023 GB, free: 2.035 MB / 426.7 MB Notification: Performance of Templates: time 0.01391/0.5824, allocations: 4.494 MB / 0.5067 GB, free: 13.55 MB / 442.7 MB