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.1_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.053e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.212, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.3501, allocations: 72.6 MB / 336.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3504, allocations: 71.95 kB / 336.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.339/0.6894, allocations: 37.48 MB / 373.9 MB, free: 90.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.672e-06/0.6895, allocations: 0 / 373.9 MB, free: 90.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.6895, allocations: 10.56 kB / 373.9 MB, free: 90.31 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.001706/0.6913, allocations: 1.006 MB / 375 MB, free: 89.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.6913, allocations: 14.09 kB / 375 MB, free: 89.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.6917, allocations: 80.97 kB / 375 MB, free: 89.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6928, allocations: 426.3 kB / 375.5 MB, free: 89.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.693, allocations: 20.53 kB / 375.5 MB, free: 89.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.6931, allocations: 24.5 kB / 375.5 MB, free: 89.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.6949, allocations: 0.4935 MB / 376 MB, free: 89.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.695, allocations: 0 / 376 MB, free: 89.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.6952, allocations: 17.39 kB / 376 MB, free: 89.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.6952, allocations: 7.375 kB / 376 MB, free: 89.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.6964, allocations: 350.6 kB / 376.4 MB, free: 89.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.6993, allocations: 0.8525 MB / 377.2 MB, free: 89.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.7008, allocations: 0.5036 MB / 377.7 MB, free: 89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.7022, allocations: 494.1 kB / 378.2 MB, free: 88.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.7022, allocations: 0 / 378.2 MB, free: 88.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.704, allocations: 0.6452 MB / 378.8 MB, free: 88.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 5.159e-06/0.704, allocations: 0 / 378.8 MB, free: 88.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003803/0.7078, allocations: 1.16 MB / 380 MB, free: 88.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/0.7081, allocations: 280.6 kB / 380.3 MB, free: 88.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.7117, allocations: 1.017 MB / 381.3 MB, free: 87.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.712, allocations: 47.91 kB / 381.3 MB, free: 87.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.7122, allocations: 145.5 kB / 381.5 MB, free: 87.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.7125, allocations: 81.94 kB / 381.6 MB, free: 87.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.7127, allocations: 11.09 kB / 381.6 MB, free: 87.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7129, allocations: 348.7 kB / 381.9 MB, free: 87.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.7142, allocations: 348.8 kB / 382.3 MB, free: 87.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.7148, allocations: 340 kB / 382.6 MB, free: 87.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.7153, allocations: 490.2 kB / 383.1 MB, free: 86.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.326e-06/0.7154, allocations: 0 / 383.1 MB, free: 86.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001768/0.7171, allocations: 1.105 MB / 384.2 MB, free: 86.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.7173, allocations: 242.9 kB / 384.4 MB, free: 85.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.798e-06/0.7174, allocations: 3.953 kB / 384.4 MB, free: 85.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7174, allocations: 0 / 384.4 MB, free: 85.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.262e-05/0.7174, allocations: 10.58 kB / 384.4 MB, free: 85.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.387e-06/0.7174, allocations: 0 / 384.4 MB, free: 85.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.7179, allocations: 47.12 kB / 384.5 MB, free: 85.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.7181, allocations: 149.6 kB / 384.6 MB, free: 85.93 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.0003863/0.7185, allocations: 400.8 kB / 385 MB, free: 85.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.7187, allocations: 91.19 kB / 385.1 MB, free: 85.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.7191, allocations: 147.1 kB / 385.2 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-06/0.7191, allocations: 3.953 kB / 385.2 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.197e-06/0.7191, allocations: 4 kB / 385.3 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-06/0.7191, allocations: 0 / 385.3 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.7222, allocations: 1.935 MB / 387.2 MB, free: 83.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.996e-06/0.7222, allocations: 4 kB / 387.2 MB, free: 83.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.7223, allocations: 0 / 387.2 MB, free: 83.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-06/0.7223, allocations: 11.69 kB / 387.2 MB, free: 83.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.7224, allocations: 38.94 kB / 387.2 MB, free: 83.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.142e-06/0.7224, allocations: 0 / 387.2 MB, free: 83.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-06/0.7224, allocations: 4 kB / 387.2 MB, free: 83.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.7246, allocations: 1.357 MB / 388.6 MB, free: 82.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.7259, allocations: 0.5668 MB / 389.2 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.7261, allocations: 65.12 kB / 389.2 MB, free: 82.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.7266, allocations: 40.2 kB / 389.3 MB, free: 82.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/0.7271, allocations: 238.1 kB / 389.5 MB, free: 81.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.7273, allocations: 166 kB / 389.7 MB, free: 81.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.7287, allocations: 0.8489 MB / 390.5 MB, free: 80.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.7287, allocations: 0 / 390.5 MB, free: 80.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000652/0.7294, allocations: 120 kB / 390.6 MB, free: 80.88 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.0002675/0.7297, allocations: 189.6 kB / 390.8 MB, free: 80.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.7314, allocations: 1.488 MB / 392.3 MB, free: 79.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.572e-06/0.7314, allocations: 4 kB / 392.3 MB, free: 79.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.7325, allocations: 1.102 MB / 393.4 MB, free: 78.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.7338, allocations: 281.1 kB / 393.7 MB, free: 77.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.7372, allocations: 1.688 MB / 395.4 MB, free: 76.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.738, allocations: 1.046 MB / 396.4 MB, free: 75.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.7382, allocations: 41.44 kB / 396.5 MB, free: 75.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.7382, allocations: 23.38 kB / 396.5 MB, free: 75.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.906e-06/0.7383, allocations: 0 / 396.5 MB, free: 75.08 MB / 314.7 MB Notification: Performance of Templates: time 0.02116/0.7594, allocations: 13.51 MB / 410 MB, free: 61.44 MB / 314.7 MB