Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.62e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 44.49 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.3827, allocations: 77.5 MB / 371.6 MB, free: 4.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.383, allocations: 71.91 kB / 371.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09366/0.4767, allocations: 32.56 MB / 404.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.667e-06/0.4767, allocations: 4 kB / 404.2 MB, free: 3.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.216e-05/0.4768, allocations: 12 kB / 404.2 MB, free: 3.844 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.002212/0.479, allocations: 1.295 MB / 405.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4791, allocations: 16.02 kB / 405.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.4794, allocations: 130.4 kB / 405.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4805, allocations: 0.5129 MB / 406.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.136e-05/0.4806, allocations: 20 kB / 406.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.4807, allocations: 24 kB / 406.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000917/0.4816, allocations: 448.5 kB / 406.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4829, allocations: 0.591 MB / 407.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4829, allocations: 7.891 kB / 407.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.483, allocations: 19.98 kB / 407.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-06/0.483, allocations: 0 / 407.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.4855, allocations: 1.043 MB / 408.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4867, allocations: 0.6664 MB / 409 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.4877, allocations: 0.6608 MB / 409.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.4878, allocations: 4 kB / 409.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.4891, allocations: 0.7632 MB / 410.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 4.052e-06/0.4891, allocations: 0 / 410.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002423/0.4915, allocations: 1.093 MB / 411.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002741/0.4918, allocations: 325 kB / 411.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.4952, allocations: 1.538 MB / 413.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.4954, allocations: 41.7 kB / 413.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.4957, allocations: 252.9 kB / 413.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.4959, allocations: 71.17 kB / 413.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.496, allocations: 16 kB / 413.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4961, allocations: 330.8 kB / 414.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008394/0.497, allocations: 428 kB / 414.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.4978, allocations: 439.9 kB / 414.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.4984, allocations: 295.9 kB / 415.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-06/0.4984, allocations: 3.938 kB / 415.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002156/0.5006, allocations: 1.002 MB / 416.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.5009, allocations: 289.5 kB / 416.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.82e-06/0.5009, allocations: 0 / 416.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.501, allocations: 4 kB / 416.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.498e-05/0.501, allocations: 3.938 kB / 416.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.501, allocations: 7.984 kB / 416.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.5016, allocations: 47.95 kB / 416.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.5019, allocations: 151.9 kB / 416.7 MB, free: 6.965 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.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.0006126/0.5025, allocations: 462.2 kB / 417.2 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.5028, allocations: 134.5 kB / 417.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.5036, allocations: 256 kB / 417.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.977e-06/0.5036, allocations: 4 kB / 417.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-06/0.5036, allocations: 0 / 417.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-06/0.5036, allocations: 0 / 417.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.5077, allocations: 2.005 MB / 419.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.143e-06/0.5078, allocations: 0 / 419.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.5078, allocations: 0 / 419.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.329e-06/0.5078, allocations: 4 kB / 419.6 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.5079, allocations: 39.97 kB / 419.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.508, allocations: 4 kB / 419.6 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.454e-06/0.508, allocations: 0 / 419.6 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.5106, allocations: 1.261 MB / 420.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.5123, allocations: 0.6825 MB / 421.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.5126, allocations: 63.91 kB / 421.6 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.5131, allocations: 47.8 kB / 421.7 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007757/0.5139, allocations: 355.6 kB / 422 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/0.5142, allocations: 155.9 kB / 422.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002927/0.5172, allocations: 1.259 MB / 423.4 MB, free: 112 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.151e-06/0.5172, allocations: 0 / 423.4 MB, free: 112 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.2054/0.7225, allocations: 142.1 kB / 423.6 MB, free: 106.6 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,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.0004765/0.7231, allocations: 187.1 kB / 423.7 MB, free: 106.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.7258, allocations: 1.874 MB / 425.6 MB, free: 106 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.106e-06/0.7258, allocations: 0 / 425.6 MB, free: 106 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.7274, allocations: 1.376 MB / 427 MB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7288, allocations: 295.5 kB / 427.3 MB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.7338, allocations: 2.558 MB / 429.8 MB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.7351, allocations: 1.215 MB / 431 MB, free: 104.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.7351, allocations: 27.69 kB / 431.1 MB, free: 104.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.694e-06/0.7352, allocations: 0 / 431.1 MB, free: 104.1 MB / 362.7 MB Notification: Performance of Templates: time 0.01739/0.7526, allocations: 11.36 MB / 442.4 MB, free: 102 MB / 362.7 MB