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.1_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 1.654/1.654, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.148e-05, allocations: 7.938 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 38.76 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.3932, allocations: 72.85 MB / 336.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3935, allocations: 71.91 kB / 336.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09612/0.4896, allocations: 31.83 MB / 368.5 MB, free: 1 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.203e-06/0.4896, allocations: 3.984 kB / 368.5 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.4897, allocations: 12 kB / 368.5 MB, free: 0.9844 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.1824/0.6721, allocations: 1.268 MB / 369.8 MB, free: 87.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6722, allocations: 10.08 kB / 369.8 MB, free: 87.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/0.6726, allocations: 133.1 kB / 369.9 MB, free: 87.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6736, allocations: 0.5072 MB / 370.4 MB, free: 87.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.6737, allocations: 21.83 kB / 370.5 MB, free: 87.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.6739, allocations: 28.72 kB / 370.5 MB, free: 87.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6754, allocations: 0.6171 MB / 371.1 MB, free: 87.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6754, allocations: 0.5312 kB / 371.1 MB, free: 87.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.6755, allocations: 17.67 kB / 371.1 MB, free: 87.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6756, allocations: 2.719 kB / 371.1 MB, free: 87.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.6765, allocations: 453.8 kB / 371.6 MB, free: 87.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.6783, allocations: 1.042 MB / 372.6 MB, free: 86.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.6793, allocations: 0.6873 MB / 373.3 MB, free: 86.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008635/0.6802, allocations: 0.6741 MB / 374 MB, free: 86.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.6802, allocations: 3.719 kB / 374 MB, free: 86.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.6812, allocations: 0.7481 MB / 374.7 MB, free: 86.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.859e-06/0.6812, allocations: 0 / 374.7 MB, free: 86.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.00225/0.6835, allocations: 1.4 MB / 376.1 MB, free: 86.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.6837, allocations: 328.9 kB / 376.4 MB, free: 85.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.6861, allocations: 1.437 MB / 377.9 MB, free: 85.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.6863, allocations: 45.7 kB / 377.9 MB, free: 85.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.6864, allocations: 243.2 kB / 378.2 MB, free: 85.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.6866, allocations: 81.31 kB / 378.2 MB, free: 85.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.6867, allocations: 14 kB / 378.3 MB, free: 85.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.6868, allocations: 332.3 kB / 378.6 MB, free: 84.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007609/0.6875, allocations: 441 kB / 379 MB, free: 84.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.6883, allocations: 445 kB / 379.4 MB, free: 84.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.6889, allocations: 0.5757 MB / 380 MB, free: 84.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6889, allocations: 0 / 380 MB, free: 84.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001977/0.6909, allocations: 1.294 MB / 381.3 MB, free: 83.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.6911, allocations: 286.8 kB / 381.6 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.6912, allocations: 0 / 381.6 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.6912, allocations: 3.531 kB / 381.6 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.282e-05/0.6912, allocations: 3.844 kB / 381.6 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.852e-06/0.6912, allocations: 7.031 kB / 381.6 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.6918, allocations: 48.3 kB / 381.7 MB, free: 83.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.692, allocations: 152.5 kB / 381.8 MB, free: 83.62 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.0004257/0.6924, allocations: 470.6 kB / 382.3 MB, free: 83.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.6927, allocations: 135.2 kB / 382.4 MB, free: 83.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.6932, allocations: 202.9 kB / 382.6 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-06/0.6932, allocations: 4.609 kB / 382.6 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.449e-06/0.6932, allocations: 0 / 382.6 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-06/0.6932, allocations: 0 / 382.6 MB, free: 83.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.6967, allocations: 2.311 MB / 384.9 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.444e-06/0.6967, allocations: 0 / 384.9 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.6968, allocations: 6.938 kB / 384.9 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-06/0.6968, allocations: 0 / 384.9 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6969, allocations: 41.53 kB / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.045e-06/0.6969, allocations: 3.656 kB / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.084e-06/0.6969, allocations: 0 / 385 MB, free: 81.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.6995, allocations: 1.605 MB / 386.6 MB, free: 80.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.7009, allocations: 0.6568 MB / 387.2 MB, free: 80.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.7012, allocations: 59.31 kB / 387.3 MB, free: 80.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.7017, allocations: 42.36 kB / 387.3 MB, free: 80.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/0.7024, allocations: 356.2 kB / 387.7 MB, free: 79.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.7026, allocations: 164 kB / 387.8 MB, free: 79.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001985/0.7046, allocations: 1.187 MB / 389 MB, free: 78.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.63e-06/0.7046, allocations: 0 / 389 MB, free: 78.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007662/0.7054, allocations: 152 kB / 389.2 MB, free: 78.59 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.0002813/0.7057, allocations: 199.4 kB / 389.4 MB, free: 78.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.7078, allocations: 1.893 MB / 391.3 MB, free: 76.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.964e-06/0.7079, allocations: 0 / 391.3 MB, free: 76.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.7092, allocations: 1.383 MB / 392.6 MB, free: 75.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.7105, allocations: 305.9 kB / 392.9 MB, free: 74.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.7145, allocations: 2.411 MB / 395.3 MB, free: 72.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008967/0.7154, allocations: 1.167 MB / 396.5 MB, free: 71.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.7155, allocations: 34.81 kB / 396.5 MB, free: 71.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.905e-06/0.7155, allocations: 0 / 396.5 MB, free: 71.64 MB / 314.7 MB Notification: Performance of Templates: time 0.01551/0.731, allocations: 10.83 MB / 407.4 MB, free: 62.07 MB / 314.7 MB