Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.021e-05, allocations: 8 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08955, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.4791, allocations: 77.92 MB / 377.8 MB, free: 22.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4794, allocations: 71.5 kB / 377.9 MB, free: 22.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/0.5815, allocations: 37.63 MB / 415.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.5815, allocations: 0 / 415.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.5815, allocations: 15.75 kB / 415.5 MB, free: 13.27 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009344/0.5825, allocations: 1.01 MB / 416.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5825, allocations: 11.72 kB / 416.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.5827, allocations: 85.94 kB / 416.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005613/0.5833, allocations: 425.1 kB / 417 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.5833, allocations: 14.75 kB / 417 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.5834, allocations: 23.38 kB / 417.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.5844, allocations: 0.5008 MB / 417.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5844, allocations: 3.984 kB / 417.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.5845, allocations: 15.22 kB / 417.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-06/0.5845, allocations: 7.75 kB / 417.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.5851, allocations: 357.1 kB / 417.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.5866, allocations: 0.8665 MB / 418.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.5873, allocations: 0.5067 MB / 419.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.588, allocations: 497 kB / 419.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5881, allocations: 4 kB / 419.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008587/0.5889, allocations: 0.6561 MB / 420.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.424e-06/0.589, allocations: 4 kB / 420.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001965/0.5909, allocations: 1.174 MB / 421.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5911, allocations: 277.5 kB / 421.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.5928, allocations: 1.027 MB / 422.9 MB, free: 9.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.5929, allocations: 45.16 kB / 423 MB, free: 9.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.5931, allocations: 145.8 kB / 423.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5932, allocations: 80.89 kB / 423.2 MB, free: 9.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.5933, allocations: 7.875 kB / 423.2 MB, free: 9.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.5934, allocations: 348.8 kB / 423.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.5939, allocations: 350.5 kB / 423.9 MB, free: 9.207 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.5945, allocations: 351.7 kB / 424.2 MB, free: 9.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.5951, allocations: 497.4 kB / 424.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.651e-06/0.5952, allocations: 3.938 kB / 424.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001841/0.597, allocations: 1.125 MB / 425.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.5972, allocations: 241.6 kB / 426.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.571e-06/0.5972, allocations: 0 / 426.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.5973, allocations: 3.188 kB / 426.1 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.904e-05/0.5973, allocations: 3.938 kB / 426.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.858e-06/0.5973, allocations: 7.219 kB / 426.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.5977, allocations: 37.66 kB / 426.1 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.5979, allocations: 157.4 kB / 426.3 MB, free: 8.207 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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0003717/0.5983, allocations: 410.7 kB / 426.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5985, allocations: 86.19 kB / 426.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.5989, allocations: 158.7 kB / 426.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-06/0.5989, allocations: 0 / 426.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.599, allocations: 0 / 426.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.599, allocations: 3.984 kB / 426.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.6021, allocations: 1.953 MB / 428.9 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6021, allocations: 0 / 428.9 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.6021, allocations: 7.625 kB / 428.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6022, allocations: 3.875 kB / 428.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.143e-05/0.6023, allocations: 42.53 kB / 428.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.805e-06/0.6023, allocations: 0 / 428.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6023, allocations: 4 kB / 428.9 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.6045, allocations: 1.37 MB / 430.3 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.6056, allocations: 0.571 MB / 430.9 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.6059, allocations: 56.03 kB / 430.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.6064, allocations: 41.75 kB / 431 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/0.6069, allocations: 237.6 kB / 431.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/0.6071, allocations: 155.1 kB / 431.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002048/0.6091, allocations: 0.8607 MB / 432.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.6092, allocations: 0 / 432.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001142/0.6103, allocations: 122.5 kB / 432.3 MB, free: 5.543 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.0004548/0.6108, allocations: 192.1 kB / 432.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003133/0.614, allocations: 1.516 MB / 434 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.614, allocations: 0 / 434 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.6158, allocations: 1.105 MB / 435.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.6179, allocations: 278.6 kB / 435.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.623, allocations: 1.717 MB / 437.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008397/0.6239, allocations: 1.038 MB / 438.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000187/0.6241, allocations: 41.48 kB / 438.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.6242, allocations: 19.38 kB / 438.2 MB, free: 17.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.6242, allocations: 0 / 438.2 MB, free: 17.34 MB / 330.7 MB Notification: Performance of Templates: time 0.0263/0.6505, allocations: 13.53 MB / 451.8 MB, free: 3.562 MB / 330.7 MB