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_trunk_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.965e-05, allocations: 2.031 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1572, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5634, allocations: 83.28 MB / 426.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5637, allocations: 70.7 kB / 426.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1379/0.7016, allocations: 28.25 MB / 454.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.03e-05/0.7017, allocations: 0 / 454.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.7017, allocations: 11.94 kB / 454.7 MB, free: 2.812 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.002009/0.7038, allocations: 1.011 MB / 455.7 MB, free: 1.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.7038, allocations: 8.031 kB / 455.7 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.7042, allocations: 86.97 kB / 455.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.7054, allocations: 423.2 kB / 456.2 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-05/0.7055, allocations: 23.73 kB / 456.2 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.7057, allocations: 23.38 kB / 456.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.7075, allocations: 0.503 MB / 456.8 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7075, allocations: 4 kB / 456.8 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.7077, allocations: 10.56 kB / 456.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.7077, allocations: 4 kB / 456.8 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.7089, allocations: 363.4 kB / 457.1 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.7119, allocations: 0.862 MB / 458 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.7135, allocations: 0.4984 MB / 458.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.715, allocations: 0.4967 MB / 459 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.715, allocations: 0 / 459 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.7169, allocations: 0.64 MB / 459.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 4.759e-06/0.7169, allocations: 0 / 459.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00399/0.7209, allocations: 1.187 MB / 460.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003403/0.7213, allocations: 279.3 kB / 461.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.7248, allocations: 1.027 MB / 462.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.7251, allocations: 49.62 kB / 462.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.7253, allocations: 146 kB / 462.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.7256, allocations: 71.17 kB / 462.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.7258, allocations: 12 kB / 462.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.7261, allocations: 354.8 kB / 462.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.7273, allocations: 348.2 kB / 463.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.7285, allocations: 348.5 kB / 463.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.7297, allocations: 0.4933 MB / 463.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7297, allocations: 0 / 463.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003688/0.7334, allocations: 1.114 MB / 465 MB, free: 8.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.7338, allocations: 239.9 kB / 465.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7338, allocations: 3.953 kB / 465.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.7338, allocations: 4 kB / 465.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.663e-05/0.7339, allocations: 7.922 kB / 465.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.7339, allocations: 0 / 465.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.7345, allocations: 47.83 kB / 465.3 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/0.7348, allocations: 152.1 kB / 465.5 MB, free: 7.852 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.0006055/0.7354, allocations: 406 kB / 465.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.7357, allocations: 90.97 kB / 466 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.7362, allocations: 155.8 kB / 466.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.761e-06/0.7363, allocations: 7.953 kB / 466.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.063e-06/0.7363, allocations: 8 kB / 466.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-06/0.7363, allocations: 0 / 466.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.7405, allocations: 1.95 MB / 468.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.293e-06/0.7406, allocations: 0 / 468.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.7406, allocations: 7.984 kB / 468.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-06/0.7406, allocations: 3.953 kB / 468.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.7407, allocations: 35.98 kB / 468.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.607e-06/0.7408, allocations: 3.938 kB / 468.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7408, allocations: 4 kB / 468.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.7437, allocations: 1.369 MB / 469.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.7452, allocations: 0.5582 MB / 470.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.7455, allocations: 67.92 kB / 470.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.746, allocations: 31.88 kB / 470.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/0.7465, allocations: 239.7 kB / 470.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/0.7468, allocations: 159.9 kB / 470.5 MB, free: 2.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001704/0.7485, allocations: 0.8578 MB / 471.4 MB, free: 1.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.7485, allocations: 0 / 471.4 MB, free: 1.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006524/0.7492, allocations: 124 kB / 471.5 MB, free: 1.57 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.0003578/0.7496, allocations: 188.4 kB / 471.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.7519, allocations: 1.503 MB / 473.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.369e-06/0.752, allocations: 4 kB / 473.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.7535, allocations: 1.109 MB / 474.3 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.7548, allocations: 275.3 kB / 474.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.7585, allocations: 1.73 MB / 476.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.7597, allocations: 1.042 MB / 477.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.7599, allocations: 41.48 kB / 477.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.7599, allocations: 15.44 kB / 477.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.796e-06/0.7599, allocations: 0 / 477.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of Templates: time 0.02746/0.7874, allocations: 13.53 MB / 490.9 MB, free: 13.72 MB / 410.7 MB