Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.551e-05, allocations: 6.031 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08931, allocations: 50.41 MB / 342.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4487, allocations: 83.57 MB / 426.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.449, allocations: 64.66 kB / 426.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0939/0.5429, allocations: 31.53 MB / 457.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.143e-06/0.5429, allocations: 0 / 457.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.543, allocations: 20 kB / 457.7 MB, free: 15.85 MB / 378.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.001753/0.5448, allocations: 1.298 MB / 459 MB, free: 14.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5448, allocations: 8.031 kB / 459 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.5451, allocations: 130.5 kB / 459.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.546, allocations: 0.5139 MB / 459.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.5461, allocations: 25.69 kB / 459.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5462, allocations: 31.12 kB / 459.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.5475, allocations: 0.6154 MB / 460.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.607e-06/0.5475, allocations: 0 / 460.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.5476, allocations: 20 kB / 460.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5476, allocations: 0 / 460.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009412/0.5486, allocations: 467.7 kB / 460.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.5509, allocations: 1.088 MB / 461.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.5521, allocations: 0.6897 MB / 462.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.5533, allocations: 0.6806 MB / 463.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5533, allocations: 0 / 463.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.5546, allocations: 0.7477 MB / 464 MB, free: 9.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.498e-06/0.5547, allocations: 4 kB / 464 MB, free: 9.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002817/0.5575, allocations: 1.415 MB / 465.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002807/0.5578, allocations: 325 kB / 465.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.5612, allocations: 1.602 MB / 467.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.5613, allocations: 49.64 kB / 467.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.5616, allocations: 237 kB / 467.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.5618, allocations: 95.12 kB / 467.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.5619, allocations: 8 kB / 467.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.5621, allocations: 330.8 kB / 468.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009235/0.563, allocations: 456 kB / 468.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009019/0.564, allocations: 451.9 kB / 469 MB, free: 4.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/0.5649, allocations: 0.5872 MB / 469.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.038e-06/0.5649, allocations: 3.953 kB / 469.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00255/0.5675, allocations: 1.305 MB / 470.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003054/0.5678, allocations: 289.5 kB / 471.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.775e-06/0.5678, allocations: 3.984 kB / 471.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5678, allocations: 0 / 471.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.5679, allocations: 8 kB / 471.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.322e-06/0.5679, allocations: 0 / 471.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.5684, allocations: 47.81 kB / 471.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/0.5687, allocations: 151.9 kB / 471.3 MB, free: 1.84 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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.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.0005971/0.5693, allocations: 458.5 kB / 471.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.5696, allocations: 138.4 kB / 471.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.5703, allocations: 251.7 kB / 472.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.5704, allocations: 11.98 kB / 472.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5704, allocations: 0 / 472.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.646e-06/0.5704, allocations: 3.984 kB / 472.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/0.5749, allocations: 2.392 MB / 474.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.575, allocations: 0 / 474.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.575, allocations: 4 kB / 474.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.348e-06/0.575, allocations: 3.938 kB / 474.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.5752, allocations: 39.98 kB / 474.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.866e-06/0.5752, allocations: 0 / 474.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.949e-06/0.5752, allocations: 3.984 kB / 474.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.5782, allocations: 1.618 MB / 476.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.5797, allocations: 0.6862 MB / 476.9 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.58, allocations: 67.95 kB / 477 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.5805, allocations: 35.97 kB / 477 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007875/0.5813, allocations: 351.7 kB / 477.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/0.5816, allocations: 159.8 kB / 477.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002798/0.5844, allocations: 1.323 MB / 478.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.05e-07/0.5845, allocations: 0 / 478.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007602/0.5852, allocations: 148 kB / 479 MB, free: 9.91 MB / 394.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,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.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.0003535/0.5856, allocations: 197.6 kB / 479.2 MB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.5886, allocations: 1.913 MB / 481.1 MB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.479e-06/0.5886, allocations: 0 / 481.1 MB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.5905, allocations: 1.386 MB / 482.5 MB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.5919, allocations: 305.4 kB / 482.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.5974, allocations: 2.575 MB / 485.4 MB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.599, allocations: 1.217 MB / 486.6 MB, free: 2.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.5991, allocations: 31.38 kB / 486.6 MB, free: 2.023 MB / 394.7 MB Notification: Performance of SimCode: time 1.988e-06/0.5991, allocations: 0 / 486.6 MB, free: 2.023 MB / 394.7 MB Notification: Performance of Templates: time 0.02079/0.6199, allocations: 11.37 MB / 498 MB, free: 6.461 MB / 410.7 MB