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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.826e-05, allocations: 4 kB / 269.3 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08264, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.421, allocations: 82.41 MB / 399.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4212, allocations: 68.72 kB / 399.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09885/0.5201, allocations: 32.78 MB / 432.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.276e-06/0.5202, allocations: 0 / 432.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.728e-05/0.5202, allocations: 19.94 kB / 432.2 MB, free: 9.75 MB / 346.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.001902/0.5221, allocations: 1.298 MB / 433.5 MB, free: 8.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5222, allocations: 8.031 kB / 433.5 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.5225, allocations: 142.4 kB / 433.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.5234, allocations: 0.5121 MB / 434.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.5235, allocations: 19.92 kB / 434.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.5237, allocations: 31.75 kB / 434.2 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.525, allocations: 0.6192 MB / 434.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.525, allocations: 0 / 434.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.5251, allocations: 15.81 kB / 434.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-06/0.5251, allocations: 4 kB / 434.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009153/0.5261, allocations: 461.6 kB / 435.3 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.5284, allocations: 1.087 MB / 436.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5295, allocations: 0.6862 MB / 437.1 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.5306, allocations: 0.6819 MB / 437.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.5307, allocations: 11.94 kB / 437.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.532, allocations: 0.7525 MB / 438.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 4.454e-06/0.532, allocations: 0 / 438.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00276/0.5348, allocations: 1.408 MB / 439.9 MB, free: 3.371 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002783/0.5351, allocations: 318.7 kB / 440.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.5385, allocations: 1.601 MB / 441.8 MB, free: 1.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.5387, allocations: 52.81 kB / 441.9 MB, free: 1.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.539, allocations: 231.4 kB / 442.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.5392, allocations: 87.91 kB / 442.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.5393, allocations: 11.5 kB / 442.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.5396, allocations: 384.7 kB / 442.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008854/0.5405, allocations: 446.7 kB / 443 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008388/0.5414, allocations: 447.3 kB / 443.5 MB, free: 444 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.5423, allocations: 0.5875 MB / 444 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-06/0.5423, allocations: 4 kB / 444 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002586/0.5449, allocations: 1.354 MB / 445.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.5452, allocations: 281.5 kB / 445.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.96e-06/0.5453, allocations: 0 / 445.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5453, allocations: 0 / 445.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.783e-05/0.5453, allocations: 15.98 kB / 445.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5454, allocations: 0 / 445.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.5459, allocations: 47.81 kB / 445.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.5462, allocations: 155.9 kB / 445.9 MB, free: 14.13 MB / 362.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.0006139/0.5468, allocations: 470.5 kB / 446.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.5471, allocations: 138.4 kB / 446.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.5479, allocations: 247.8 kB / 446.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-06/0.5479, allocations: 0 / 446.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.992e-06/0.5479, allocations: 3.938 kB / 446.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-06/0.5479, allocations: 0 / 446.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004631/0.5526, allocations: 2.399 MB / 449.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.388e-06/0.5526, allocations: 0 / 449.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.5527, allocations: 11.97 kB / 449.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-06/0.5527, allocations: 0 / 449.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.5528, allocations: 35.98 kB / 449.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.127e-06/0.5528, allocations: 7.938 kB / 449.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.133e-06/0.5528, allocations: 0 / 449.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.5559, allocations: 1.614 MB / 450.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.5575, allocations: 0.6863 MB / 451.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.5578, allocations: 63.97 kB / 451.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.5583, allocations: 39.88 kB / 451.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007631/0.5591, allocations: 351.6 kB / 451.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/0.5594, allocations: 159.9 kB / 452.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002879/0.5622, allocations: 1.319 MB / 453.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.5623, allocations: 4 kB / 453.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007831/0.5631, allocations: 144 kB / 453.5 MB, free: 6.199 MB / 362.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.0003677/0.5634, allocations: 197.6 kB / 453.7 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.5665, allocations: 1.913 MB / 455.7 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5665, allocations: 0 / 455.7 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.5684, allocations: 1.39 MB / 457 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5699, allocations: 300.4 kB / 457.3 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/0.5753, allocations: 2.476 MB / 459.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.5769, allocations: 1.217 MB / 461 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.5774, allocations: 155 kB / 461.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.5775, allocations: 31.44 kB / 461.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.906e-06/0.5775, allocations: 0 / 461.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of Templates: time 0.03412/0.6116, allocations: 16.65 MB / 477.9 MB, free: 13.23 MB / 394.7 MB