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.1_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.057e-05, allocations: 0 / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2526, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3625, allocations: 72.86 MB / 336.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3628, allocations: 63.97 kB / 336.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1035/0.4663, allocations: 31.83 MB / 368.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.528e-06/0.4663, allocations: 0 / 368.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.4664, allocations: 16 kB / 368.5 MB, free: 0.9336 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.1831/0.6495, allocations: 1.263 MB / 369.8 MB, free: 87.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6496, allocations: 9.25 kB / 369.8 MB, free: 87.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.65, allocations: 133.5 kB / 369.9 MB, free: 87.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.6509, allocations: 0.5078 MB / 370.5 MB, free: 87.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.651, allocations: 24.48 kB / 370.5 MB, free: 87.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6511, allocations: 29.05 kB / 370.5 MB, free: 87.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.6526, allocations: 0.6185 MB / 371.1 MB, free: 87.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6527, allocations: 0.5 kB / 371.1 MB, free: 87.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/0.6528, allocations: 15.06 kB / 371.1 MB, free: 87.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-06/0.6528, allocations: 5.062 kB / 371.1 MB, free: 87.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.6536, allocations: 452.6 kB / 371.6 MB, free: 87.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.6554, allocations: 1.051 MB / 372.6 MB, free: 86.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/0.6564, allocations: 0.6786 MB / 373.3 MB, free: 86.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.6574, allocations: 0.673 MB / 374 MB, free: 86.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.6574, allocations: 3.594 kB / 374 MB, free: 86.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.6585, allocations: 0.7511 MB / 374.7 MB, free: 86.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.752e-06/0.6585, allocations: 0 / 374.7 MB, free: 86.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002298/0.6608, allocations: 1.393 MB / 376.1 MB, free: 86.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.661, allocations: 327 kB / 376.5 MB, free: 85.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.6635, allocations: 1.434 MB / 377.9 MB, free: 85.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.6637, allocations: 46.17 kB / 377.9 MB, free: 85.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.6638, allocations: 224.1 kB / 378.2 MB, free: 85.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.664, allocations: 82.66 kB / 378.2 MB, free: 85.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.6641, allocations: 11.75 kB / 378.2 MB, free: 85.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6643, allocations: 376.2 kB / 378.6 MB, free: 85.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.665, allocations: 439.9 kB / 379 MB, free: 85.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.6657, allocations: 438.8 kB / 379.5 MB, free: 84.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.6664, allocations: 0.5778 MB / 380.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.608e-06/0.6664, allocations: 3.844 kB / 380.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002209/0.6686, allocations: 1.325 MB / 381.4 MB, free: 83.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.6689, allocations: 294.5 kB / 381.7 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.117e-06/0.6689, allocations: 0 / 381.7 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6689, allocations: 0 / 381.7 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.207e-05/0.6689, allocations: 8.703 kB / 381.7 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.112e-06/0.669, allocations: 3.562 kB / 381.7 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.6695, allocations: 46.94 kB / 381.7 MB, free: 83.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.6697, allocations: 158.9 kB / 381.9 MB, free: 83.61 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.0004499/0.6702, allocations: 473.3 kB / 382.3 MB, free: 83.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6704, allocations: 127.1 kB / 382.5 MB, free: 83.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.6709, allocations: 198.6 kB / 382.7 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6709, allocations: 3.594 kB / 382.7 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.141e-06/0.6709, allocations: 3.422 kB / 382.7 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-06/0.671, allocations: 2.078 kB / 382.7 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.6746, allocations: 2.312 MB / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.512e-06/0.6746, allocations: 0 / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.6747, allocations: 7.359 kB / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.563e-06/0.6747, allocations: 6.344 kB / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.6748, allocations: 37.02 kB / 385 MB, free: 81.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6748, allocations: 0 / 385 MB, free: 81.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.925e-06/0.6748, allocations: 6.938 kB / 385 MB, free: 81.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6775, allocations: 1.598 MB / 386.6 MB, free: 80.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.6789, allocations: 0.6533 MB / 387.3 MB, free: 80.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.6792, allocations: 61.58 kB / 387.3 MB, free: 80.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.6797, allocations: 47.06 kB / 387.4 MB, free: 80.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/0.6804, allocations: 353.4 kB / 387.7 MB, free: 79.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.6806, allocations: 163.1 kB / 387.9 MB, free: 79.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.6825, allocations: 1.19 MB / 389.1 MB, free: 78.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.6825, allocations: 7.844 kB / 389.1 MB, free: 78.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007484/0.6833, allocations: 148 kB / 389.2 MB, free: 78.54 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.0002811/0.6836, allocations: 202.9 kB / 389.4 MB, free: 78.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.6858, allocations: 1.894 MB / 391.3 MB, free: 76.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.6858, allocations: 0 / 391.3 MB, free: 76.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.6871, allocations: 1.381 MB / 392.7 MB, free: 75.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6885, allocations: 301.2 kB / 393 MB, free: 74.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.6923, allocations: 2.316 MB / 395.3 MB, free: 72.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/0.6933, allocations: 1.167 MB / 396.5 MB, free: 71.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.6935, allocations: 80.69 kB / 396.6 MB, free: 71.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.6936, allocations: 27.44 kB / 396.6 MB, free: 71.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.724e-06/0.6936, allocations: 0 / 396.6 MB, free: 71.64 MB / 314.7 MB Notification: Performance of Templates: time 0.02533/0.7189, allocations: 15.42 MB / 412 MB, free: 57.31 MB / 314.7 MB