Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.664e-05, allocations: 4 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08475, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/0.4262, allocations: 82.36 MB / 399.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4264, allocations: 71.52 kB / 399.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09384/0.5203, allocations: 31.23 MB / 430.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5204, allocations: 0 / 430.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.146e-05/0.5204, allocations: 16 kB / 430.6 MB, free: 11.34 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.001986/0.5224, allocations: 1.297 MB / 431.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5225, allocations: 11.97 kB / 431.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.5228, allocations: 126.5 kB / 432 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/0.5238, allocations: 0.5186 MB / 432.6 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.5239, allocations: 22.62 kB / 432.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.524, allocations: 31.56 kB / 432.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.5253, allocations: 0.6243 MB / 433.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5253, allocations: 0 / 433.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.5254, allocations: 18.56 kB / 433.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.888e-06/0.5255, allocations: 3.984 kB / 433.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.5264, allocations: 458.4 kB / 433.7 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.5288, allocations: 1.09 MB / 434.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.5299, allocations: 0.6886 MB / 435.5 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.531, allocations: 0.6788 MB / 436.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.531, allocations: 0 / 436.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.5323, allocations: 0.7559 MB / 436.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.867e-06/0.5323, allocations: 0 / 436.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002766/0.5351, allocations: 1.416 MB / 438.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002869/0.5354, allocations: 322.4 kB / 438.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003598/0.5391, allocations: 1.607 MB / 440.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.5393, allocations: 43.95 kB / 440.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.5396, allocations: 235.8 kB / 440.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.5398, allocations: 89.92 kB / 440.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.5399, allocations: 11.69 kB / 440.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.5402, allocations: 376.7 kB / 441 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/0.5411, allocations: 448.4 kB / 441.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008474/0.542, allocations: 453.1 kB / 441.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.5429, allocations: 0.585 MB / 442.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-06/0.5429, allocations: 0 / 442.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002566/0.5455, allocations: 1.343 MB / 443.8 MB, free: 316 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.5459, allocations: 293.5 kB / 444.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-06/0.5459, allocations: 7.938 kB / 444.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5459, allocations: 0 / 444.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.546, allocations: 4 kB / 444.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.546, allocations: 3.938 kB / 444.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.5465, allocations: 51.89 kB / 444.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.5468, allocations: 159.8 kB / 444.3 MB, free: 15.75 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.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.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.0006488/0.5475, allocations: 474.4 kB / 444.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.5477, allocations: 130.5 kB / 444.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007933/0.5485, allocations: 243.8 kB / 445.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-06/0.5486, allocations: 4 kB / 445.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.632e-06/0.5486, allocations: 3.984 kB / 445.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5486, allocations: 0 / 445.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006976/0.5556, allocations: 2.387 MB / 447.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.507e-06/0.5556, allocations: 4 kB / 447.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.5557, allocations: 4 kB / 447.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.793e-06/0.5557, allocations: 0 / 447.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.5559, allocations: 39.98 kB / 447.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-06/0.5559, allocations: 0 / 447.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.597e-06/0.556, allocations: 3.984 kB / 447.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.5611, allocations: 1.629 MB / 449.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/0.5639, allocations: 0.6747 MB / 449.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/0.5644, allocations: 67.95 kB / 450 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/0.5653, allocations: 35.97 kB / 450 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/0.5667, allocations: 347.7 kB / 450.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004386/0.5671, allocations: 163.9 kB / 450.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005011/0.5722, allocations: 1.319 MB / 451.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.644e-06/0.5722, allocations: 0 / 451.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001408/0.5737, allocations: 156 kB / 452 MB, free: 7.832 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,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.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.0005558/0.5742, allocations: 193.6 kB / 452.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005197/0.5795, allocations: 1.909 MB / 454.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.495e-06/0.5795, allocations: 3.938 kB / 454.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003249/0.5828, allocations: 1.394 MB / 455.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.5854, allocations: 296 kB / 455.7 MB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00955/0.595, allocations: 2.472 MB / 458.2 MB, free: 1.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/0.5976, allocations: 1.221 MB / 459.4 MB, free: 84 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008604/0.5985, allocations: 194.8 kB / 459.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.5986, allocations: 27.44 kB / 459.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.62e-06/0.5986, allocations: 0 / 459.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Templates: time 0.04717/0.6458, allocations: 16.65 MB / 476.3 MB, free: 14.84 MB / 394.7 MB