Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.989e-05, allocations: 7.984 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09097/0.09102, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5123, allocations: 83.25 MB / 425.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5127, allocations: 63.84 kB / 425.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08775/0.6004, allocations: 28.25 MB / 454.1 MB, free: 3.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.187e-06/0.6005, allocations: 0 / 454.1 MB, free: 3.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.447e-05/0.6005, allocations: 11.94 kB / 454.1 MB, free: 3.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001336/0.6019, allocations: 1.005 MB / 455.1 MB, free: 2.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6019, allocations: 15.97 kB / 455.2 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.6021, allocations: 86.97 kB / 455.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007405/0.6029, allocations: 419.6 kB / 455.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.603, allocations: 19.98 kB / 455.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6031, allocations: 24 kB / 455.7 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6042, allocations: 0.5099 MB / 456.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6042, allocations: 0 / 456.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-05/0.6043, allocations: 12 kB / 456.2 MB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6043, allocations: 4 kB / 456.2 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.6051, allocations: 364.1 kB / 456.6 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.6068, allocations: 0.8637 MB / 457.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/0.6077, allocations: 0.5062 MB / 457.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.6086, allocations: 0.4953 MB / 458.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8e-06/0.6087, allocations: 0 / 458.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.6098, allocations: 0.6517 MB / 459.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 5.816e-06/0.6098, allocations: 0 / 459.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002348/0.6122, allocations: 1.175 MB / 460.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.6124, allocations: 283.3 kB / 460.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.6145, allocations: 1.031 MB / 461.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/0.6146, allocations: 41.64 kB / 461.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6148, allocations: 150 kB / 461.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.6149, allocations: 79.09 kB / 461.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.615, allocations: 8 kB / 461.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.6152, allocations: 350.8 kB / 462.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.6159, allocations: 348.2 kB / 462.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.6167, allocations: 356.5 kB / 462.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.6174, allocations: 0.4894 MB / 463.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-06/0.6175, allocations: 0 / 463.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002159/0.6196, allocations: 1.118 MB / 464.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.6199, allocations: 239.9 kB / 464.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6199, allocations: 7.938 kB / 464.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6199, allocations: 0 / 464.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.312e-05/0.62, allocations: 4 kB / 464.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.866e-06/0.62, allocations: 3.938 kB / 464.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.6205, allocations: 43.88 kB / 464.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.6207, allocations: 152.1 kB / 464.9 MB, free: 7.98 MB / 378.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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0005081/0.6212, allocations: 402 kB / 465.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.6214, allocations: 90.97 kB / 465.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.6218, allocations: 151.8 kB / 465.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.571e-06/0.6218, allocations: 7.938 kB / 465.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.716e-06/0.6219, allocations: 4 kB / 465.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6219, allocations: 4 kB / 465.6 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.6255, allocations: 1.958 MB / 467.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-06/0.6255, allocations: 0 / 467.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.6255, allocations: 0 / 467.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.6255, allocations: 11.89 kB / 467.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.722e-05/0.6256, allocations: 31.98 kB / 467.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.991e-06/0.6257, allocations: 0 / 467.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-06/0.6257, allocations: 8 kB / 467.6 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.6282, allocations: 1.369 MB / 468.9 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.6294, allocations: 0.5582 MB / 469.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.6296, allocations: 63.91 kB / 469.6 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.6301, allocations: 31.89 kB / 469.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/0.6306, allocations: 239.7 kB / 469.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/0.6309, allocations: 163.9 kB / 470 MB, free: 2.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001658/0.6326, allocations: 0.85 MB / 470.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.6326, allocations: 0 / 470.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006279/0.6332, allocations: 124 kB / 471 MB, free: 1.707 MB / 378.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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.0003259/0.6336, allocations: 192.4 kB / 471.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.6361, allocations: 1.503 MB / 472.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.624e-06/0.6361, allocations: 4 kB / 472.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.6376, allocations: 1.113 MB / 473.8 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6389, allocations: 278.9 kB / 474 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.6427, allocations: 1.722 MB / 475.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.6439, allocations: 1.046 MB / 476.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.6441, allocations: 37.5 kB / 476.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.6442, allocations: 15.44 kB / 476.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of SimCode: time 2.061e-06/0.6442, allocations: 0 / 476.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of Templates: time 0.02694/0.6711, allocations: 13.54 MB / 490.4 MB, free: 13.85 MB / 410.7 MB