Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.688e-05, allocations: 6.031 kB / 292.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09026, allocations: 50.42 MB / 343.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4569, allocations: 83.54 MB / 426.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4571, allocations: 74.55 kB / 426.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/0.5592, allocations: 33.09 MB / 459.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5592, allocations: 0 / 459.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.5593, allocations: 12 kB / 459.8 MB, free: 14.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001899/0.5612, allocations: 1.295 MB / 461.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5612, allocations: 12.03 kB / 461.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.5615, allocations: 130.4 kB / 461.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5625, allocations: 0.5129 MB / 461.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.5626, allocations: 27.95 kB / 461.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5628, allocations: 28 kB / 461.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5641, allocations: 0.6221 MB / 462.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5641, allocations: 0 / 462.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.5642, allocations: 19.92 kB / 462.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.144e-06/0.5642, allocations: 4 kB / 462.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/0.5652, allocations: 455.8 kB / 462.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.5677, allocations: 1.088 MB / 464 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.5689, allocations: 0.6859 MB / 464.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.5701, allocations: 0.6767 MB / 465.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5702, allocations: 0 / 465.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.5716, allocations: 0.7632 MB / 466.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 5.108e-06/0.5716, allocations: 0 / 466.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002861/0.5745, allocations: 1.411 MB / 467.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002859/0.5748, allocations: 329 kB / 467.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/0.5785, allocations: 1.598 MB / 469.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.5787, allocations: 45.7 kB / 469.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.5791, allocations: 234.4 kB / 469.7 MB, free: 3.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.5793, allocations: 91.17 kB / 469.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.5794, allocations: 11.98 kB / 469.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.5797, allocations: 382.7 kB / 470.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009189/0.5806, allocations: 448 kB / 470.6 MB, free: 2.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008826/0.5815, allocations: 455.9 kB / 471.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/0.5825, allocations: 0.5795 MB / 471.6 MB, free: 1.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-06/0.5825, allocations: 0 / 471.6 MB, free: 1.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002599/0.5851, allocations: 1.347 MB / 473 MB, free: 424 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.5854, allocations: 293.5 kB / 473.3 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-06/0.5855, allocations: 4 kB / 473.3 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5855, allocations: 4 kB / 473.3 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.5855, allocations: 11.89 kB / 473.3 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.803e-06/0.5856, allocations: 4 kB / 473.3 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.5861, allocations: 39.88 kB / 473.3 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.5864, allocations: 152.2 kB / 473.5 MB, free: 15.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0006174/0.587, allocations: 466.4 kB / 473.9 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.5873, allocations: 130.5 kB / 474.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.5881, allocations: 255.7 kB / 474.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-06/0.5881, allocations: 0 / 474.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.5882, allocations: 11.94 kB / 474.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.181e-06/0.5882, allocations: 0 / 474.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/0.5929, allocations: 2.392 MB / 476.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.595e-06/0.5929, allocations: 0 / 476.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.593, allocations: 0 / 476.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.593, allocations: 4 kB / 476.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.5931, allocations: 39.97 kB / 476.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5931, allocations: 3.953 kB / 476.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.5931, allocations: 0 / 476.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.5962, allocations: 1.618 MB / 478.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/0.5979, allocations: 0.6786 MB / 479.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.5982, allocations: 63.95 kB / 479.1 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.5988, allocations: 47.75 kB / 479.2 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/0.5996, allocations: 363.6 kB / 479.5 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/0.5999, allocations: 155.9 kB / 479.7 MB, free: 9.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002951/0.6028, allocations: 1.323 MB / 481 MB, free: 8.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6029, allocations: 0 / 481 MB, free: 8.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008338/0.6037, allocations: 152 kB / 481.2 MB, free: 7.93 MB / 394.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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 Backend phase and start with SimCode phase: time 0.0003616/0.6041, allocations: 189.7 kB / 481.3 MB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.6071, allocations: 1.909 MB / 483.3 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6071, allocations: 0 / 483.3 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.609, allocations: 1.386 MB / 484.6 MB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.6105, allocations: 316.6 kB / 485 MB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.6158, allocations: 2.457 MB / 487.4 MB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.6179, allocations: 1.228 MB / 488.6 MB, free: 192 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007341/0.6187, allocations: 159 kB / 488.8 MB, free: 36 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.6188, allocations: 27.44 kB / 488.8 MB, free: 8 kB / 394.7 MB Notification: Performance of SimCode: time 2.288e-06/0.6188, allocations: 0 / 488.8 MB, free: 8 kB / 394.7 MB Notification: Performance of Templates: time 0.03979/0.6587, allocations: 16.65 MB / 0.4936 GB, free: 15.02 MB / 426.7 MB