Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.854e-05, allocations: 4 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08893, allocations: 50.42 MB / 342.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4459, allocations: 83.61 MB / 426.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4462, allocations: 66.38 kB / 426.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09636/0.5426, allocations: 33.1 MB / 459.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.5426, allocations: 0 / 459.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.5427, allocations: 12 kB / 459.3 MB, free: 14.29 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.001707/0.5444, allocations: 1.297 MB / 460.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5444, allocations: 12.03 kB / 460.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.5447, allocations: 130.4 kB / 460.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.5456, allocations: 0.5085 MB / 461.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.5457, allocations: 27.94 kB / 461.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5458, allocations: 28 kB / 461.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5471, allocations: 0.63 MB / 462 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5472, allocations: 3.938 kB / 462 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.5473, allocations: 15.94 kB / 462 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5473, allocations: 4 kB / 462 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.5482, allocations: 455.8 kB / 462.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.5504, allocations: 1.084 MB / 463.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.5516, allocations: 0.6898 MB / 464.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.5527, allocations: 0.6728 MB / 464.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.5528, allocations: 0 / 464.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.5541, allocations: 0.7593 MB / 465.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.16e-06/0.5541, allocations: 0 / 465.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002753/0.5569, allocations: 1.415 MB / 467 MB, free: 6.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002834/0.5572, allocations: 325 kB / 467.4 MB, free: 5.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.5604, allocations: 1.602 MB / 469 MB, free: 4.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.5606, allocations: 45.69 kB / 469 MB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.5608, allocations: 244.9 kB / 469.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.561, allocations: 91.16 kB / 469.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.5611, allocations: 16 kB / 469.4 MB, free: 3.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5613, allocations: 322.8 kB / 469.7 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/0.5622, allocations: 448 kB / 470.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/0.5631, allocations: 451.9 kB / 470.5 MB, free: 2.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.564, allocations: 0.5834 MB / 471.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.564, allocations: 0 / 471.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002527/0.5666, allocations: 1.312 MB / 472.4 MB, free: 0.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.5669, allocations: 289.5 kB / 472.7 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5669, allocations: 0 / 472.7 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.567, allocations: 4 kB / 472.7 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.694e-05/0.567, allocations: 15.89 kB / 472.7 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.567, allocations: 7.984 kB / 472.8 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.5676, allocations: 43.88 kB / 472.8 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.5678, allocations: 151.9 kB / 472.9 MB, free: 204 kB / 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.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.0006173/0.5684, allocations: 467.1 kB / 473.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.5687, allocations: 138.5 kB / 473.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.5694, allocations: 243.8 kB / 473.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-06/0.5695, allocations: 0 / 473.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5695, allocations: 3.953 kB / 473.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.12e-06/0.5695, allocations: 0 / 473.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.574, allocations: 2.392 MB / 476.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-06/0.574, allocations: 0 / 476.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.574, allocations: 8 kB / 476.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.5741, allocations: 7.984 kB / 476.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.5742, allocations: 39.98 kB / 476.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.374e-06/0.5742, allocations: 3.953 kB / 476.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.252e-06/0.5742, allocations: 3.938 kB / 476.2 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.5772, allocations: 1.618 MB / 477.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.5788, allocations: 0.6786 MB / 478.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.579, allocations: 55.97 kB / 478.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.5796, allocations: 55.75 kB / 478.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007685/0.5804, allocations: 359.6 kB / 479 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/0.5806, allocations: 163.8 kB / 479.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002694/0.5833, allocations: 1.315 MB / 480.5 MB, free: 8.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.5834, allocations: 0 / 480.5 MB, free: 8.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007441/0.5841, allocations: 152 kB / 480.6 MB, free: 8.266 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,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.0003592/0.5845, allocations: 193.7 kB / 480.8 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.5874, allocations: 1.905 MB / 482.7 MB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.97e-06/0.5874, allocations: 0 / 482.7 MB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.5893, allocations: 1.393 MB / 484.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.5907, allocations: 301.8 kB / 484.4 MB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.5962, allocations: 2.571 MB / 487 MB, free: 1.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.5977, allocations: 1.217 MB / 488.2 MB, free: 428 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.5978, allocations: 27.44 kB / 488.2 MB, free: 400 kB / 394.7 MB Notification: Performance of SimCode: time 1.781e-06/0.5978, allocations: 4 kB / 488.2 MB, free: 396 kB / 394.7 MB Notification: Performance of Templates: time 0.02063/0.6184, allocations: 11.37 MB / 499.6 MB, free: 4.828 MB / 410.7 MB