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.979/1.979, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.56e-05, allocations: 4 kB / 255.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07652/0.07657, allocations: 44.5 MB / 299.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3285/0.4051, allocations: 78.17 MB / 378 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4053, allocations: 67.23 kB / 378.1 MB, free: 22.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0844/0.4898, allocations: 32.76 MB / 410.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.106e-06/0.4898, allocations: 0 / 410.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.4899, allocations: 15.66 kB / 410.8 MB, free: 15.22 MB / 314.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.001457/0.4913, allocations: 1.294 MB / 412.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4914, allocations: 7.812 kB / 412.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.4916, allocations: 132.9 kB / 412.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.4924, allocations: 0.5119 MB / 412.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.4925, allocations: 19.64 kB / 412.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4926, allocations: 31.22 kB / 412.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.4937, allocations: 0.6267 MB / 413.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4937, allocations: 0 / 413.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.4938, allocations: 23.28 kB / 413.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-06/0.4938, allocations: 7.969 kB / 413.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.4946, allocations: 460.3 kB / 413.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.4967, allocations: 1.081 MB / 415 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000945/0.4976, allocations: 0.6968 MB / 415.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008774/0.4986, allocations: 0.6729 MB / 416.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4986, allocations: 0 / 416.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.4996, allocations: 0.7558 MB / 417.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.447e-06/0.4997, allocations: 0 / 417.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002257/0.5019, allocations: 1.416 MB / 418.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.5021, allocations: 322.3 kB / 418.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.5053, allocations: 1.602 MB / 420.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.5056, allocations: 44.97 kB / 420.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.5058, allocations: 251.7 kB / 420.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.506, allocations: 81.67 kB / 420.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.5061, allocations: 15.09 kB / 420.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.5061, allocations: 333.6 kB / 421.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.5069, allocations: 443.3 kB / 421.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.5076, allocations: 461.2 kB / 422.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.5083, allocations: 0.5841 MB / 422.7 MB, free: 9.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5083, allocations: 0 / 422.7 MB, free: 9.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002022/0.5103, allocations: 1.313 MB / 424 MB, free: 9.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.5106, allocations: 286.4 kB / 424.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.09e-06/0.5106, allocations: 0 / 424.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5106, allocations: 3.906 kB / 424.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.5107, allocations: 7.922 kB / 424.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.102e-06/0.5107, allocations: 3.906 kB / 424.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.5112, allocations: 47.03 kB / 424.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.5114, allocations: 150.6 kB / 424.5 MB, free: 9.16 MB / 314.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.0004328/0.5119, allocations: 477 kB / 424.9 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.5121, allocations: 129.1 kB / 425.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.5128, allocations: 246.6 kB / 425.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-06/0.5129, allocations: 0 / 425.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.782e-06/0.5129, allocations: 4 kB / 425.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.5129, allocations: 0 / 425.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.5167, allocations: 2.4 MB / 427.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-06/0.5167, allocations: 0 / 427.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.5168, allocations: 7.859 kB / 427.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-06/0.5168, allocations: 0 / 427.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.5169, allocations: 37.42 kB / 427.7 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.55e-06/0.5169, allocations: 7.938 kB / 427.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-06/0.5169, allocations: 3.844 kB / 427.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.5193, allocations: 1.612 MB / 429.4 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.5208, allocations: 0.6814 MB / 430 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.5211, allocations: 60.22 kB / 430.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.5216, allocations: 46.31 kB / 430.1 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006465/0.5223, allocations: 360.8 kB / 430.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.5225, allocations: 160.2 kB / 430.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002555/0.5251, allocations: 1.318 MB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.038e-06/0.5251, allocations: 0 / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000788/0.5259, allocations: 147.1 kB / 432.1 MB, free: 5.84 MB / 314.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.0002832/0.5262, allocations: 194.7 kB / 432.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.5285, allocations: 1.905 MB / 434.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.855e-06/0.5285, allocations: 3.219 kB / 434.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.5299, allocations: 1.399 MB / 435.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.5312, allocations: 302.1 kB / 435.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.5359, allocations: 2.583 MB / 438.5 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.5373, allocations: 1.217 MB / 439.7 MB, free: 16.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.5375, allocations: 31.44 kB / 439.7 MB, free: 16.19 MB / 330.7 MB Notification: Performance of SimCode: time 2.819e-06/0.5375, allocations: 0 / 439.7 MB, free: 16.19 MB / 330.7 MB Notification: Performance of Templates: time 0.02172/0.5592, allocations: 11.41 MB / 451.1 MB, free: 4.562 MB / 330.7 MB