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.2_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.9 MB / 208.5 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/3.01e-05, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07671, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3326/0.4093, allocations: 78.17 MB / 378 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.4096, allocations: 66.41 kB / 378.1 MB, free: 22.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08521/0.4948, allocations: 32.75 MB / 410.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.802e-06/0.4949, allocations: 0 / 410.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.4949, allocations: 19.56 kB / 410.9 MB, free: 15.24 MB / 314.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.001277/0.4962, allocations: 1.292 MB / 412.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4963, allocations: 11.72 kB / 412.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.4965, allocations: 129 kB / 412.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007416/0.4972, allocations: 0.5149 MB / 412.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.4973, allocations: 30.92 kB / 412.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4974, allocations: 27.03 kB / 412.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.4985, allocations: 0.6194 MB / 413.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4985, allocations: 3.984 kB / 413.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.4986, allocations: 15.42 kB / 413.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-06/0.4987, allocations: 3.906 kB / 413.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.4994, allocations: 458.1 kB / 414 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.5012, allocations: 1.088 MB / 415 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.5022, allocations: 0.689 MB / 415.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000948/0.5032, allocations: 0.6729 MB / 416.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.5032, allocations: 3.906 kB / 416.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.5043, allocations: 0.7594 MB / 417.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.9e-06/0.5043, allocations: 0 / 417.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002281/0.5066, allocations: 1.415 MB / 418.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.5068, allocations: 320.6 kB / 418.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.5097, allocations: 1.605 MB / 420.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5098, allocations: 44.66 kB / 420.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.51, allocations: 248.9 kB / 420.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.5101, allocations: 85.05 kB / 420.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.5102, allocations: 15.53 kB / 420.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.5103, allocations: 334 kB / 421.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007979/0.5111, allocations: 441.7 kB / 421.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.5119, allocations: 451.4 kB / 422.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.5127, allocations: 0.5839 MB / 422.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5127, allocations: 3.875 kB / 422.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002164/0.5149, allocations: 1.307 MB / 424 MB, free: 9.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.5151, allocations: 294 kB / 424.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.5151, allocations: 0 / 424.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.5151, allocations: 0 / 424.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.5152, allocations: 3.906 kB / 424.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.361e-06/0.5152, allocations: 7.922 kB / 424.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.5157, allocations: 46.83 kB / 424.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.5159, allocations: 155.7 kB / 424.5 MB, free: 9.18 MB / 314.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.0004228/0.5164, allocations: 476.2 kB / 424.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.5166, allocations: 132.8 kB / 425.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.5172, allocations: 249.7 kB / 425.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-06/0.5172, allocations: 0 / 425.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.798e-06/0.5173, allocations: 0 / 425.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.473e-06/0.5173, allocations: 3.875 kB / 425.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.5211, allocations: 2.398 MB / 427.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-06/0.5211, allocations: 0 / 427.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.5211, allocations: 3.938 kB / 427.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.858e-06/0.5212, allocations: 0 / 427.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5213, allocations: 45.78 kB / 427.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-06/0.5213, allocations: 0 / 427.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-06/0.5213, allocations: 0 / 427.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.5239, allocations: 1.608 MB / 429.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.5253, allocations: 0.6886 MB / 430.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.5256, allocations: 60.22 kB / 430.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.5261, allocations: 42.19 kB / 430.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/0.5269, allocations: 363.5 kB / 430.5 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.5271, allocations: 162.8 kB / 430.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002599/0.5297, allocations: 1.314 MB / 432 MB, free: 5.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.5297, allocations: 0 / 432 MB, free: 5.859 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000728/0.5305, allocations: 152.3 kB / 432.1 MB, free: 5.859 MB / 314.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.0002885/0.5308, allocations: 190.1 kB / 432.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.5332, allocations: 1.914 MB / 434.2 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-06/0.5332, allocations: 0 / 434.2 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.5347, allocations: 1.389 MB / 435.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.536, allocations: 308.3 kB / 435.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.5403, allocations: 2.575 MB / 438.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.5415, allocations: 1.217 MB / 439.7 MB, free: 16.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.5416, allocations: 27.44 kB / 439.7 MB, free: 16.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.711e-06/0.5416, allocations: 0 / 439.7 MB, free: 16.16 MB / 330.7 MB Notification: Performance of Templates: time 0.01986/0.5615, allocations: 11.36 MB / 451.1 MB, free: 4.566 MB / 330.7 MB