Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2.008e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2517, allocations: 44.5 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3714, allocations: 77.46 MB / 371.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.3717, allocations: 67.91 kB / 371.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1531/0.5249, allocations: 31.01 MB / 402.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.873e-06/0.5249, allocations: 4 kB / 402.6 MB, free: 5.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.38e-05/0.525, allocations: 16 kB / 402.7 MB, free: 5.453 MB / 346.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.002947/0.528, allocations: 1.299 MB / 404 MB, free: 4.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.528, allocations: 8.031 kB / 404 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.5285, allocations: 130.5 kB / 404.1 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.5301, allocations: 0.5051 MB / 404.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-05/0.5303, allocations: 19.98 kB / 404.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.5305, allocations: 31.88 kB / 404.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001515/0.532, allocations: 436.5 kB / 405.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.5341, allocations: 0.6066 MB / 405.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5342, allocations: 0 / 405.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.5343, allocations: 11.98 kB / 405.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-06/0.5344, allocations: 4 kB / 405.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.5382, allocations: 1.051 MB / 406.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.5402, allocations: 0.6742 MB / 407.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.5422, allocations: 0.657 MB / 408.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.5422, allocations: 0 / 408.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.5444, allocations: 0.7516 MB / 408.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 5.595e-06/0.5445, allocations: 0 / 408.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0043/0.5488, allocations: 1.105 MB / 409.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004112/0.5492, allocations: 325 kB / 410.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/0.5547, allocations: 1.538 MB / 411.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.555, allocations: 45.69 kB / 411.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.5554, allocations: 245 kB / 412.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.5557, allocations: 83 kB / 412.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.5559, allocations: 8 kB / 412.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.5562, allocations: 330.8 kB / 412.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.5577, allocations: 436 kB / 412.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.5592, allocations: 435.9 kB / 413.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000977/0.5602, allocations: 299.9 kB / 413.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.5602, allocations: 0 / 413.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003803/0.564, allocations: 0.9867 MB / 414.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004672/0.5645, allocations: 293.5 kB / 414.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5646, allocations: 0 / 414.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.5646, allocations: 0 / 414.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.5647, allocations: 7.938 kB / 414.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.5647, allocations: 11.89 kB / 414.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5658, allocations: 43.88 kB / 415 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/0.5662, allocations: 155.9 kB / 415.1 MB, free: 8.582 MB / 362.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.0009352/0.5672, allocations: 469.2 kB / 415.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.5677, allocations: 134.4 kB / 415.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.5689, allocations: 256 kB / 416 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.569e-06/0.5689, allocations: 0 / 416 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.106e-06/0.5689, allocations: 0 / 416 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.569, allocations: 3.953 kB / 416 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/0.5776, allocations: 2.005 MB / 418 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.5777, allocations: 0 / 418 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.5777, allocations: 8 kB / 418 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.5778, allocations: 4 kB / 418 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/0.5781, allocations: 43.97 kB / 418 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.64e-06/0.5782, allocations: 0 / 418 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.5782, allocations: 0 / 418 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/0.5821, allocations: 1.257 MB / 419.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.5838, allocations: 0.6862 MB / 420 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.5841, allocations: 59.95 kB / 420 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.5847, allocations: 47.91 kB / 420.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008154/0.5855, allocations: 351.6 kB / 420.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002627/0.5858, allocations: 159.9 kB / 420.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002711/0.5885, allocations: 1.255 MB / 421.8 MB, free: 1.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.14e-07/0.5885, allocations: 0 / 421.8 MB, free: 1.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007878/0.5893, allocations: 152 kB / 422 MB, free: 1.57 MB / 362.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.0003626/0.5897, allocations: 185.7 kB / 422.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2061/0.7959, allocations: 1.873 MB / 424 MB, free: 106.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.621e-06/0.796, allocations: 0.7188 kB / 424 MB, free: 106.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.7982, allocations: 1.37 MB / 425.4 MB, free: 106.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.7997, allocations: 293.2 kB / 425.7 MB, free: 106.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.8049, allocations: 2.55 MB / 428.2 MB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.8062, allocations: 1.225 MB / 429.5 MB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.8063, allocations: 29.09 kB / 429.5 MB, free: 104.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.794e-06/0.8064, allocations: 1.5 kB / 429.5 MB, free: 104.7 MB / 362.7 MB Notification: Performance of Templates: time 0.0176/0.824, allocations: 11.35 MB / 440.8 MB, free: 102.7 MB / 362.7 MB